Hy, how can i constantly count the distance between each enemy instance and the player so that at certain value i can trigger events for instances individually?
Use For Each on each enemy and check the distance using distance(player.x,player.y,enemy.x,enemy.y)
The manual is your friend.
Ok, thanks.
Upload a file .capx for help you.
I need to make a simple enemy AI for a side scrolling beat'em up.. could you help me? Thanks.
I don't see the file .capx, would like to have it, if you can put it up here.
Thank you
renny
Develop games in your browser. Powerful, performant & highly capable.
..........
I don't see the file .capx, would like to have it, if you can put it up here. Thank you renny
Here is the capx.
Still no help? Anyone?