What is the purpose of this call?
renderSprite(sprite, x, y);
- Draw a sprite on screen
- Play an animation
- Save a save-file
- Change the game difficulty
Rendering a sprite draws the visual object to the current frame.
Play Game Dev ▸
renderSprite(sprite, x, y);