camera schmoovin

This commit is contained in:
the me 2022-08-17 09:49:45 -07:00
parent bc06894859
commit 1e6aa9f530
12 changed files with 36 additions and 34 deletions

View file

@ -17,11 +17,11 @@ x = tempx;
y = tempy;
//log(data);
draw_set_color(c_red);
draw_rectangle(0-ts.x/2, 0-ts.y/2-1,
draw_rectangle(0-ts.x/2, 0-sprite_height-1,
0-ts.x/2+(ts.x*(data.hp.val/data.hp.cap)),
0-ts.y/2+1, false
0-sprite_height+1, false
);
draw_text(x, y-ts.y, data.hp.val);
draw_text(0, 0-sprite_height-4, data.hp.val);
//draw_set_color(c_red);
//draw_circle(x, y, 5, false);