Login
Back to forumSee the full topicGo to last reply

Posted By

Bacon
on 2003-11-17
 Re: Programming software sprites

OK, so if I understand correctly, I would need a set of 3x3 characters for each position the sprite should be able to occupy and a 3x3 character mask to copy this data into together with the background/foreground characters that occupy the current screen position.

As long as the sprite moves <8 pixels, the mask will stay in the same screen position. To move 1 more pixel in the same direction, the whole mask will move 1 char, while the sprite would move 7 pixels in the other direction.

...uh, right?



Back to top


Copyright © Plus/4 World Team, 2001-2024