Assets/2D Mario Assets/Scripts/playerControls.js(123,7): BCE0044: expecting EOF, found ‘}’.
I have that error, and I have looked the code over and over. Here is the piece of code that the error is found in:
if (moveDirection == 1) // facing right
{
if (jumpEnable) // jump standard
{
velocity.x *= walkSpeed; // walk speed * current move speed
aniPlay.aniSprite (16,16,11,2,4,12);
}
if (runJumpEnable) // run jump
{
velocity.x *= runSpeed; // run speed * current move speed
aniPlay.aniSprite (16,16,11,2,4,12);
}
if (crouchJumpEnable) // jump from crouch
{
velocity.x *= walkSpeed;
aniPlay.aniSprite (16,16,12,10,4,12);
}
}
}