Demo
my fault
collision detection is already check every tick
C2 reads all the events every tick https://www.scirra.com/manual/75/how-events-work
your event n°2 runs every tick
Try to use function to run your loop once or just add it as sub event of event n°1
Something like this ?
(left/right arrow to change direction)
EDIT: link broken see next post
Develop games in your browser. Powerful, performant & highly capable.
ok
I hope it helps you
janlindso
If I understand, you can simulate this by moving your object from A to B when angleAB=180° and AB is perpendicular to X axis
In this case, UID doesn't cause any problems (except if I do something wrong)
Lol I had prepared a little capx to show you the method (with local variable and pickedcount for the last)
you could use something like
1/ system pick by comparaison object fruits families when fruits.animationName= "Orange"
VIKINGS
you have a base to start your customized "rollercoaster loop" with this capx
without plugin, less than 40 events
I prefer to have all my objects on 1 layout and use events to create those needed on the other layout .
Member since 3 Mar, 2015