love2d-community / splashes

A collection of splash screens for LÖVE
Other
76 stars 18 forks source link

Portability Issues #15

Closed videah closed 8 years ago

videah commented 8 years ago

Because lg.newImage takes slashes instead of dots, the current_folder variable causes problems if the splash folder is not at root level.

josefnpat commented 8 years ago

This is the page that I got the current_folder from: http://kiki.to/blog/2014/04/12/rule-5-beware-of-multiple-files/

s-ol commented 8 years ago

@josefnpat he means for the assets, not require. We just need to do current_folder:gsub("%.", "/") .. "/heart.png" etc.