Indie game problem
Hi! Im working on a videogame but i have a problem, when the player jumps from below a platform effector 2d and goes through it, the jump animation is interrumped for a moment and then the character continues with the jump until he lands on the platform effector 2d.
I also have a problem that if the character gets to the very end of any platform he just keeps making the jump animation and the only thing you can do is move to the left or right, but not jump.
Edited 1 Nov 2023. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 1 · 50% up
- Kind
- Text
- ID
- 17lfrrw
3 comments
This can be a difficult problem to assess from just text. I'm also concerned Reddit may not be the best place for this. I would recommend hiring a coder on Fiverr to review the code with you. Or you could post it to stack overflow and maybe someone will help you for free. I would attach a video if possible as well in which you record your screen and voice over explain the problem.
thanks a lot, i will try that!
Seems like an animator and ground bool problem. Im guessing you play the jumping animation when player is not grounded, so while player passes through the platform it detects in an instant and continues going up before landing on platform so it plays grounded animation in that instant. Edge problem seems like you check your ground from a smaller area than your hitbox 's ground area, so while you can stand on the very edge of a platform your ground bool returns false and you can't take inputs.