ludum-dare-22/objects/obj_3Dmanager/Create_0.gml

30 lines
651 B
Plaintext
Raw Normal View History

x = 0;
y = -50;
z = 750;
alarm[6] = 120
global.limit = 1
x1 = room_width/2
y1 = room_height/2
alarm[1] = 6130
global.bossno = 0
global.extend = 0
global.mesmult = 0
global.victory = 0
global.death = 0
global.scores = 0
global.boss = 0
d3d_set_projection(x,y,z,0,0,0,0,0,1);
d3d_set_fog(true,c_ltgray,900-alarm[6]*7.4,1400-alarm[6]*7.4);
draw_set_color(c_white);
d3d_set_shading(false)
d3d_set_projection_perspective(0,0,1024,768,0);
d3d_set_lighting(true)
d3d_light_define_ambient(c_dkgray)
d3d_light_define_point(1,room_width/2,room_height/2,500,10000000,c_white)
d3d_light_enable(1,true)
sound_play(snd_ghostsmarch)