Well to fix the falling through the ground, you have to set the collision event with the PhysicalResponse to repeat when colliding. I would actually suggest you learn the state method to prevent moonwalking and generally fix any animation problems you are having, but that will take a bit of effort on your part. If you are interested pm me, and I can send you the details. For now, this is a demo of what I mean.
http://game-editor.com/forum/download/file.php?id=4965If not, then you'll need a variable to determine the actor's direction, 0 if facing right and 1 if facing left (or similar). That way when you jump, you can check if dir==0 or dir==1, and change the animation accordingly. Also on the keydown right and left events that change the animation, if you put those in script editor, you can check if the actor is jumping, and if so not change the animation (or rather change the animation if the actor is not jumping).
- Code: Select all
if(cjump==1)
{
//ChangeAnimation function call to running
}