This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

So my game stutters horribly at scene transitions, even if it's a simple 2d game, which is of course because atm, the scenes are being loaded and instanced at demand. The solution would be background loading, however, the above script from the docs isn't working, so is anybody aware of an alternative?

in Engine by (846 points)

1 Answer

0 votes

You can just do with ResourceLoader, and get the load_interactive(path) from that.
Or alternatively you could load a bunch of things before hand with the ResourcePreloader object.

by (61 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.