How do I Enemy AI [SOLVED]

0 favourites
  • 3 posts
From the Asset Store
Enemy turtles pack including fifteen fully animated variations
  • I looked through the examples and the forum and Im not 100% how to do this. I have an enemy and a player... semi top down view. The enemy is randomly spawned every 2 seconds. I want the enemy to move towards the player sprite. I do NOT want the enemy to rotate. Im sure its an easy thing to do, Im still not 100% competent in C2. I noticed in some examples and forums giving the enemy the bullet behavior and having rotate towards the players position moves the enemy towards the player, but I do not want it rotating. I want more of an old school zelda style movement.

  • hi, try using the "set angle of motion" and activating/deactivating the "set angle" in the properties of the behavior

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • hi, try using the "set angle of motion" and activating/deactivating the "set angle" in the properties of the behavior

    I got it, I used the 8 direction movement and set it up to move towards the players x and y positions so the enemy simulates input where there isnt any input

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)