E
EZTALES
Guest
hey yall,
I'm having an issue moving an object on the screen, for whatever reason it just doesn't want to move. I want it to move to a specific position when you enter my fight room and then I want it to move back when the fight is over. I'm using a draw_GUI for the code. could anyone help? the picture is down below. thanks!
I'm having an issue moving an object on the screen, for whatever reason it just doesn't want to move. I want it to move to a specific position when you enter my fight room and then I want it to move back when the fight is over. I'm using a draw_GUI for the code. could anyone help? the picture is down below. thanks!
Code:
DRAW_GUI
draw_sprite(sprite35,0,x,y);
draw_set_font(font_one);
draw_set_colour(c_white)
draw_text (32, 32, "HP:" + string(hp) + "/" + string(maxhp));
draw_text (32, 64, "STAMINA:" + string(stamina) + "/" + string(maxstamina));
draw_text (32, 96, "LEVEL:" + string(level));
if (room == rm_pause) && (room == rm_test_3) {
draw_sprite(sprite35,0,x,-500);
}