Here is the patch for November 26, 2011:
Back home from the Wisconsin trip, and time to put the kids to work. "Here’s Photoshop. Please make me a spaceship…"
This is a very simple implementation of a layered sprite system. It has a GenericSprite object, and a use-specific ship object that augments the GenericSprite with a move function. The result is that bangs move the ship back-and-forth among some trees, properly layered within the other sprites.
Nothing too mgraphics-specific here, but useful for seeing how to perform some basic sprite-like operations within the JSUI/MGraphics system.
C74 RSS Feed | © Copyright Cycling '74