Tatwi / RocketTux

A Tux themed side scrolling coin collection game with player-influenced random level generation.
GNU General Public License v3.0
2 stars 0 forks source link

Badguys fall through solid tiles #7

Open Tatwi opened 3 years ago

Tatwi commented 3 years ago

I noticed this happening since I changed some of solid tiles to only be solid on the top. I've never seen it happen, only encountered them in this state after they had been spawned while outside of the view port.

Possibly caused by:

Tatwi commented 3 years ago

I found the problem, but I am not sure what to do about at the moment.

The Problem: In places where a "top-side-only" collision tiles sits directly on a solid tile, the badguys cease to collide with the whole tilemap as soon as they overlap the "top-side-only" tile. bad_spot

Notes: