map events or whatever

This commit is contained in:
the me 2022-08-23 02:25:43 -07:00
parent b0e718f879
commit 856b518593
28 changed files with 185 additions and 29 deletions

View file

@ -17,12 +17,14 @@ x = tempx;
y = tempy;
//log(data);
draw_set_color(c_red);
draw_rectangle(0-ts.x/2, 0-sprite_height-1,
draw_rectangle(0-ts.x/2, 0-sprite_height+5,
0-ts.x/2+(ts.x*(data.hp.val/data.hp.cap)),
0-sprite_height+1, false
0-sprite_height+7, false
);
draw_text(5, -6-sprite_height-6, data.hp.val);
draw_set_halign(fa_center);
draw_text(0, -6-sprite_height-20, data.hp.val);
//draw_set_color(c_red);
draw_set_halign(fa_left);
//draw_circle(x, y, 5, false);
matrix_set(matrix_world,worldMat);