Quick blurb: Been modding SMB for 10 years, had no idea about how accurate Mari0 is to the smb engine. I am porting my mod to Mari0, and it's really exciting!! That being said, I'm not too familiar with lua outside of minimal contact with SMBx. Looking at the image below, how do I get Mario's collision to be 20 pixels tall? Currently, it appears to be 17 or 16 pixels tall, so part of his legs fall into the floor.
I'm not sure if this value is determined in quad.lua, or mario.lua. Any help is greatly appreciated!
Edit Mario's Collisions?
mario.lua, it's probably "self.height" (variable name)
- sgwyspeedrcr
- Posts: 49
- Joined: 09 Feb 2018, 04:24
Yes!
In mario.lua, I changed lines' 19 and 3279 values from 12/16 to 14/16. Anything larger tends to clip Mario through the floor.
Thanks for the help.
In mario.lua, I changed lines' 19 and 3279 values from 12/16 to 14/16. Anything larger tends to clip Mario through the floor.
Thanks for the help.