Page 1 of 1
[SOLVED] InvisibleBlock and InvisibleBlockSmall are the same size
Posted: Tue Jun 21, 2016 2:20 pm
by KliPeH

Both are 8x8 and function similarly. Is this intended?
Re: InvisibleBlock and InvisibleBlockSmall are the same size
Posted: Tue Jun 21, 2016 2:39 pm
by Duck
I've always thought this was strange as well.
I kind of assumed that since invis small isn't resizable it's meant to be used the same way as other tiles of it's kind: objects and items can't be resized.
Re: InvisibleBlock and InvisibleBlockSmall are the same size
Posted: Tue Jun 21, 2016 6:06 pm
by Hjarpe
Wrong! InvisibleBlockSmall extends 0.375 pixels less in every direction than a regular 8x8 tile. This comes from an experiment I made with a rotating bridge which when lowered was supposed to rest on an invisible tile. The bridge wasn't completely horizontal because of how the Box2D engine operates, which made it look ugly (i.e. not pixel-perfect) so I needed a smaller tile. I haven't used it in any official maps yet, but I've left it in for the future.