A while back I made a post in the help section asking how I could make it possible to detect multiple platforms with a simple script instead of using this:
when gf clicked forever if <<(touching [ground 1 v]?) or (touching [ground 2 v]?)> or (touching [YOU GET THE POINT v]?)> *commands for touching sprites in the conditional here* //link below (:^ That script can get long and annoying. And, as no one could help me in the forums, I'm pleased to say that I've managed to devise an engine that can detect multiple platforms using a simpler script by using lists! Here's an idea of how:
when gf clicked forever if (touching (item (ground#) of [list of ground sprites! v])?) *commands for touching sprites in the conditional here* //link below (:The only downfall is that this engine only works in turbo mode with the flash player.. To see the project CLICK HERE!!!!
Last edited by Zparx (2012-06-09 18:45:08)
Offline