Easy AI Wander tilemap

Post your own tutorials, guides and demos.

Post » Mon Feb 09, 2015 6:09 am

Here is an example that shows how to get a sprite to wander around a tile-map maze endlessly. (without getting stuck)

The turn conditions are the collision offsets. When it gets to a horizontal wall it chooses a vertical angle. When it comes to a vertical wall it changes to a horizontal angle.
ghost.capx


hope it comes in useful for someone :)
You do not have the required permissions to view the files attached to this post.
B
28
S
8
G
4
Posts: 767
Reputation: 5,940

Post » Mon Feb 09, 2015 8:21 am

@jojoe
You've posted this in the Construct Classic section.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
124
S
29
G
70
Posts: 4,981
Reputation: 49,699

Post » Mon Feb 09, 2015 3:29 pm

zenox98 wrote:@jojoe
You've posted this in the Construct Classic section.


The file only has 7 events.

EDIT: Ah! i see. I have a family? I did not know that classic had the families disabled.
B
28
S
8
G
4
Posts: 767
Reputation: 5,940

Post » Mon Feb 09, 2015 5:11 pm

@jojoe

No. Wrong forum section.

This section is for Construct Classic (which uses .cap format), whereas you have posted a .capx that requires Construct 2.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
124
S
29
G
70
Posts: 4,981
Reputation: 49,699

Post » Mon Feb 09, 2015 6:09 pm

Thank's zenox98 :D
B
28
S
8
G
4
Posts: 767
Reputation: 5,940


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 0 guests