Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Use extension to find the suitable sprite loader to load a sprite #17152
For now, openra traverse all the sprite loaders defined in mod.yaml to load a sprite, it is not a good idea, I think we should use extension to find a suitable sprite loader to load a sprite.
We can define extension as a string array and check the target extension whether in the sprite loader's Extension property