AI Wander dungeon after player

For questions about using Classic.

Post » Tue Jan 11, 2011 4:44 am

Hi, Im creating a Gauntlet type game and I have a issue with AI.

I cant seem to figure out a method to have Monsters spawn (well i can make them spawn) and then run around the maze after the player.

I could just make them run straight after the player, but its a maze so its a bit arbitrary to have them run into a wall until you decide to go to them.

Any ideas would be greatly appreciated

Thanks :)
B
1
G
3
Posts: 8
Reputation: 841

Post » Tue Jan 11, 2011 6:09 am

Might want to check out the rts behavior. It has built in pathfinding.
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Tue Jan 11, 2011 11:20 am

In this thread: viewtopic.php?f=8&t=8169 under the category "Controls" you'll find a few helpful examples.

Also, this is posted in the wrong forum. Your tutorials is for when you have help to give people. When you need help, post in Help & Support.
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Tue Jan 11, 2011 12:31 pm

This thread belongs in Help, not Tutorials. Please be mindful of posting your threads in the proper forum.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests