I just did a quick test on that
Ortu and it works fine here, I did use a blank bitmap at first and this did give back an error message detailing it could not load the bitmap, but after just drawing a line on the bitmap and saving it, it ran fine.
thelighgod If your bitmap image is fine (not like the one I just mentioned ie it has been edited and saved) then your program isn't actually crashing at all. As code runs from top to bottom you haven't included any form of loop within the code or actually wait for any user input. The program simply gets to the end and just ends which is normal. This is what happens:
The first two lines are fine, but then you have the
if condition to detect if the space key is pressed. As this is not in a loop the user simply does not have time to press it, so the next bitmap does not even get loaded. The program continues then to the next lines which it actions normally. Once it gets to the next
if condition it simply continues past it to the end so your text doe not even get output to screen as once again there is no loop for it to sit within. Once it gets to the end there is no more code so the program simply quits.
Now with that last
if condition you could opt for the program to wait for user input rather than a loop, but I am unsure what you wanted to do with the first
if condition. Perhaps you could explain what you expected to happen there so that we can best advise you further. In the meantime let us look at the non graphical stuff in your code, using the basic method of labels and the input command you can achieve what you require like this:
Set text font "Chiller"
Set text size 30
start:
Print "Sie gehen den Weg zu einem alten Science Lab nach unten."
Input "Wollen Sie die Science Lab eingeben?",a$
If a$="y"
print "Du hast eingegeben..."
wait key
goto lab
else
if a$="n"
print "Sie haben nicht eingegeben..."
wait key
goto stillhere
endif
cls 0
goto start
endif
lab:
rem you can add more options here while in the lab here:
stillhere:
rem you can add more options here to go elsewhere other than the lab here:
I hope that helps, I am not to good at explaining things - least of all when there is the possibility of a language barrier! Hopefully if you consult the help files and read through that code then things will be self explanatory. If not then just ask away about anything you don't understand, it could well be that other users here can explain this much better than me
Edit: apologies
WickedX took me a little time to type that up while you posted but yes I think providing the bitmap issue I mentioned isn't what's crashing it then what you state is what is happening