Is there a significant importance in what axis I chose in my top down 2.5D game?
I have read several posts stating what seems like a "standard" in how to chose your 2d axises in a 3d engine. It is often Y up on screen and X right on screen. However, in these examples I often see that it's a scene set up like a platformer, where the player sees the world from the side. I'm developing a top down 2.5D (locking depth axis but keeping perspective on camera) game and I have it setup so that Z is up on the screen and X is right on the screen. To me it makes sense as Y is height in the world and thus would approach the camera. I will make use of the 3d world at certain times and I feel that it would be confusing to not have the standard axises then... Is there something I'm not thinking about here?
No. You can choose whichever coordinate system you want. The only thing to maybe consider is what coordinate systems your tools and models are in; converting is no biggie but there’s only headaches to be found in being too different.
There’s a lot of opinion about coordinate. I’ve been witness to some rather heated debates about whether it makes “more sense” to use a left-handed coordinate system or a right-handed one, for instance. In the end, it just doesn’t matter.
If the coordinate system makes sense to you and your content folks, you are good.
I would consider using the standard axis (which I believe are (x y) for a 2d plateformer and (x z) for a top-down view).
- It will be easier after to associate the Vector3 (up, forward, left) to their respective axis.
- It will also prevent you from having trouble with built in functionalities like gravity or particle effects
- and any asset you make for this game will be easily reusable in any other kind of game.
It sure can take some time to get used that your playground is defined by x and z axis, but I guaranty you will save time in the end.
- Database Administration Tutorials
- Programming Tutorials & IT News
- Linux & DevOps World
- Entertainment & General News
- Games & eSport