In SDLPoP, if you draw the sword manually, a gate would close with the Kid in the middle of it. You would be able to move in either direction and it will not push you out. The wall check only happens if you are in front or behind the tile. Once you move out of the gate, you will not be able to pass.
There is logic in SDLPoP for walls that pushes you out which can probably be applied to closed gates. But it can cause all kinds of bugs including the one where kid falls through the floor after a jump when aligned a certain way.
I also tried adding logic where kid can turn around with the sword manually but it was causing bugs that allowed kid to move through tiles like gates.
PoP2 bugs
-
- Sheikh
- Posts: 37
- Joined: June 6th, 2004, 7:05 pm
Re: PoP2 bugs
While trying to replicate how POP2 renders a level, I stumbled upon what looks like a visual bug in POP2.
Here's a screenshot of the third level in POP2 (v1.1). Note the light in the bottomleft corner: This is the texture used for rendering the outer part of the alcove with the light inside: Might not be apparent unless you open both images and zoom it, but the 7 bottom pixel rows of the alcove are missing. I think this is a bug related to render order. In this instance, the game looks to be rendering these elements in this order:
Here's a screenshot of the third level in POP2 (v1.1). Note the light in the bottomleft corner: This is the texture used for rendering the outer part of the alcove with the light inside: Might not be apparent unless you open both images and zoom it, but the 7 bottom pixel rows of the alcove are missing. I think this is a bug related to render order. In this instance, the game looks to be rendering these elements in this order:
- Background art for tile
- The two alcove art assets
- Tile art