#devlog for #cr20gc #gamedev - 2025-03-17
Spent the weekend on several "final" rounds of polish for the Jetpack Joyride game. I have to say, the changes have definitely made a good impact. BUT, I should have been testing whether the game even works as a production release in its current state.
Spoiler: It does not.
I appear to have made some incorrect assumptions about scene-loading outside of the editor environment.
I think it's just a case of didn't-read-the-docs-enough-itus. So I'll be doing that today to try and figure out what I'm doing wrong.
Specifically, what I'm trying to do (in #godot) is load a bunch of scenes from resource paths at runtime instead of hardcoding the paths (lazy programmer). I think this should be possible, but I'm probably using the wrong method or something.
Ah, my scenes aren't being loaded because they've all had `.remap` appended to the file-path. I think `ResourceLoader` should handle this nicely as of Godot 4.4. https://github.com/godotengine/godot/pull/96590
Yup! Using `ResourceLoader` to list the files does the trick, whew. I can't really be faulted for not realizing this ahead of time, seems like a somewhat common pitfall.