I keep getting BCE0044 expecting }, found ". when I try to test my game, I dont know what I am doing wrong but hears my code so if anyone could help that would be much appreciated. :)
//swinging animations
animation.play("Swing");
animation["Swing"].speed = 2;
isswinging = true;
canswing = false;
}
{
if(canswing == false)
{
}
swingtimer -= swing.deltaTime;
{
if(swingtimer <= 0)
{
swingtimer = 1;
canswing = true;
isswinging = false;
↧