Hi there! I must be doing something wrong while using the pathfinding lib - however instead of giving me a debug pause on error, the simulator outright crashes.
This makes it very difficult to know what's going wrong especially given the complex environment that makes this crash happen only based on certain conditions.
Thankfully I isolated whatever is causing the crash and can be reproduced easily by cloning this repo: GitHub - Franchovy/YOUR-Playdate-Tutorial: How to make YOUR first game for playdate (Yes, it's from my youtube tutorial series!)
...and checking out the branch: simulator-crash-debugging
.
The behavior to reproduce the crash is simple:
- Start the game
- Press A (play)
- Press B (place tower)
- Press B again (remove tower)
...and there you go!
Hopefully this helps improve the SDK. I'm struggling to work with pathfinding let alone finishing a tutorial on it
Good luck and let me know if you guys need anything!