ReflextionsDev / Zombiehood

Project Adder is an open-sourced 2D zombie shooting sandbox game, blending run & gun mechanics with rogue-lite elements. Open Sourced under GNU GPL V3.
https://store.steampowered.com/app/2598410/Project_Adder/
Other
9 stars 2 forks source link

Floor generation inconsistency #97

Closed Everade closed 1 month ago

Everade commented 1 month ago

Solid family members such as Solid_Floor and Solid_PlayerFloor aren't generated consistently by sometimes not being generated at all in certain parts of a level. This can cause equipment coliding with multiple floors, or use the wrong floor colider when running checks against the family instead of individual sprites.

This may cause other unexpected issues, so it would be great to fix the root cause instead of working around it. https://github.com/user-attachments/assets/15970bbe-4d5d-4db1-9fc5-73b826c2b97b

Everade commented 1 month ago

These specific floor spawns seem to be from the "Slopes" family, which are spawned in some portions of the map. I assume they're the map section connectors?! So probably not a bug, and we could differentiate the molotov behavior based on what it landed on.

Everade commented 1 month ago

Molotov now accounts for "Slope" terrain.