Actions

SPG:Game Objects

From Sonic Retro

Revision as of 18:48, 12 July 2013 by Overbound (talk | contribs) (Created page with "==End of Level Capsules== ===Sonic 1 Method=== ====Explosion==== For 60 steps, every 8 steps, spawn explosion at capsule position plus random x,y offset (I don't know enough...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

End of Level Capsules

Sonic 1 Method

Explosion

For 60 steps, every 8 steps, spawn explosion at capsule position plus random x,y offset (I don't know enough about the Sonic 1 RandomNumber routine to tell what max size is used, but I'm guessing its about 32). At end of those 60 steps, start with the animals

Animals

Switch to exploded frame. Spawn 8 animals at capsule position -28x, +32y, horizontally separated by 7, with alarms starting from 154 and decreasing by 8 per animal (animals don't jump out until their alarm reaches zero).

For 150 steps, every 8 steps, spawn animal at random x position amongst the existing animal group (but tighter in, not near edges), with their alarm set to 12.

When all animal objects have disappeared, run Got Through message.


Sonic 2 Method

Explosion

Spawn explosion at lock's position, move lock at +8x, -4y. Wait 29 steps.

Animals

Spawn 8 animals at capsule position -28x, +32y, horizontally separated by 7, with alarms starting from 154 and decreasing by 8 per animal (animals don't jump out until their alarm reaches zero).

For 180 steps, every 8 steps, spawn animal at random x position amongst the existing animal group (but tighter in, not near edges), with their alarm set to 12.

When all animal objects have disappeared, run Got Through message.