Hello everyone! I would like to ask your help. I'm having problems when I need to deal with multiple enemies in my platform game. For example, when I have 10 enemies distributed across the level, it seems that one of them ends up influencing others. The biggest problem is in gravity: only one enemy moves correctly, the others end up exhibiting a bizarre movement. I'd like to know, then, how developers using CF2.5 can build platform games with multiple enemies that behave so well. I believe that they use ForEach loops, but I can not succeed with them I can not see how I make a ForEach loop to call other loops to deal with the gravity of multiple enemies.
So... I really need help. I would be very grateful if any of you could give me a hand in this difficulty.
Best regards,
Leonardo
EDIT: Sorry for my poor english... Portuguese is my native language.