The Daily Click ::. Forums ::. Klik Coding Help ::. Score Restart...
 

Post Reply  Post Oekaki 
 

Posted By Message

Retired Kliker Lazarus

The Ed Wood JR of TDC

Registered
  18/07/2003
Points
  7363
7th October, 2004 at 18:56:26 -

Okay, this may sound like a dumb post, but I was wondering: when a level restarts, how can I get the score back to it's progress before the level...

Sorry, I've just never needed this before, so don't laugh at the sadness...

 
Fine Garbage since 2003.
CURRENT PROJECT:
-Paying off a massive amount of debt in college loans.
-Working in television.

Coop



Registered
  15/08/2004
Points
  347
7th October, 2004 at 19:10:20 -

well you can make the score as a global value after each level and if the level is started over you can just say set counter to value of global value A or whatever. That's how i'd do it, but im still new to the community. ;o

 
...

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
7th October, 2004 at 19:32:47 -

Good idea, Coop, but you don't need to use up a global value to do it - you can record the score in a counter inside the level when it starts, and reset the score to that value in the event of the player dying.

 
http://www.davidn.co.nr - Games, music, living in America

Retired Kliker Lazarus

The Ed Wood JR of TDC

Registered
  18/07/2003
Points
  7363
7th October, 2004 at 20:05:17 -

Thanks, both of you.

 
Fine Garbage since 2003.
CURRENT PROJECT:
-Paying off a massive amount of debt in college loans.
-Working in television.

Coop



Registered
  15/08/2004
Points
  347
7th October, 2004 at 22:07:37 -

that too

 
...
   

Post Reply



 



Advertisement

Worth A Click