Setup/idea:
I am currently designing a game engine where the maps will be dynamically generated from basetiles and combined into larger segments. Much like if you have some room and corridor templates and then throw these into a large map.
I have this 3rd person view on my character (our view is floating up behind the main figure) and the map scrolls into view by moving forward. Outside camera range, I dynamically add the next “tileset/room” based on whats next in this direction.
My problem/question:
What I can’t decide is, wheater is best approach to keep player and camera at “fixed positions” eg. around 0,0,0 worldcoords, and then scroll the tiles under the hero, or I should move the hero around on the tiles that will stay on fixed positions.
Every room is parented to an empty/axis/null gameobject, so its no problem to move a room smoothly. But when looking a particle animations, they can act kinda weird if they dont stay on the same position when animating (flames/rain/snow&smoke) - on the other hand, I dont know if there is any maximum/limiting boundary on how large my heros world coordinates may get before its too big.
My guess would be “unlimited” as its a floating value, but I need someone with largescale tilebased games to come up with some usefull arguements for A or B solution.
Currently I think moving the tiles, makes the camera etc. most logical, but if that makes particle animation troubled, it might be worth moving the hero as a hero actually does and then parent the camera to a moving setup including the hero.