I used this template for hot reloading stuff https://github.com/karl-zylinski/odin-raylib-hot-reload-game-template