Fast Grid-Based Collision Detection
Demon Island » Devlog
Just a little sneak peek of the grid-based collision detection I’ve just finished implementing!
Collisions are now resolved by looping over grid cells. When actors move into a new cell coordinate, they occupy new grid cells and un-occupy old ones. This approach is quite fast because no searching needs to be done for intersecting boxes, and static actors are skipped entirely, unless they occupy the same cell as an active actor, like the player or a slime.
Demon Island
Multiplayer Open-World Procedurally Generated Adventure
Status | In development |
Author | Benjamin Mastripolito |
Genre | Adventure, Action, Role Playing |
Tags | 2D, Action RPG, Crafting, Multiplayer, Open World, Procedural Generation, Top-Down |
More posts
- Refactor and new combatJul 12, 2022
- Running in CirclesJan 22, 2022
- Tiles are coolJan 09, 2022
- stop hitting yourselfSep 16, 2021
- Art Style UpdateJun 14, 2021
- Delicious BeveragesJun 08, 2021
- March 2021: looks nice, broke everythingApr 05, 2021
- Demon Island: Cursed KnifeMar 02, 2021
- Damage EffectsFeb 22, 2021
Leave a comment
Log in with itch.io to leave a comment.