0 Members and 3 Guests are viewing this topic.
This looks really cool! I also like the menu, it's really well laid out.For smooth scrolling the blocks, it looks like there are six possible positions for the blocks. What i would do is have 6 bytes in saferam that can be set to on ($FF or %11111111 in binary) or off ($00). Then, when you scroll the screen left, first shift that byte so that it gets put into the carry then shift the rest of the screen. Repeat until you've scrolled the first 8 rows, then increase to the next byte in saferam and so on until you've scrolled the whole screen. I'm not sure if Axe has bit rotation commands (i don't know how you'd scroll the screen otherwise, though). This way is probably much simpler than drawing a sprite every 8 frames and faster.Nice job, Axenntio!
For smooth scrolling the blocks, it looks like there are six possible positions for the blocks. What i would do is have 6 bytes in saferam that can be set to on ($FF or %11111111 in binary) or off ($00). Then, when you scroll the screen left, first shift that byte so that it gets put into the carry then shift the rest of the screen. Repeat until you've scrolled the first 8 rows, then increase to the next byte in saferam and so on until you've scrolled the whole screen. I'm not sure if Axe has bit rotation commands (i don't know how you'd scroll the screen otherwise, though). This way is probably much simpler than drawing a sprite every 8 frames and faster.