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

16 lines
305 B
Plaintext

if (instance_exists(obj_player) ) {
x = obj_player.x;
y = obj_player.y - 100;
z = 750;
global.aimz = obj_player.z;
}
if global.boss = 1
{
d3d_set_fog(true,c_dkgray,900-alarm[6]*5,1400-alarm[6]*5);
}
else
{
d3d_set_fog(true,c_ltgray,900-alarm[6]*5,1400-alarm[6]*5);
}