After i look a lot of videos…
I started to make my first game, a platformer.
What could it be if my player is walking and
-at the begining of the walk he is jumping short (every time i press the walk button he jumps very short for one time first) and you see the feet of the player is under the floor for a short time
-after a certain distance of walking (by let the walk key pressed) the animation will change automatically to idle
-and if i do the animation for walking to loop (only for testing) and let the key pressed, he is first walking with animation good, then animation stops but he is “walking” (without the walk animation), then the same thing begins again (walk with animation good, walk without animation…).
What could i check to fix the problems?
My players event looks like this:
Do you have any other conditions that include pressing the Left or Right key? Do you have any conditions that include pressing the space bar or shift key?
Do you have a screen shot of how the Player looks before you make him walk? If the Player is slightly below the platform object he’s walking on, that might cause him to jump up a bit. You say you can see his feet under the floor…which is weird because the Player shouldn’t pass through a platform object. If you have a screen shot or a video recording of this that might be helpful.
The video does not run smoothly but you can see 3 times that the feet of the player are under the floor.
But in game the movement of the player itself is smoothly.
Edit:
Ok, this is only by this player character (animation).
If i use another player character with different animations, that problem doesn’t exist.
Nice, but hope we can fix it with the player that has the problem.