This commit is contained in:
the me 2022-08-14 21:06:41 -07:00
parent 1c893940ac
commit cfcfd3e263
21 changed files with 227 additions and 7 deletions

View file

@ -1,2 +1,7 @@
//unitdata = new unit();
pos = new vec2(0, 0);
pos = new vec2(0, 0);
state = st_standing;
drawstate = c_null;
hspd = 0;
vspd = 0;
returnpos = new vec2(0, 0);

View file

@ -1,3 +1,4 @@
draw_self();
drawstate();
//draw_set_color(c_red);
//draw_circle(x, y, 5, false);

View file

@ -1,3 +1 @@
x = pos.x*global.tilesize.x+global.tilesize.x/2;
y = pos.y*global.tilesize.y+global.tilesize.y/2;
log(x, y);
state();