How do I simulate pressing Left and Right in Platform

Get help using Construct 2

Post » Tue Nov 11, 2014 1:47 am

I can make Simulate Platform Pressing Jump works, but for Pressing Left and Right movement seems not working.
How to fix this? Thanks.
We're just a sprite in digital earth
B
9
S
3
Posts: 43
Reputation: 970

Post » Tue Nov 11, 2014 2:49 am

we would need to see your events to see what problem is

can you post a screenie or capx of your events
When in doubt..or you are lost in a Zombie apocalypse or someone is giving you a hard time..Remember one thing..... Read the Construct 2 Manual..it will save your life.:)
B
35
S
13
G
8
Posts: 318
Reputation: 7,685


Post » Tue Nov 11, 2014 6:50 am

Lordshiva,

thanks for your link. But for now I'm making desktop browser game, so the controls will be keyboard.
We're just a sprite in digital earth
B
9
S
3
Posts: 43
Reputation: 970

Post » Tue Nov 11, 2014 8:28 am

If you have the platform behavior attached to your player object then the arrow keys are already set up to work by default. left/Right/Jump(up arrow).

You would use "Simulate platform" movement if you wanted to change the controls to another key, ie. make the space bar jump or use W-D for left/right, etc.

Make sure you have added the Keyboard object to your project!
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
65
S
17
G
8
Posts: 636
Reputation: 9,333

Post » Tue Nov 11, 2014 9:00 am

I'm going to take a wild guess that you are using Keyboard: On key pressed and not Keyboard: key is down
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Tue Nov 11, 2014 10:56 am

Codah,

you're right, i was using on key pressed . I change to key is down and now it's working!
Thanks.
We're just a sprite in digital earth
B
9
S
3
Posts: 43
Reputation: 970


Return to How do I....?

Who is online

Users browsing this forum: alextro and 6 guests