How can i jump foreword ?

Get help using Construct 2

Post » Sat Aug 23, 2014 9:51 pm

Hi all

I'm using this code to make player slide on angle platform :

Player overlapping slide
Player on floor -------------- set platform vector x to 200
-------------------------------------- start ignoring input
-------------------------------------- set player not mirrored

And i want when pressing up arrow the player will jump foreword not up, I've tried set vector x but didn't work.

Thank's for any help.
Image
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Sun Aug 24, 2014 11:25 pm

Any help ?
Image
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Mon Aug 25, 2014 6:14 am

you have start ignoring input, right?
but now you want input to not be ignored?

You could probably just use the normal jump, as it seems the platform is on the floor..
You are already using the vector x to make it slide, so I gues changing the vector x wouldn't do anything but slide faster (or slower)
You could add a small Y vector to your jump, else the "gravity" will have the player back on the floor before you know it..
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

Post » Mon Aug 25, 2014 11:30 pm

Thank's LittleStain

Yes I've set the start ignoring so the player can't go left.
I want in any key pressed the player will jump foreword.
But until now i can't make it right.
Image
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155


Return to How do I....?

Who is online

Users browsing this forum: Demkamen, Yahoo [Bot] and 13 guests