N
N0tAB0t
Guest
look at the replies sorry it only let me post the stuff there
this is the code drawing it
Hello lovely life forms
the 4th and 5th are what I'm confused about
this is the code drawing it
Code:
///Draw Gui
display_set_gui_size((surface_get_width(application_surface)*3), (surface_get_height(application_surface)*3));
draw_text(gui_x + offset, 16, mgs1)
draw_text(gui_x + offset, 48, mgs2);
draw_text(gui_x + offset, 80, mgs3)
draw_text(gui_x + offset, 112, mgs4)
draw_text(gui_x + offset, 144, mgs5)
draw_text(gui_x+ offset, 176, mgs6)
draw_sprite(spr_heart_stat_24x24, 1, gui_x-8, 16)
draw_sprite(spr_heart_stat_24x24, 2, gui_x-8, 48)
draw_sprite(spr_heart_stat_24x24, 3, gui_x-8, 80)
draw_sprite(spr_heart_stat_24x24, 4, gui_x-8, 112)
draw_sprite(spr_heart_stat_24x24, 5, gui_x-8, 144)
draw_sprite(spr_heart_stat_24x24, 6, gui_x-8, 176)
display_set_gui_size((surface_get_width(application_surface)*2), (surface_get_height(application_surface)*2));
Code:
///Create Event
mgs1 = "HP: " + string(hp) + "/" + string(maxhp)
mgs2 ="LEVEL: " + string(level)
mgs3 = "XP: " + + string(expr) + "/" + string(maxexpr)
mgs4 = "STAMINA: " + string(stamian) + "/" + string(maxstamian)
mgs5 = "MANA: " + string(mana) + "/" + string(maxmana)
mgs6 = "ATTACK: " + string(attack)
gui_x = 32
Hello lovely life forms
the 4th and 5th are what I'm confused about
Last edited by a moderator: