Rework collision code for future features.
This commit is contained in:
parent
f6ae85dcb1
commit
bb25e255a3
5 changed files with 27 additions and 29 deletions
|
@ -28,7 +28,7 @@ function Kani:init(ui)
|
|||
|
||||
self.vector = {x=0,y=0} -- movement direction
|
||||
self:setGroupMask(0x2)
|
||||
self:setCollidesWithGroupsMask(0x19)
|
||||
self:setCollidesWithGroupsMask(0xd)
|
||||
|
||||
self.reserveCharge = 100
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue