Page 1 of 1

Checkers Code Example :O :O MD HOW ?!

Posted: Fri Dec 26, 2014 3:52 pm
by zxzx89002
MD Can u please tell me how to make the rockets explode in checkers code example level ? i saw the code at github but i didnt understand :? can u please tell me how u do it

Re: Checkers Code Example :O :O MD HOW ?!

Posted: Fri Jan 18, 2019 5:48 am
by KittyBeast
This is a late reply, but for anyone else who is also wondering about this, here's how it's done:

The original post with the level that's being referenced is here http://zetaflow.skylogic.ca/forum/viewt ... ?f=6&t=440

The rockets exploding is actually just a clever use of 5 singularities and some setDistance or line movement rotation to quickly move the supposedly destroyed rocket away.

The singularities have been made invisible (either by using setHeight and setWidth or in the editor itself) and follow the rocket's movement. Afterwards the singularities are enabled and have their gun-time set to the exact moment that they fire, and then disabled right after.

If you want a more in-depth guide, then visit the original post where MD explains it!