switch body to have its own collisiosn catagory, also made stealth field pass thorugh bodies and mobs

This commit is contained in:
landgreen
2019-10-05 10:51:15 -07:00
parent 0a834d87a7
commit 99813abf79
6 changed files with 82 additions and 167 deletions

View File

@@ -76,17 +76,18 @@ add bullet on damage effects
//collision info:
// collision info:
category mask
powerUp: 0x 100000 0x 100001
mobBull: 0x 010000 0x 001001
player: 0x 001000 0x 010011
bullet: 0x 000100 0x 000011
mob: 0x 000010 0x 001101
map: 0x 000001 0x 111111
body: 0x 000001 0x 011111
powerUp: 0x100000 0x100001
body: 0x010000 0x011111
player: 0x001000 0x010011
bullet: 0x000100 0x010011
mob: 0x000010 0x011111
mobBull: 0x000010 0x011101
mobshld: 0x000010 0x001100
map: 0x000001 0x111111
? hold: 0x 000001 0x 000001
*/