AS3: How do I do collision with multiple instances?
I know I already asked a few months ago but I wasn't specific enough and had less coding expirience. I don't know how to code in a class so I want to code in a keyframe if that makes sense.
I want to have a thing that can collide with a bunch of squares that I added to stage through code. The only way I know how to do this is by painstakingly dragging each instance to the stage and giving it another name and using multiple hitTestObject but I don't want to do that.
This would be very helpful for things like a catcher game, flappy bird, snake game, etc. What is the best way to do this?
