At 7/4/07 03:29 PM, FamouslyFamous wrote:
OK, so I made the MCs, used the updated scripts, yadaadada. Won't work. My circle guy falls through the platform. Rawr. Help meh pls.
This is old anyway. There are many other ways to do this without instance names. For instance, there is a name in there because _name = "circle" just automatically sets the heros name to circle. no instance names required indeed.
From what I gather, you need the code put on all platforms added, but I haven't check this thread or if the code works. I don't know if it works for sloped ground, but if I could automatically set names and say no instance names, anyone can.
_name has been in since Flash 6.
you can even use a for...in loop to loop through all instances in a master platform holder and just hitTest against any within range.
Either way copying and pasting is bad and I don't want to help I'm just telling you other possibilities.