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..
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.
Sounds like this tutorial is just where you need to start:
Develop games in your browser. Powerful, performant & highly capable.
Hey Guys , thank for help . Btw, I already change my project game