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
485 B
26 lines
485 B
image_xscale += 0.015
|
|
image_yscale += 0.015
|
|
if fadeout
|
|
{
|
|
image_alpha -= 0.02
|
|
if (image_alpha <= 0.5)
|
|
{
|
|
if instance_exists(oXPickup)
|
|
{
|
|
oXPickup.orbitX = x
|
|
oXPickup.orbitY = y
|
|
oXPickup.xstart = x
|
|
oXPickup.ystart = y
|
|
}
|
|
}
|
|
if (image_alpha <= 0)
|
|
instance_destroy()
|
|
}
|
|
else if instance_exists(oXPickup)
|
|
{
|
|
oXPickup.velX = 0
|
|
oXPickup.velY = 0
|
|
oXPickup.speed = 0
|
|
}
|
|
alpha2 = (!alpha2)
|