E
ezravitto
Guest
I have a question...
does d3d_set_fog on gamemaker 8 same as gms1 and gms2?
i was trying to use it to create depth on my 2d game. I started coding my game on gm8 but when I imported it on gms, its all black...
the code is something like this..
could anyone help me with this one?? thanks!!
does d3d_set_fog on gamemaker 8 same as gms1 and gms2?
i was trying to use it to create depth on my 2d game. I started coding my game on gm8 but when I imported it on gms, its all black...
the code is something like this..
GML:
_fog = distance_to_object(oPlayer)
d3d_set_fog(true, c_black, -power(_fog,1.5), 2000);
//draw tree sprite
d3d_set_fog(false, c_black, -power(_fog,1.5), 2000);
could anyone help me with this one?? thanks!!
Attachments
-
118.2 KB Views: 7
Last edited by a moderator: