I'm working on the graphics engine for a tile-based game where the characters and other movable objects are represented by sprites (now that's original :). Since the game area doesn't cover the whole screen I'm faced with the problem of clipping the sprites so that they slide in and out gracefully. Clipping the top and bottom is easy, and the left edge is to the far left on the screen so the border clips them, but the right edge is the problem. I could place an opaque sprite that would cover them, but since I need all the sprites for the characters I'm trying to figure out a way to do this without sacrificing a sprite. Ideas, anyone? -- ___ . + . . . Per Olofsson ._|___|_, . . . . . + . . o o-o + . + MagerValp@Goth.Org . . + + + . - . . . o + . . . " + + . http://www.cling.gu.se/~cl3polof/
Archive generated by hypermail 2.1.1.