-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dead code of alwaysLoaded #7175
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, maybe @4ian can double check for safety
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok after adding back a few things removed that impact JSON resources
I did the fix you mentionned. Can I ask why we are keeping these, I can't see any part of the code from the repo using this property. Even for json. |
You're right! Your original changes were correct. You can remove all the alwaysLoaded like you originally did 👍 |
This reverts commit fcb0c73.
Done |
Fix: GDevelopApp/GDevelop-documentation#235
Documentation fix:
#7173
Be sure to mention in the next release notes:
Textures are loaded dynamically when needed in a scene, while audio files must be preloaded on some hardware to prevent delays before playback.
This PR remove dead code, ensuring users understand it had zero effect on their games! This was old code from GD4. The most important part is to clarify that the optimizations are only for preloading audio files.