This topic is for discussion of map #4280: Gate To Nowhere
(http://knucklecracker.com/creeperworld3/queryMaps.php?query=thumbnailid&id=4280)
Author: Shots243
Size: 248x192
Desc:
Increasing emissions! Random emissions! Combination spore towers and emitters! High payload spores! DMD generated terrain! Notes: Every CRPL unit will release creeper upon destruction. The incrementing emitters will glitch if you speed up the game. Try not to lag to get a consistent 10 second increment.
What is the glitch? We may be able to fix it. Speeding up the game should have no effect.
I'm not sure if it happens for everyone, but when the game lags for any reason, the timing of the increments gets thrown off. It basically unsynchronises itself from the in-game mission time.
E.g. 1:20.0 then later after lag in the last 10 seconds 1:32.4.
Hmm... I'll take a look.Welcome to the forum.
Your problem seems to be twofold. First and foremost, your script will try to increase the amount every nine times the timer increments, because you reset it to 1 rather than 0. I haven't been able to pin down the source of the second problem, but it seems that the script is executing once every 32 frames, although the Delay is set for 30.
Testing
A little testing reveals that Delay is taking two extra frames of execution. Presumably, it halts execution on the current frame, waits the delayed frames, then the next frame it continues executing.
I do not know why this should be so.
In combination, this results in 9*32=288 frames between increases, which produces the drift which you saw.
I attach the script in question for anyone else who is willing to look.
Frame 1: everything until the delay command
Frame 2-31: delaying
Frame 32: everything after the delay command
Delay can be a little unstable, so I try to avoid it. (http://knucklecracker.com/forums/index.php?topic=16703)
As far as the map itself goes, I think it's pretty decent. If you let the game run until the emitters hit 500, by that time the totems are producing enough aether to use the singularity weapon to easily pick off the helpless emitters. So if you do a similar map, you might want to make the emitters increase faster so there's a greater sense of urgency.
I have no real complaints about the map though. Overall, I liked it! Thanks for making the map! ;D