basically, instead of sending instructions to gpu one by one for what to draw, we send it at once
it's done by putting all textures onto one image, and then telling gpu what part of this image to draw where.
https://love2d.org/wiki/SpriteBatch
it will just need to do extra steps when it moves an entity, i hope that it won't slow down too much when i implement update loops for entities.
i think the next step is to add the player! this time the player will be an entity too.
0 comments