99% done.
Note: You can jump to the key by using LEFT+A like in the original game, but the button B = LEFT+A (so it’s up to you so see if you’re a real one or not)
What is missing : Game B
Reset Misses at 300 points
And mine! But when you are trying to make something big on the Arduboy (especially graphic intensive) the question of the USB code will always come up!
@filmote yes ‘pixel perfect’ because except of shrinking the graphics, I have used the 160x144 gameboy ones (that I have modified a bit for example to see the key when you are on the second level) with a camera effect. Sorry for the confusion.
I have removed to logo and added the fruit :
Now I have only 144 bytes left.
I have some ideas to win some bytes by compressing some images, or adding 16pix sprites for the cage on top of Kong to finish the game.
Optimizing is the best challenge as it is where you can learn new stuff.
I’m beginner with the arduboy & c++ also, I’m not sure how to:
-Use Arduboy2base instead of Arduboy2 (then it means I won’t be able to compress some images with drawCompressed if I have to ?)
-Eliminate the USB code. How to do this ? and what is the negative effect of doing this ?
Warning: Although this will free up a fair amount of code and some RAM space, without an active USB interface uploader programs will be unable to automatically force a reset to invoke the bootloader. This means the user will have to manually initiate a reset in order to upload a new sketch. This can be an inconvenience or even frustrating for a user, due to the fact that timing the sequence can sometimes be tricky. Therefore, using this technique should be considered as a last resort. If it is used, the sketch documentation should state clearly what will be involved to upload a new sketch.
You should include a return to bootloader function from you title screen (assuming you have one). The convention is to have the user hold the down button for two or more seconds, then call:
I don’t think I will drop the USB.
Using Arduboy2Base, I won 2.126Kb
And by improving the code I have now 2.420Kb free… Let’s say a huge amount of space