v 1.1 — fixed the lag
So, the early issue with the lag turned out to be linked to the procedural audio being rebuilt with every new payload, and moreover, all payloads sharing the same audio resource. I learned a good bit about how Godot handles resources internally, though, so it wasn't all bad. They now share a library and simply look up the sound they need by asset name.
Some of my old code is still in there and it could go for a clean-up, but this will do for now. 112 kB isn't perfect, but it isn't bad, either.
I'll likely come back to this game in the future, maybe actually add some assets to it and a little music, or birds chirping. I might even use its code as a springboard for a more ambitious game.
It's amazing what one can do with a simple description of how something is created, rather than a full audio and video rasterization.
Files
Get Six More Weeks of Winter
Six More Weeks of Winter
Groundhog. Out of hole. Like, now.
More posts
- #1 for Creativity!May 22, 2019
- v. 1.2 — Added treasure pickup sound, cleared unnecessary functionsMay 13, 2019
Leave a comment
Log in with itch.io to leave a comment.