Moving Sprites
A sprite is no good unless it can do something; and to be honest a game is no good unless you write it in a structured way. This is the way I used to handle in-game sprite logic; it’s probably not too dissimilar to the way that other games programmers did it. The trick is to have a small block of memory, say 16 bytes, that can be used to store sprite data, such as it’s …