i want to make a no colisionable moving entity, like a koopa, that moves arround the screen but doesnt kill mario, im using Mari0 SE beta
(sorry for bad english ;D)
no colisionable Moving entity
- I LÖVE LUA
- Posts: 222
- Joined: 12 Aug 2013, 13:19
Code: Select all
base=koopa
{
"kills": false
}
@ILove not really how it is. Try:
Code: Select all
base=koopa
{
"mask": [false]
}
- Sunset_Moth
- Posts: 781
- Joined: 02 Sep 2012, 23:22
- Contact:
Actually
from the post, they seem to want one that can be ridden
but the title seems like they want it to not touch anything. Also, it should touch the ground, and mask:[false] makes it collide with everything since they aren't masked against eachother.
from the post, they seem to want one that can be ridden
but the title seems like they want it to not touch anything. Also, it should touch the ground, and mask:[false] makes it collide with everything since they aren't masked against eachother.
It's the inverse, bubba. False makes it so that it collides with nothing, and True would make it colliding with everything. For example, in Mario.lua, turning on player collision results in the code for Mario:bubba_nate wrote:Actually
from the post, they seem to want one that can be ridden
but the title seems like they want it to not touch anything. Also, it should touch the ground, and mask:[false] makes it collide with everything since they aren't masked against eachother.
Code: Select all
if playercollision then
self.mask[3] = false
end