a bit of a mess? surely not

This commit is contained in:
the me 2022-08-15 10:51:51 -07:00
parent 47cae629df
commit 0ead044da1
14 changed files with 289 additions and 16 deletions

View file

@ -1,2 +1,5 @@
log(un);
c_inheritunit(2, 2, un.chara);
c_addunit(un.chara, ARMY.US);
var i;
for (i=0; i<array_length(global.units[ARMY.US]); i++) {
c_inheritunit(2+i, 2, un.chara);
}

View file

@ -1,4 +1,10 @@
draw_self();
drawstate();
log(data);
draw_set_color(c_red);
draw_rectangle(x-ts.x/2, y-ts.y/2-1,
x-ts.x/2+(ts.x*(data.hp.val/data.hp.val)),
y-ts.y/2+1, false
);
//draw_set_color(c_red);
//draw_circle(x, y, 5, false);