I'm so dumb

BlitzPlus Forums/BlitzPlus Beginners Area/I'm so dumb

SuperSonic7(Posted 2007) [#1]
Can anyone tell me how to make the game so that you can play it without opening it through B+ (is it called "compiling")?


Ked(Posted 2007) [#2]
uh.... yes? You need to "compile" it into an EXE file.


Matty(Posted 2007) [#3]
Under the program menu select 'create executable'.

You probably already know this but it is best not to use absolute paths to files/media in your 'load' statements and instead use relative paths.

For example rather than doing this:

image=loadimage("c:\program files\blitzplus\samples\mygame\gfx\image.bmp"


do it more like this:

image=loadimage("gfx\image.bmp")


Otherwise when other people run your executable it will not work if you are specifying a path that does not exist on their machine.