On Sprites

What is a Sprite?

Let’s start with a definition from the documentation:

Sprites are graphic objects that can be used to represent moving entities in your games, like the player, or the enemies that chase after your player.

They abstract the drawing and updating of game objects away so you can focus on the programming of your game, and provide helper functions to make your dev life easier. For most games, sprites are the way to go.

Pros

The sprite system has a few perks that make it a good choice for most games:

Cons

The system doesn’t come without its downsides, though: