Jumping and Gliding.

Get help using Construct 2

Post » Tue Jul 10, 2012 6:53 pm

Hello, I'm very new to Construct 2, please pardon my ignorance but I'm having a bit of trouble creating a smarter jumping system, that allows the player to gauge the height of the jump on how long he/she holds down the jump button, I was also wondering how I could go about making the player fall faster after a jump.

Many thanks for any feedback!
cheers!
~Knitt
B
3
Posts: 9
Reputation: 318

Post » Tue Jul 10, 2012 7:35 pm

In the how do I FAQ (sticky in this forum) in the section "Sidescroller/Platformer genre" you can find :

Varied power of jump - LINK

which hopefully should be an example answering your first question.

For the second question, the platformer behaviour has a condition "is falling" that you can use and in which you can set the "fall speed" property of the platformer behavior bigger, meaning that the behavior will fall faster.

Be sure to set this speed back to "normal" once your character hits the floor.

Be sure to check the how do I FAQ, there are numerous examples of how to make technical things related to the platformer genre and behavior.

I hope this helps. Kyatric2012-07-10 19:36:17
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: 7,000
Reputation: 57,795

Post » Tue Jul 10, 2012 8:24 pm

You can download the capx of this sandBOX, where have a lot of poses.
http://www.scirra.com/arcade/example/418/sandbox

I did my falling setups work like this:

Set the player jump strength bigger, or the gravity lesser, it can have many solutions. Player jump peak happen when the player jump become a player fall, so, when he start to fall, set to check "if player is falling" and set the falling speed like you want, set the acceleration, and so on.

Also, you'll need to learn very well how conditions works, and make a web of conditions to make all the complex interaction between each other.

Any specific question, post here, and We may can help you.

Cya~TELLES08082012-07-10 20:30:51
ImageImageImageImageImageImage
B
93
S
20
G
12
Posts: 1,213
Reputation: 18,484

Post » Tue Jul 10, 2012 11:05 pm

Cheers! I did have one other question in regards to how large I should make the Layout if I was to create a 2D platform game similar to say Super Mario Bros.
B
3
Posts: 9
Reputation: 318


Return to How do I....?

Who is online

Users browsing this forum: LeFuji and 22 guests