Hello, I created a vertical experience bar.
With the following code:
Create:
global.exp = 0
global.max = 10
Draw GUI:
draw_sprite(spr_bar,-1,0,0)
draw_sprite_ext(spr_exp,1,0,0,1,global.exp/global.max,0,c_white,1)
With every mouse click I get an additional experience point.
But there...