FrederikTobner / tobot-engine

A simple 2D game engine built on top of SDL2
https://frederiktobner.github.io/tobot-engine/
GNU General Public License v3.0
2 stars 0 forks source link

Setup Assets structure #27

Closed jksevend closed 1 year ago

jksevend commented 1 year ago

Define an assets folder in example which is copied over to build while compiling

loadTexture should work with imports relative to the root of the example folder (later where our config file lives) like assets/foo.png

Later we can maybe let the user define their assets similar to this: https://docs.flutter.dev/development/ui/assets-and-images