issues
search
4ian
/
GDevelop
:video_game: Open-source, cross-platform game engine designed to be used by everyone.
https://gdevelop.io
Other
6.56k
stars
722
forks
source link
Refactor PixiResourcesLoader
#6560
Open
4ian
opened
1 month ago
4ian
commented
1 month ago
Rename loadTextures to reloadResources
Remove static methods
Don't pass the class but an instance and remove the Class<> typings.
Add TypeScript typing.
TODO in another PR:
Make getPIXITexture (and others) async. Rework all the
on('update')
to use a promise instead.
Replace getTexture to return a
Promise<PIXI.Texture>
in TileMapHelper. Ensure runtime and editor are adapted.
TODO in another PR:
on('update')
to use a promise instead.Promise<PIXI.Texture>
in TileMapHelper. Ensure runtime and editor are adapted.