basic stuff w movemet n collision done
This commit is contained in:
parent
bffa27ec01
commit
662de9407a
4 changed files with 30 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue