TannerRogalsky / punchdrunk

An attempt to replicate the LÖVE API in the browser using moonshine.
http://tannerrogalsky.com/punchdrunk/
MIT License
81 stars 10 forks source link

Solve path resolution issues. #2

Closed TannerRogalsky closed 10 years ago

TannerRogalsky commented 10 years ago

Love treats the directory containing main.lua as the top-level directory. This may not be ideal for organizing Lua files and game assets along with JavaScript and other web assets.

Perhaps this is solved via a proper preloading mechanism and compiling all of the Lua into a single json blob.

TannerRogalsky commented 10 years ago

I consider this fixed by this commit: 0628cc0e7702293e404ee58741370d2166780d9b