tried that still did not work same error, yes it is line 18 not 22 it was ware i copy paste the code in to the editor, if i run the file from ware i downloaded it it works, but if i go about it and type the code in as if i was writing the code for a program that i made, and add the media file using the editor it does`nt.
am i right in asumming that after you have written the code and added all of the media files you just hit f5 and it should work.
I`ve got the beginner`s guide to darkbasic game programming book which comes with a cd, on the cd there is the samples and some of these don`nt work either same errors you know the can`t find image
which makes me think i losing the plot someware