Hello, I tried to make Draw GUI event for my game. I actually got it to work but when i change the sprite ( in draw_sprite() ) it draws empty space.
Draw GUI code:
I am not sure why it is like that, any ideas?
P.S.: Both sprites do exist (the working and not working one), only difference is in sprite colour.
Draw GUI code:
GML:
var xx = room_width - 32;
repeat(global.ammo)
{
draw_sprite(sShell, 0, xx, room_height - 32);
xx -= 32;
}
P.S.: Both sprites do exist (the working and not working one), only difference is in sprite colour.
Last edited: