0.0.2 – Testing the Limits!
To start off, I simply made a lot of “planes” which are really just two triangles next to each other, and tested how many I can draw until it slows down and becomes unplayable. I drew around 3000 sprites (6000 triangles!), and it started to become laggy and not so smooth anymore, also, the game had really long loading time, which is OK since it has to “draw” so many triangles and also texture them and repeat that over and over again.
Moving the Camera!
I created a basic code just to test the camera and its movement and if everything works, basically all it did was move in a path, moving right, then downward, then back left, and then upward, making a closed path which repeats itself.
That’s all for today, for tomorrow I plan on making the “chunks” which will be one part out of three main world components, all this class will do is handle bunch of blocks saving a lot of time and effort.