Platform behavior for enemy?

For questions about using Classic.

Post » Fri Jul 06, 2012 3:22 pm

I see that in many tutorials, for instance, a snail that simply move back and forth are being directed by invisible object to turn back and forth.

However, I am looking for something tiny bit different. I want the enemy to move toward the player's X value position. I don't need the Y coordinate part. My enemy does not have to be that smart. But it will try to go to this player's X position and it will have gravity to drag it down and does not fall through solid objects.

What should I do to achieve this?akaja2012-07-06 15:23:55
B
2
G
1
Posts: 38
Reputation: 526

Post » Sun Jul 08, 2012 9:59 pm

Here is an example of Enemy AI for platform behavior.
Last edited by TunaUppercut on Fri Oct 17, 2014 6:14 am, edited 1 time in total.
B
10
S
3
G
1
Posts: 103
Reputation: 1,390

Post » Mon Jul 09, 2012 2:01 pm

I see: Platform behavior with ignoring player's input will cut it.
B
2
G
1
Posts: 38
Reputation: 526

Post » Mon Oct 29, 2012 9:00 pm

Heya, does anyone have a capx of that Enemy AI @TunaUpperCut put in here.
Krish
Hey! Did you know that you can hire me to make your games?

Click Here to See More
B
21
S
6
G
5
Posts: 391
Reputation: 5,627


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests