ugokeru
This commit is contained in:
parent
1c893940ac
commit
cfcfd3e263
21 changed files with 227 additions and 7 deletions
|
@ -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);
|
|
@ -1,3 +1,4 @@
|
|||
draw_self();
|
||||
drawstate();
|
||||
//draw_set_color(c_red);
|
||||
//draw_circle(x, y, 5, false);
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue