Stand-alone executable ?
BlitzMax Forums/BlitzMax Programming/Stand-alone executable ?
| ||
I was just wondering if Blitz Max , can make a stand-alone executable , because when I play my game , it gives me a "Windows Access Violation" error when I test it on another computer. I think it's because my images aren't included with the game. Can it make a stand-alone executable ? If so , how do I make one ? Twinprogrammer |
| ||
Incbin "images/img1.png" Local img:TImage=LoadImage("incbin::img1.png") |
| ||
What does incbin mean (sorry , i'm a noob:D )? |
| ||
From the docs: Rem IncBin embeds an external data file in a BlitzMax program that can then be read using the "incbin::" device name. End Rem ' code snippet from demos/firepaint/firepaint.bmx Incbin "stars.png" Local stars=LoadImage( "incbin::stars.png" ) |
| ||
Lets you basically embed resources as part of an executable. |
| ||
Cool , thanks ! Last edited 2011 |