hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.7K
active users

for - 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.

Chris Renfrow

Specifically, what I'm trying to do (in ) 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. github.com/godotengine/godot/p

When exporting a project, resources are often moved, converted or remapped (source import files are gone, text scenes are converted to binary, etc).
This new function is a convenience that allows t...
GitHubProvide a reliable way to see original resources in a directory by reduz · Pull Request #96590 · godotengine/godotBy reduz

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.