jumping bad guy AI

Get help using Construct 2

Post » Wed Dec 11, 2013 1:00 am

Hey guys I have been trying to give my "bad guys" some behaviour.

I want them to be able to jump back and forth from point A to point B. Just keep jumping between these 2 points in one jump. So jumps to B then jumps back to A then back to B and so on.

Its like the classic bad guy in mario the thwomp seen here http://fantendo.wikia.com/wiki/Thwomp?file=Thwomp.png


I was trying to use the sprite on floor simulate jump then adding a vector to it but it doesnt seem to work the way im doing it. It doesnt move as he is in the air he moves when he on the ground then jumps lol. It seems like the expression is probably more complex than that. Im not that good with expressions lol

If someone can give me a hand with this that would be great.
B
8
S
2
G
1
Posts: 64
Reputation: 1,340

Post » Thu Dec 12, 2013 1:22 am

chirp chirp .....(crickets)

lol anyone?
B
8
S
2
G
1
Posts: 64
Reputation: 1,340

Post » Thu Dec 12, 2013 3:04 am

Hello!
Not sure if I understood you correctly, but here's my 2 cents:)
Hope that helps!
Thwomp-like_AI

P.S. That capx is a mess, and might be overcomplicated:PJJList2013-12-12 03:59:05
B
17
S
5
G
1
Posts: 74
Reputation: 2,647

Post » Thu Dec 12, 2013 3:32 am

lol I checked yours out, its not quite what I was looking for. But its a a cool game design you have there :) with them following.
I was going for the other thwomp you can see him here on

this video at 7 minutes and 43 seconds

https://www.youtube.com/watch?v=hRjIPZube9k

thanks for trying though :)
B
8
S
2
G
1
Posts: 64
Reputation: 1,340

Post » Thu Dec 12, 2013 4:00 am

Oh, now I see! Thought you might need this one:)
Well, it's much easier to do:P
Here:)
Check the third guy. You can play around with his .platform.maxspeed, jumpstrenght etc. to modify jumping distance.

Cheers,
GeorgeJJList2013-12-12 04:05:51
B
17
S
5
G
1
Posts: 74
Reputation: 2,647

Post » Thu Dec 12, 2013 6:04 am

Hahaha that's awesome, very well done. I will study it to see how you did it. Love how it follows him around. You can totally use that as a boss fight. he follows you around jump on his head once then make it harder increasing how fast he jumps around and the height of his jump lol. do this twice and you have your typical "boss" fight lol

Very cool man I will keep you posted on what it will be used for :)
B
8
S
2
G
1
Posts: 64
Reputation: 1,340


Return to How do I....?

Who is online

Users browsing this forum: alextro, stevenode and 6 guests