Added variables. Will program game logic tomorrow.

This commit is contained in:
Daniel Jones 2024-07-18 21:46:19 -05:00
parent 83748c054a
commit d5aae2e685

View File

@ -8,12 +8,23 @@ function _init()
sp=1, sp=1,
x=5, x=5,
y=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 end
function _draw() function _draw()
cls() cls()
map(0,0) map(0,0)
spr(player.sp) spr(player.sp,player.x.player.y,1,1)
end end