gmc-jam-7/objects/obj_island/Create_0.gml

55 lines
885 B
Plaintext

if global.stage != 2
{
if global.swap
{
x = -400 + irandom(650)
global.swap = 0
}
else
{
x = 1200 - irandom(650)
global.swap = 1
}
}
if global.stage = 1
{
length = 300 + irandom(250)
z = 0
size = irandom(50) + 150;
}
if global.stage = 2
{
if global.swap
{
x = 0
global.swap = 0
}
else
{
x = 800
global.swap = 1
}
}
if global.stage = 3
{
length = 400 + irandom(3)*100
}
if global.stage = 4
{
length = 500 + irandom(400)
z = -600 + irandom(600)
size = irandom(40) + 30;
rx = irandom(360)
ry = irandom(360)
rz = irandom(360)
}
if global.stage = 5
{
length = 500 + irandom(400)
z = -200 + irandom(400)
size = irandom(40) + 30;
}
y = 1600;
vspeed = -15