il y a 6 ans
I have been working on my game and it builds and runs on device but I don't know how to build it so others could put it on their SD card.
How do I build my game into file I can then put on the SD card?
Thanks
NEW il y a 6 ans
Sketch > Export compiled Binary will create a .bin file in the sketch's folder.
Alternatively, you could get the temporary .bin file that Arduino created when you compiled. Enable verbose output during compilation to see where that is.
NEW il y a 6 ans
Thank you for detailed responses.
On another topic does everyone usually use the Arduino editor for writing their code? Or is their a better alternative like CLion that supports more IDE functionality?
NEW il y a 6 ans
You can use any editor you want, myself I like Geany. Tick the Use external editor box in preferences, then the Arduino IDE is only used to compile and upload the sketch, but not edit it.
NEW il y a 6 ans
Ok that makes sense.
Does anyone know how to draw the screen at the full resolution 160x128 instead of 80x64? I've read that I can do this if I work in a simplified color set but I don't see any technical docs on how to do it.
Thanks
Nux
il y a 6 ans
There is nearly everything you need to know about image here -> https://gamebuino.com/academy/tutorials/images
Last part is about the palette in Indexed mode (the 160x128 mode)
To have your game in 160x128
Create something like a Notepad.txt in the samefolder than your .ino
rename it : config-gamebuino.h (take care to change the .txt in .h)
than add this line in your config-gamebuino.h
#define DISPLAY_MODE DISPLAY_MODE_INDEX
Re-open your .ino and when you upload your game it will be in 160x128
For more information take a look here -> https://gamebuino.com/fr/creations/config-gamebuino-h
NEW il y a 6 ans
There is nearly everything you need to know about image here -> https://gamebuino.com/academy/tutorials/images
Last part is about the palette in Indexed mode (the 160x128 mode)
To have your game in 160x128
Create something like a Notepad.txt in the samefolder than your .ino
rename it : config-gamebuino.h (take care to change the .txt in .h)
than add this line in your config-gamebuino.h
#define DISPLAY_MODE DISPLAY_MODE_INDEX
Re-open your .ino and when you upload your game it will be in 160x128
For more information take a look here -> https://gamebuino.com/fr/creations/config-gamebuino-h