Otherwise nice game

Thalius
If you need the path to the program to get the graphics files, try:SMartin wrote:I discovered that GetCurrentDirectory() doesn't mean that you get the application's start path, so I added some gak to check for the directory that contains the graphics.
Code: Select all
GetPathPart(ProgramFilename())
Code: Select all
root
|-> project name
| |-> bin
| | |-> program exe, dll, common files/dirs for the program, etc
| |
| |-> src
| | |-> libs
| | | | -> libraries in different directories, etc.
| | |-> main sources (the main file is called main.pb usually)
| |
| |-> tmp
| | |-> any temporary data goes in here (test files such as txt, binary, images, etc)
|-> project name....
| |-> ...