L
Lenie
Guest
Hey there,
The HUD in my 3D game doesn't display the right color. It is supposed to be red but keeps being black whatever I try. The same text works fine in 2D view (it shows red), I also have zero problems with it in GM8. I have literally no idea why this doesn't work in GM:Studio???
DrawEvent:
d3d_set_projection_ortho(0,0,view_wview[0],view_hview[0],0)
//HUD
draw_text_colour(16,16,string(fps)+'#Y: '+string(obj_player.y)+'#X: '+string(obj_player.x)+'#zdir: '+string(obj_player.zdirection)+'#dir: '+string(obj_player.direction)+'#speed: '+string(obj_player.spd),C,C,C,C,1)
draw_text_colour(32,512,text,c_red,c_red,c_red,c_red,alp);
The HUD in my 3D game doesn't display the right color. It is supposed to be red but keeps being black whatever I try. The same text works fine in 2D view (it shows red), I also have zero problems with it in GM8. I have literally no idea why this doesn't work in GM:Studio???
DrawEvent:
d3d_set_projection_ortho(0,0,view_wview[0],view_hview[0],0)
//HUD
draw_text_colour(16,16,string(fps)+'#Y: '+string(obj_player.y)+'#X: '+string(obj_player.x)+'#zdir: '+string(obj_player.zdirection)+'#dir: '+string(obj_player.direction)+'#speed: '+string(obj_player.spd),C,C,C,C,1)
draw_text_colour(32,512,text,c_red,c_red,c_red,c_red,alp);