2021-06-28 18:44:09 -07:00
|
|
|
x = 0;
|
|
|
|
y = -50;
|
2021-07-07 23:43:05 -07:00
|
|
|
z = 750;
|
2021-07-09 14:22:58 -07:00
|
|
|
global.aimz = 30;
|
2021-06-28 18:44:09 -07:00
|
|
|
alarm[6] = 120
|
|
|
|
global.limit = 1
|
2021-07-07 23:43:05 -07:00
|
|
|
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
|
|
|
|
|
|
|
|
|
2021-06-28 18:44:09 -07:00
|
|
|
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)
|
2021-07-09 14:22:58 -07:00
|
|
|
gpu_set_alphatestenable(true);
|
|
|
|
//Any threshold you prefer from 0-255, where 0 is fully transparent and 255 is fully opaque.
|
|
|
|
gpu_set_alphatestref(20);
|
2021-06-28 18:44:09 -07:00
|
|
|
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)
|
2021-07-07 23:43:05 -07:00
|
|
|
|
|
|
|
|