I've got a problem with a game i've been coding, I'm on the second level and Ideally i would like to use it as a complete new function, but linking the first leve which is a separate function, to the new one is proving to be more problematic than imagined.
I've included a bit of the coding of how I'm trying it, whether someone could help would be greatly appriciated.
IF levelWon = 1
Repeat
sprite 1,375,400,10 :REM game over sign.
center text 615,575, "Well Done, Press Space Bar to Continue"
key$ = inkey$()
Until (key$ = " ")
sprite 1,1280,1024,10 :REM off screen
playlevel2 ()
endif
ENDFUNCTION