I have started to make a game in Unity. I have been on the edge of trying this for a while, by gently dipping my toe in, with no real conviction.
Now, however, I have resolved myself to try and actually get into this process and produce something.
The game is going to be in 2D using the DOTs architecture. Even though this probably isn’t necessary I have been on the fringes of the DOTs framework since I found out about it, and I think using it will ultimately give me the greatest leaway in terms of performance given that the whole point of the architecture is to vastly increase performance.
OK, so the first step of this is to figure out the basic physics. The graphics will be sprites which is OK for the player/enemy characters, as these can be rendered from the DOTS subscene. However, background items from the tilemap are not. This in itself isn’t a massive problem, as my thought is to use a simple empty game object so that there is a local transform. I can also attach a rigidbody and collider to it that will be baked into the DOTs environment.
My first attempt at this led a funny incident. I managed to get my player character (currently a red square) moving around and jumping, however, at some point the object fell over and started tumbling around on the z-axis.
Therefore, my first challenge here is to get the physics working to enable basic movement but constraining the z axis. There are many more features to a great 2D controller system, however, for the moment I will focus on this baby step and see if I can get it working.