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.

Newcomers DBPro Corner / Reset problem.

Author
Message
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 10th Feb 2005 04:29 Edited at: 10th Feb 2005 04:29
Hi


I have a game.
Now when you run out of time i wan`t the player to restart at the start of the level.
But i if i say:


The start label was placed just before the loop.
Then the hole game freez:S

Here is the complete code i use:


How can i make it so when the "Game_time" is <0 then it will restart the current level?

Thanks

The Nerd


looking for Royalty free 3D objects?
then Check PanzerGames at this link : http://www.freewebs.com/panzergames
wmf
19
Years of Service
User Offline
Joined: 6th Nov 2004
Location:
Posted: 10th Feb 2005 05:39
move these two lines:

`In-Game variables
Game_time = 2000

to right after the start label. it goes into a never ending loop if you don't reset the time.
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 11th Feb 2005 06:11 Edited at: 11th Feb 2005 06:12
Well i have another problem now.
i use Nuclear glory collision and when i tell the player object to position at a checkpoint box positioned at the start of the level if the time runs out. The ball can`t go back because the collision is stopping it.

Here is the current complete code i use:


How can i make the ball go to the checkpoint box at the start of the level without collide with the level?

Thanks


The Nerd


looking for Royalty free 3D objects?
then Check PanzerGames at this link : http://www.freewebs.com/panzergames

Login to post a reply

Server time is: 2024-09-23 11:34:19
Your offset time is: 2024-09-23 11:34:19