A jumping wall example for all of you

I did this tutorial based on this one jubeliuksen3.blogspot.com/2016/0 … mping.html. but i did changes to make it more efficient.

Here is the link to the website there you can download the example and you can see and explanation of the logic

chiegames.com/index.php/2018/09 … character/

here is a video

youtube.com/watch?v=aHWnOflCj2E

Nice! :smiley:

What if you use the Left and Right points instead collision checks?:

[code]Conditions: No conditions
Actions: Do = 0 to variable “jump”

// Sub-event
Conditions: Player point "Left" is inside jumping _wall
            Right key is Not pressed
Actions: Do = 1 to variable "L"
         Do = 1 to variable "jump"

// Sub-event
Conditions: Player point "Right" is inside jumping _wall
            Left key is Not pressed
Actions: Do = 0 to variable "L"
         Do = 1 to variable "jump"[/code]

Maybe it’s a less accurate, as you have to collide from the points to be able to jump, but the performance would be improved (a lot if there are tons of jumping walls, which is unlikely).

Also you can do what I did here, instead:

Player collides with Wall >> Set "jump" = 1 Player Not collides with Wall >> Set "jump" = 0
You can save a collision check (or a lot if there are lots of jumping walks) with a default value:

Set "jump" = 0 Player collides with Wall >> Set "jump" = 1

oh thanks , i will check that :slight_smile:

That’s really helpful … thank you :slight_smile:

The links above is dead and I really need a wall jump tutorial, the one I have is too old and the other is in portuguese

when you say “Left and Right points” are you talking about “Point inside object” in Gdevelop 5?

did you found something yet for wall jump tutorial ?? i am also looking for the same