Posted 02 October 2018 - 06:20 PM
Lol, I should have guessed that by the fact that no one had answered in so long. I should get on Discord more often but I just can’t seem to get in to using it.
By the way, Verasev, or whoever else checks this, sprite allocation can be tricky to set up in your game but I’ve found the best way is to identify which sprites are set per board and which will stay throughout the game. For example, I keep sprites 0-4 set aside for the level and scenery and 228-255 set aside for the player, fire, explosions, and UI. Everything in between is available to be set on board entry and cleared on board exit. I reference the sprite number to robot number, provided the robot number isn’t 1-4. If it is I set it to robot number + 224. This system works great unless I try to set up more than 224 board unique sprites, which so far has been more sprites then I’ve needed per board.
Currently working on Servo for MegaZeux, I hope to complete it by the
middle of 2015? Who knows...
"Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you’re a mile away and you have their shoes."
-Jack Handey