SheerSt / pokewilds

PokeWilds - A Gen 2 Game/Engine using libGDX
2.71k stars 207 forks source link

Doors made in overworld blocked inside buildings #339

Open xarozorax opened 2 years ago

xarozorax commented 2 years ago

Each time I make a building with a door, the door must be 2 blocks wide. Otherwise, the inside of the building has the bottom part of one of the Wall textures. (When scrolling, it's the one between the Clock and Couch objects. Just to be clear, it seems if two doors are placed side-by-side, only one "Wall" block will be placed inside the building. Neither cut nor headbutt do anything to the "wall" block inside. I will update with comments as I discover further information.

xarozorax commented 2 years ago

This appears, in my tests, to only effect doors built on the 'north' side of buildings.

xarozorax commented 2 years ago

Leaving issue open in case behavior isn't as expected: didn't realize that doors needed to be made between roof pieces, rather than wall pieces, for the "back door." Placing a door between wall pieces at the top of a building will cause door to function on the overworld, but no door to be made inside the building. This could potentially lock player inside building, if no side/bottom doors exist or other means of egress (escape rope, teleport, etc)