34 lines
823 B
Plaintext
34 lines
823 B
Plaintext
x = 0;
|
|
y = -50;
|
|
z = 750;
|
|
global.aimz = 30;
|
|
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)
|
|
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);
|
|
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)
|
|
|
|
|