d3d_set_lighting(true) mass += 1 if mass = 2048 mass = -2048 //bottom layers go on top draw_set_alpha(1) var tex = background_get_texture(bg_floor) d3d_draw_floor(-4096,-4096,-450,4096,4096,-450,tex,64,64) var tex = sprite_get_texture(spr_grave,0) d3d_draw_block(room_width/2 - 60,room_height/2 - 60,-450,room_width/2 + 60,room_height/2 + 100,-420,tex,-1,-1) d3d_draw_block(room_width/2 + 50,room_height/2 + 90,-420,room_width/2 - 50,room_height/2 + 70,-300,tex,1,-1) var tex = sprite_get_texture(spr_treetrunk,0) d3d_draw_cylinder(500-5,1500-5,-450,500+5,1500+5,-150,tex,1,1,true,7) var tex = sprite_get_texture(spr_trees,0) d3d_draw_cone(500-240,1500-240,-435,500+240,1500+240,-390,tex,1,1,true,7) d3d_draw_cone(500-180,1500-180,-370,500+180,1500+180,-320,tex,1,1,true,7) d3d_draw_cone(500-120,1500-120,-300,500+120,1500+120,-230,tex,1,1,true,7) d3d_draw_cone(500-80,1500-80,-210,500+80,1500+80,-50,tex,1,1,true,7) var tex = sprite_get_texture(spr_treetrunk,0) d3d_draw_cylinder(1500-5,1500-5,-450,1500+5,1500+5,-150,tex,1,1,true,7) var tex = sprite_get_texture(spr_trees,0) d3d_draw_cone(1500-240,1500-240,-435,1500+240,1500+240,-390,tex,1,1,true,7) d3d_draw_cone(1500-180,1500-180,-370,1500+180,1500+180,-320,tex,1,1,true,7) d3d_draw_cone(1500-120,1500-120,-300,1500+120,1500+120,-230,tex,1,1,true,7) d3d_draw_cone(1500-80,1500-80,-210,1500+80,1500+80,-50,tex,1,1,true,7) var tex = sprite_get_texture(spr_treetrunk,0) d3d_draw_cylinder(1500-5,500-5,-450,1500+5,500+5,-150,tex,1,1,true,7) var tex = sprite_get_texture(spr_trees,0) d3d_draw_cone(1500-240,500-240,-435,1500+240,500+240,-390,tex,1,1,true,7) d3d_draw_cone(1500-180,500-180,-370,1500+180,500+180,-320,tex,1,1,true,7) d3d_draw_cone(1500-120,500-120,-300,1500+120,500+120,-230,tex,1,1,true,7) d3d_draw_cone(1500-80,500-80,-210,1500+80,500+80,-50,tex,1,1,true,7) var tex = sprite_get_texture(spr_treetrunk,0) d3d_draw_cylinder(500-5,500-5,-450,500+5,500+5,-150,tex,1,1,true,7) var tex = sprite_get_texture(spr_trees,0) d3d_draw_cone(500-240,500-240,-435,500+240,500+240,-390,tex,1,1,true,7) d3d_draw_cone(500-180,500-180,-370,500+180,500+180,-320,tex,1,1,true,7) d3d_draw_cone(500-120,500-120,-300,500+120,500+120,-230,tex,1,1,true,7) d3d_draw_cone(500-80,500-80,-210,500+80,500+80,-50,tex,1,1,true,7) var tex = background_get_texture(bg_clouds2) draw_set_alpha(.25) d3d_draw_floor(mass+4096,-mass+4096,-200,mass-4096,-mass-4096,-200,tex,8,8) var tex = background_get_texture(bg_clouds1) draw_set_alpha(.4) d3d_draw_floor(-mass-4096,mass-4096,-150,-mass+4096,mass+4096,-150,tex,8,8) var tex = background_get_texture(bg_clouds1) draw_set_alpha(.1) d3d_draw_floor(-mass+600-4096,mass+600-4096,150,-mass-900+4096,mass-900+4096,150,tex,8,8) var tex = background_get_texture(bg_clouds2) draw_set_alpha(.1) d3d_draw_floor(-mass-600+4096,mass-600+4096,450,-mass+900-4096,mass+900-4096,450,tex,8,8) draw_set_alpha(1)