basic stuff w movemet n collision done

This commit is contained in:
0x81c 2015-03-12 05:13:04 -04:00
parent bffa27ec01
commit 662de9407a
4 changed files with 30 additions and 18 deletions

View file

@ -7,8 +7,8 @@ function Player:initialize(x, y, color)
Entity.initialize(self, {
x = x,
y = y,
sizeX = 3,
sizeY = 3,
sizeX = 1,
sizeY = 1,
color = color,
collision = "none", --player can't push other player
sprite = playerSprite