Varied power of jump

Get help using Construct 2

Post » Sat Dec 10, 2011 8:42 am

Does anyone have an example of a user defined jump power.

Example, jump assigned to space bar
single press is X power
slightly longer press is Y power

Trying to let the player determine jump power accordingly. Ideas?
B
16
S
2
G
5
Posts: 30
Reputation: 3,925

Post » Sat Dec 10, 2011 9:07 am

What you ask is not crystal clear but I think it's something like that:
jumpCap.capx
Last edited by Yann on Sun Sep 14, 2014 10:49 pm, edited 1 time in total.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Sat Dec 10, 2011 9:38 am

I am doing something like that in the game I am making now, and I found this to feel the best to me.

http://dl.dropbox.com/u/12875178/thepowerofjump.capx
B
3
G
2
Posts: 8
Reputation: 941

Post » Sat Dec 10, 2011 10:23 am

And a third implementation, 'cause we can.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Sat Dec 10, 2011 5:33 pm

Thanks everyone!
B
16
S
2
G
5
Posts: 30
Reputation: 3,925

Post » Wed Feb 01, 2012 7:48 am

here is mine, thanks to the other submitters I've managed to do it:
the longer you press on Up arrow, the higher the player jumps
http://dl.dropbox.com/u/55828593/jumpz.capx
B
7
S
2
G
1
Posts: 27
Reputation: 1,126

Post » Sat May 18, 2013 2:00 am

This really fine tunes character control, something that really feels rigid in most platformers that lack such a thing. The player can't relate to the character in game, if he isn't in much control of him.
B
32
S
4
G
1
Posts: 264
Reputation: 2,422

Post » Sat Jul 20, 2013 1:00 am

How would you be able to do this for touch devices such as mobile?
B
19
S
3
G
1
Posts: 39
Reputation: 1,370

Post » Sat Jul 20, 2013 5:26 am

just have touch simulate jumping

so something like:
Touch| On Touch Any Start: player| Simulate Platform pressing Jump
B
6
S
1
Posts: 15
Reputation: 973

Post » Sat Jul 20, 2013 6:35 am

Ya thats how i have it set up but the jumping power is not varied but fixed.
B
19
S
3
G
1
Posts: 39
Reputation: 1,370

Next

Return to How do I....?

Who is online

Users browsing this forum: nimos100, Yahoo [Bot] and 23 guests