I searched for a post about this but I did not find any.
I noticed a bug that is very easy to recreate.
Simply create a platform and a platformer character, both with the default behavior.
Make the platform 32 x 32 and the character also 32 x 32 (or any numbers as long as they are both the same dimensions).
If the character is flush under the platform and you try to jump, you won’t be able to jump after. You can still move left to right but jumping is disabled. (see picture)
Is that a known issue ? Any way of solving it ?!
Do you have the platform type set to jump thru?
No, it is set to platform.
As long as the bottom of the hitbox touches the floor and the the top of it touches the platform and you try to jump that will happen.
A player cannot jump thru a platform a player can only jump thru a jump thru platform.
Set your object as a jump thru platform and It should work fine.
I’m not trying to jump through the platform.
What happens if that if you press jump in that situation, you will not be able to jump anymore even when you normally should be able to.
1 Like
I found this on the github page, this is exactly what’s happening:
opened 09:42PM - 16 Mar 20 UTC
closed 07:22PM - 22 Sep 21 UTC
🐛 bug
👌good first issue
## Describe the bug
the bug is with jumping
## To Reproduce
Steps to rep… roduce the behaviour:
1. first u would want an object with platformer character behaviour
2. play the project then go underneath a platformer object
3. also make sure the player object is as big and the gap of Y-axis
4. then jump
5. then walk out and try and jump
* Please include a link to a game if possible!
ill give a project example: https://www.dropbox.com/s/c5x7n1y1rh57jbe/example%20of%20bug.zip?dl=0
watchable video https://www.dropbox.com/s/8hos436vb38do2h/2020-03-17%2015-44-16.mp4?dl=0
## Other details
* Include any OS/browser version/smartphone that you're using
* Which version of GDevelop are you using? The desktop app or the web-app?
* Add any other context about the problem here.
I'm using windows 10 latest update
with gdevelop beta89
2 Likes
I “solved” this by moving player y position -1 (or -2) before jump.
1 Like
Sorry for the misunderstanding.
That should be a bug