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.
20 lines
407 B
20 lines
407 B
if (!frozen)
|
|
{
|
|
image_angle = point_direction(x, y, oCharacter.x, (oCharacter.y - 16))
|
|
if (shaking > 0)
|
|
{
|
|
shaking -= 1
|
|
offx = random_range(-2, 2)
|
|
offy = random_range(-2, 2)
|
|
}
|
|
else
|
|
{
|
|
offx = 0
|
|
offy = 0
|
|
}
|
|
center_x = (x + lengthdir_x(20, image_angle))
|
|
center_y = (y + lengthdir_y(20, image_angle))
|
|
}
|
|
if (flashing > 0)
|
|
flashing -= 1
|