Added variables. Will program game logic tomorrow.
This commit is contained in:
parent
83748c054a
commit
d5aae2e685
@ -8,12 +8,23 @@ function _init()
|
||||
sp=1,
|
||||
x=5,
|
||||
y=5,
|
||||
w=8,
|
||||
h=8,
|
||||
flp=false,
|
||||
dx=0,
|
||||
dy=0,
|
||||
mdx=2,
|
||||
mdy=2,
|
||||
acc=-0.5,
|
||||
anim=0,
|
||||
wlkng=false,
|
||||
fllng=false,
|
||||
}
|
||||
end
|
||||
function _draw()
|
||||
cls()
|
||||
map(0,0)
|
||||
spr(player.sp)
|
||||
spr(player.sp,player.x.player.y,1,1)
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user