51 lines
1.8 KiB
Plaintext
51 lines
1.8 KiB
Plaintext
|
if global.stage = 1
|
||
|
{
|
||
|
tex = sprite_get_texture(spr_grass,0)
|
||
|
d3d_draw_floor(x-800,y+4000,-500,x+800,y+8000,-500,tex,16,40)
|
||
|
d3d_draw_floor(x-800,y+0,-500,x+800,y+4000,-500,tex,16,40)
|
||
|
}
|
||
|
if global.stage = 2
|
||
|
{
|
||
|
tex = sprite_get_texture(spr_grass,0)
|
||
|
d3d_draw_wall(-50,y-0,-1000,-50,y+8000,900,tex,80,18)
|
||
|
d3d_draw_wall(850,y-0,-1000,850,y+8000,900,tex,80,18)
|
||
|
d3d_draw_floor(x-800,y+0,-1000,x+800,y+8000,-1000,tex,16,80)
|
||
|
}
|
||
|
if global.stage = 3
|
||
|
{
|
||
|
tex = sprite_get_texture(spr_floor,0)
|
||
|
d3d_draw_floor(x-800,y+4000,-500,x+800,y+8000,-500,tex,16,40)
|
||
|
d3d_draw_floor(x-800,y+0,-500,x+800,y+4000,-500,tex,16,40)
|
||
|
}
|
||
|
if global.stage = 4
|
||
|
{
|
||
|
spins += 1
|
||
|
d3d_transform_set_identity()
|
||
|
d3d_transform_add_rotation_z(spins)
|
||
|
d3d_transform_add_rotation_x(90)
|
||
|
d3d_transform_add_translation(x,y,z)
|
||
|
tex = sprite_get_texture(spr_textrees,0)
|
||
|
d3d_draw_cylinder(-2000,-2000,-1000,2000,2000,8000,tex,40,45,false,15)
|
||
|
tex = sprite_get_texture(spr_stars,0)
|
||
|
d3d_draw_cylinder(-1000,-1000,-1000,+1000,+1000,8000,tex,40,45,false,15)
|
||
|
d3d_draw_cylinder(-1750,-1750,-1000,+1750,+1750,8000,tex,40,45,false,15)
|
||
|
d3d_draw_cylinder(-800,-800,-1000,+800,+800,8000,tex,40,45,false,15)
|
||
|
d3d_transform_set_identity()
|
||
|
}
|
||
|
if global.stage = 5
|
||
|
{
|
||
|
tex = sprite_get_texture(spr_stars,0)
|
||
|
d3d_draw_floor(x-2000,y+4000,-2000,x+2000,y+8000,-2000,tex,40,40)
|
||
|
d3d_draw_floor(x-2000,y-0,-2000,x+2000,y+4000,-2000,tex,40,40)
|
||
|
d3d_draw_floor(x-1500,y+4000,-1500,x+1500,y+8000,-1500,tex,30,40)
|
||
|
d3d_draw_floor(x-1500,y-0,-1500,x+1500,y+4000,-1500,tex,30,40)
|
||
|
d3d_draw_floor(x-1000,y+4000,-1000,x+1000,y+8000,-1000,tex,20,40)
|
||
|
d3d_draw_floor(x-1000,y-0,-1000,x+1000,y+4000,-1000,tex,20,40)
|
||
|
}
|
||
|
|
||
|
if y <= -4000
|
||
|
{
|
||
|
y += 4000
|
||
|
}
|
||
|
|