Hi Charles,
This is a bit strange.
InitSound: sys_mode=4
with this position you cannot hear the sound!
This will not initialised.
If you jump out of an 'elseif' into a 'Sub' and come back, the program crashes.
for example: only pseudo code.
sub maingame()
while key(vk_space)=0
print "Huhu"
wend
end sub
sub simple()
if key(vk_return) and cury=100
do nothing
elseif key(vk_return) and cury=112
maingame
elseif kye(vk_return) and cury=124
exit sub 'or return'
endif
end sub
Done
my solution:
WinEnd: ExitProcess 0, but I have not any FreeLibrary!