R
RylanStylin
Guest
GML:
if(lives < 1) and (room == rm_game){
var c = c_yellow
draw_text_transformed_color(21,944,string(score),1,1,0,c,c,c,c,1);
draw_set_halign(fa_center)
draw_text(room_width/2,100,"GAME OVER")
draw_text(room_width/2,200,"YOUR SCORE: "+ string(score))
draw_text(room_width/2,300,">>PRESS ENTER FOR MAIN MENU<<")
draw_set_halign(fa_left)
if(keyboard_check_pressed(vk_enter)) room_goto(rm_start);
}
it works just fine without this code, but when i insert this code into a draw function on my obj_game object, my player sprite disappears. ??????? nothing about this makes any sense and i honestly kind of think its a game maker problem..
UPDATE: If i create a second draw event in a different object, then the sprite disappears
Last edited by a moderator: