4ian / GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.
https://gdevelop.io
Other
11.56k stars 881 forks source link

Always loaded in game isn't working #7173

Closed Bouh closed 5 days ago

Bouh commented 1 week ago

Is there an existing issue for this?

Describe the bug

image

I've checked the code base for the ‘alwaysLoaded’ property, we use it to enable/disable it in the project file, and we toggle it in the interface, but there's no code related to this option in PixiJS nor in the game runtime. image

Does that mean it hasn't been used at all, I think it is an outdated code part because in GD4 with SFML there was an optimisation for that, which hasn't been implemented in GD5?

To go a step further, I checked the preloading of audio files, which seems to be implemented. image

And of course the smooth image option is working fine.

Steps to reproduce

.

GDevelop platform

Desktop, Web, Mobile

GDevelop version

GD5

Platform info

No response

Additional context

No response

Bouh commented 1 week ago

I've just found a little mention of this unused option in the documentation.

https://wiki.gdevelop.io/gdevelop5/interface/project-manager/resources/#always-loaded-in-memory