You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tutorial text says re. the location of city.png :
directory, called assets (you can also name it res, or any name you like)
However the code does not work unless the directory is called assets :
Unable to load texture: resource not loaded by `FileLoader`: "textures/city.png"
panic: value method github.com/EngoEngine/engo/common.Texture.Width called using nil *Texture pointer
The text was updated successfully, but these errors were encountered:
Ah I can see how that's a bit confusing! It's true, but it takes a little bit of work. When you setup your run options you can use the AssetRoot option to change it to whatever you want. You can also use 'engo.Files.SetRoot("res")' for example to set the asset root to something else on the fly. I'll see if I can work that in there somewhere! Thanks!
The tutorial text says re. the location of city.png :
directory, called assets (you can also name it res, or any name you like)
However the code does not work unless the directory is called assets :
The text was updated successfully, but these errors were encountered: