How do I simulate jumping?

Get help using Construct 2

Post » Tue Mar 11, 2014 10:23 am

HI Guys

I have a scenario where the computer takes over and the player jumps over the stones to the next phase.
( The game is played by young children, and the purpose is not skill but adventure).

So what i need is the game to simulate the act of jumping over the stepping stones for him before giving back control?
Goto and move to just moves the object directly to the coordinate, without in between or animation, i do also have a jump animation i can use.

Image

so my issue is i dont want the player to miss the stone! or fall of screen, which is why i want the game to handle it.

any thoughts are very welcomed :)
B
7
S
1
Posts: 34
Reputation: 525

Post » Tue Mar 11, 2014 10:49 am

If you are using the platform behavior there is a "Simulate control" action. So you can simulate the controls, for example pressing right and jump.
B
39
S
15
G
5
Posts: 295
Reputation: 6,089

Post » Tue Mar 11, 2014 2:35 pm

but what if someone presses a key against your wishes? left while your simulate right?
thanks
B
7
S
1
Posts: 34
Reputation: 525

Post » Tue Mar 11, 2014 3:04 pm

Stick all you keyboard checks into a group and during this automation deactivate the group ?

Not tested - just a thought. Might also need to set up your own key checks (turn off the default ?)
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,882

Post » Fri Mar 28, 2014 11:58 am

Ok great thanks tried that and it seemed to work, however we are instead now altering the stepping stones to a bridge instead ( easier!)

Thank you for your help.
B
7
S
1
Posts: 34
Reputation: 525

Post » Fri Mar 28, 2014 12:27 pm

Wasn't there a start ignoring input action?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 39 guests