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.
26 lines
616 B
26 lines
616 B
if fadeout
|
|
{
|
|
image_alpha -= 0.1
|
|
if (image_alpha <= 0)
|
|
instance_destroy()
|
|
}
|
|
else if (y < ((global.waterlevel + global.wateroffset) + 10))
|
|
fadeout = 1
|
|
if (!eris)
|
|
{
|
|
if (hspeed != 0)
|
|
hspeed *= 0.9
|
|
if (vspeed > -1)
|
|
vspeed -= 0.02
|
|
if (vspeed > 2)
|
|
vspeed = 2
|
|
}
|
|
else
|
|
speed = lerp(speed, 0, 0.05)
|
|
if (x < (view_xview[0] - (oControl.widescreen_space / 2)) || x > ((view_xview[0] + view_wview[0]) + (oControl.widescreen_space / 2)) || y < view_yview[0] || y > (view_yview[0] + view_hview[0]))
|
|
{
|
|
visible = false
|
|
if (fps_real < 60)
|
|
instance_destroy()
|
|
}
|