how to compile into all-inclusive file?

BlitzMax Forums/BlitzMax Beginners Area/how to compile into all-inclusive file?

Are you simply asking how to create a .exe?

If so, just click on 'build' as normal, then look in the same folder where your source code is. The .exe will be there. Make sure to create your final build in release mode (i.e. with Debug Off).

If you want to include graphics/sounds etc in the .exe file (without the need to supply them externally), use Incbin:

Normal code:
myImage = LoadImage("graphics\myImage.png")

Incbin code:
Incbin "graphics\myImage.png" 'put all your Incbin's together at the top of your code, or in a separate include file etc.

myImage = LoadImage("incbin::graphics\myImage.png")