Varied power of jump

Get help using Construct 2

Post » Sat Jul 20, 2013 8:36 am

You need to set it so that the touch triggers your event for the variable jump the way you did with the up arrow. The problem with doing Simulate Platform Pressing Jump is it basically just triggers a set vectorY at whatever strength your jump power is. Instead on touch do the same thing you are doing for your variable power. Or maybe with is touching instead of on touch.
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,418

Post » Sat Jul 20, 2013 10:28 am

I think I see where I went wrong now. "touching instead of on touch."
I will have to try it ounce i figured out the new found bugs on my game i created.

Thanks
B
19
S
3
G
1
Posts: 39
Reputation: 1,370

Post » Tue Oct 15, 2013 10:45 am

Platformer is jumping
[Jump Key] is not being pressed

Set Y Vector to 0
B
13
S
5
G
1
Posts: 23
Reputation: 3,170

Post » Wed Dec 11, 2013 5:05 pm

Dear All,
I have problem like this.

I wanna my character jump on Trampolin, as we know when we jump using trampolin we can jump higher and higher.
Can anybody help me to solve this?
B
2
Posts: 15
Reputation: 230

Post » Wed Dec 11, 2013 5:47 pm

you need to set an instance variable and every time it touches the trampoline add one to it.
on colision with trampoline and
platform is falling and               ----- >
instance variable is 0               set   vector y to -500
                                           add 1 to instance variable
on colision with trampoline and
platform is falling and               ----- >
instance variable is 1               set vector y to -700
                                           add 1 to instance variable

on colision with trampoline and
platform is falling and               ----- >
instance variable is 2               set vector y to -1000
                                           add 1 to instance variable
and so on.
then to stop this
player is on floor ---> set instance variable to 0
hope i helped!
B
15
S
6
G
4
Posts: 277
Reputation: 3,948

Post » Tue Mar 04, 2014 12:29 am

Rave Radbury wrote:Platformer is jumping
[Jump Key] is not being pressed

Set Y Vector to 0

An easy wait to implement it (concerning the initial post).
+1

All previous capx are good to be looked at (like the "charged jump" one ^^). Could give ideas of type of jumps...
French developper based in La Rochelle/Tours
Machines I used to play or develop games : Amstrad, Atari, Amiga, PC, PS, Xbox, mobile
B
11
S
2
Posts: 69
Reputation: 819

Post » Fri Jul 10, 2015 11:59 am

I found @MrGoatsnake 's tutorial to be the easiest and quickest way to achieve a variable jump height.

Platform Jump Height Based on Tap or Click Duration
B
32
S
10
G
1
Posts: 250
Reputation: 2,894

Post » Fri Jul 10, 2015 2:58 pm

@bclikesyou

Well over a year old thread. No real need to resurrect from the dead, surely ;/
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,839
Reputation: 48,279

Post » Fri Jul 10, 2015 3:38 pm

@zenox98

I found this thread since it is listed in the [How do I] Frequently Asked Questions as an answer for "variable jump". Since the tutorial I referenced wasn't mentioned and I found it to be helpful, I thought I'd add it to the thread for any future users.

If updating the thread for this reason was wrong, my apologies.
B
32
S
10
G
1
Posts: 250
Reputation: 2,894

Previous

Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Rezzon71, shinkan, stylie1, tarek2 and 14 guests