How do I start my runner game enemy AI script? [Closed]

Get help using Construct 2

Post » Mon Oct 27, 2014 12:19 pm

Image


Image


Image

Monster will back to their position. Randomly monster will chase the player.

Main Problem :
How do i start script the enemy Ai ?
I also need to do the Randomly each of monster will chase the player.
I need some guide! better to have the example source file to guide me.. :|
Last edited by milktea93 on Sun Nov 02, 2014 10:06 am, edited 1 time in total.
B
5
Posts: 17
Reputation: 257

Post » Sun Nov 02, 2014 1:28 am

Do you want the enemy to chase the player only 1 enemy at a time, or 1 enemy every few seconds?

For most part, you can use the random or choose code to pick the one enemy color. From there on, just make it go after player.x player.y.
B
42
S
20
G
31
Posts: 685
Reputation: 20,221

Post » Sun Nov 02, 2014 9:56 am

Sounds like this tutorial is just where you need to start:
https://www.scirra.com/tutorials/37/beginners-guide-to-construct-2
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
65
S
17
G
8
Posts: 635
Reputation: 9,331

Post » Sun Nov 02, 2014 10:05 am

Hey Guys , thank for help . Btw, I already change my project game :)
B
5
Posts: 17
Reputation: 257


Return to How do I....?

Who is online

Users browsing this forum: Kenthria and 13 guests