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.

Author
Message
shadow 1993
18
Years of Service
User Offline
Joined: 5th Apr 2006
Location:
Posted: 22nd Nov 2010 01:00
How would i allow a player to retry with-out having to delete every object i had loaded before hand, as i was simply going to use a button with a goto jump lable to the front of the game to start over.

Cheers
Hodgey
14
Years of Service
User Offline
Joined: 10th Oct 2009
Location: Australia
Posted: 22nd Nov 2010 07:47
Hi, you would just have to reset everything like it was the first time you play the game. You would need to reposition the objects, player and reset any other variables that needs resetting.

Please think hard and read around first before using the goto command as it can make your code hard for others and yourself to follow.

Hope this helps

A clever person solves a problem, a wise person avoids it - Albert Einstein
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 22nd Nov 2010 16:59
Goto can cause much bigger problems if not used correctly too. I would avoid using it under any circumstances!

If you are struggling how to get around using it I'd be happy to help.

Login to post a reply

Server time is: 2024-09-29 00:18:16
Your offset time is: 2024-09-29 00:18:16