jakubg1 / OpenSMCE

Game engine which allows creating a broad range of marble popper games.
MIT License
14 stars 11 forks source link

Differentiate between trying to get an unknown resource and a resource which failed to load #111

Closed jakubg1 closed 10 months ago

jakubg1 commented 1 year ago

Right now, if the Resource Manager tries to load an asset and it fails, and later that asset is used by a class, the error message says "tried to get an unknown resource". Make a better message when this happens, because there's a huge difference between not being able to locate an asset versus failing to load one.

jakubg1 commented 10 months ago

Closing as the new Resource Manager automatically tries to load resources even when not loaded beforehand.