gmc-jam-7/objects/obj_player/Draw_0.gml

11 lines
452 B
Plaintext
Raw Normal View History

d3d_set_projection_ortho(0,0,800,600,0)
draw_self()
draw_set_font(fn_main)
draw_set_halign(fa_right)
draw_text(obj_player.x + 10,obj_player.y - 40,string_hash_to_newline(floor(global.charged)))
draw_set_halign(fa_left)
draw_text(obj_player.x + 10,obj_player.y - 40,string_hash_to_newline("%"))
d3d_set_projection_perspective(0,0,800,600,0)
d3d_set_projection(obj_3Dstuff.x,obj_3Dstuff.y,obj_3Dstuff.z,obj_3Dstuff.x,obj_3Dstuff.y+100,0,0,0,1)