Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Need Help

Author
Message
tomshep98
6
Years of Service
User Offline
Joined: 24th Dec 2017
Location:
Posted: 24th Dec 2017 20:22
hi im trying to make a multy level game but my code dosent seem to work. any advice on what to do or how to fix it?

thanks

MainMenu:
LoadImage(2,"MainMenu.png")
CreateSprite(2)

CreateText(Text1,"Play")
SetTextSize(Text1,60)
SetTextPosition(Text1,512,384)



Do
If GetPointerPressed,(Text1) = 1
GoSub level

endif
sync()
loop
Return

Level:

LoadImage(1,"Level1.png")
CreateSprite(1)



Return

Login to post a reply

Server time is: 2024-04-18 12:50:17
Your offset time is: 2024-04-18 12:50:17