Christopher Alexander
Member
Draw code for obj_life_display looks like this and shows the "2" in the heart:
Draw GUI code for "obj_life_display" looks like this and shows the timer:
Outcome is this:
With the same object but in the actual level room the outcome is this:
But then when exiting the level room back to the level select it displays correctly, like this:
The size and position are both wrong in the first image. I don't even know where to start with this. What am I doing wrong?
Code:
draw_set_font(f_large);
draw_set_color(c_white);
draw_text(x, y, string(global.save_lives));
Code:
if (global.save_lives != global.save_lives_pool)
{
draw_set_font(f_small);
draw_set_color(c_white);
draw_text(x + 75, y, string_hash_to_newline(string(floor(wfl_minutes))) + "m " + string_hash_to_newline(string(floor(wfl_seconds))) + "s");
}
With the same object but in the actual level room the outcome is this:
But then when exiting the level room back to the level select it displays correctly, like this:
The size and position are both wrong in the first image. I don't even know where to start with this. What am I doing wrong?