You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
391 B
11 lines
391 B
if ((direction == 0 || direction == 359.5 || direction == 45 || direction == 315) && oCharacter.xVel > 0)
|
|
x += oCharacter.xVel
|
|
if ((direction == 180 || direction == 135 || direction == 225) && oCharacter.xVel < 0)
|
|
x += oCharacter.xVel
|
|
if (direction == 270 && oCharacter.yVel > 0)
|
|
y += oCharacter.yVel
|
|
if (image_alpha > 0)
|
|
image_alpha -= fadespeed
|
|
else
|
|
instance_destroy()
|