This topic is for discussion of map #4636: Real time score
(http://knucklecracker.com/creeperworld3/queryMaps.php?query=thumbnailid&id=4636)
Author: builder17
Size: 132x99
Desc:
Getting good score in this is hard #CRPL
You left the trace on. Any chance of a code dump?
There you go. :)
Interesting. What led you to do it that way? My default would be:
once
0 ->Lifetimer
endonce
<-Lifetimer IsPaused add ->Lifetimer
<-Lifetimer SetGameTimeFrames
:awake
1 OperateWhilePaused
:destroyed
0 OperateWhilePaused
I'm interested in how you arrived at that form.
For some unknown reason it didn't work first.
So I did lot of changes to it
and adding OperateWhilePaused to once block solved problem.
That's creative use of IsPaused in your script.
I didn't know it can be used in that way. :O
Does that script work? :)
Sorry for being stupid but not sure what the CRPL does? Does it just affect the score rather than the time?
Just noticed the clock. Nice!
Be great if you could make a second one of these but with a bit more challenge, spores, digitalis, runners, the full works!
D0m0nik: You asked for it, here it is... The clock keeps ticking while the game is paused.
Builder17: There's a reason that (since computers use numbers to represent things) it is convention to use 1 for true and 0 for false. In CRPL, 'TRUE' and '1' do the same thing, and similarly for '0' and 'FALSE'. It is bad for readability, and hard to understand if you don't yet know that TRUE is 1. Sorry about doing that.
I haven't tested the script, but it should work.
I see. :) Thanks.