Im making a beat em up game similar to arcade
games like Cadillacs andar dinossaurs Or final fight, i’m Not getting to make the enemy a.i, some one can help me? I get make the enemy move to the player and give a punch but only this, I cant do The enemy back to “think” Infelizmente another behaviour
I Made
If distance between enemy and player = 100 move enemy to the player position and change the animation to “walk”
If distance between enemy and player = 20 pixels enemy change the animation to “atack”
Only this