How to distribute game?

General

gbfan

6 years ago

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

alxm

NEW 6 years ago

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.

Aurélien Rodot

NEW 6 years ago

Also you'll have some info on the Quality Seal page.

gbfan

NEW 6 years ago

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?

alxm

6 years ago

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.

alxm

NEW 6 years ago

gbfan gbfan

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.

gbfan

NEW 6 years ago

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

6 years ago

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


Nux

NEW 6 years ago

gbfan gbfan

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


gbfan

NEW 6 years ago

Thank you for the help Nux. It worked and now my maps are 4x bigger.