Search found 4833 matches
My avatar is the same as all of my other graphics.. real bad, however if you look really, really good you might recognize the letters O, B, E, and Y and on top of that an exclamation mark!
- Mon Sep 01, 2008 6:11 pm
- Forum: Support and Development
- Topic: Can you make a game load another lua file
- Replies: 17
- Views: 7845
Use love.filesystem.require or love.filesystem.include. However, the callbacks aren't automatically overwritten, so instead of: function draw() --some stuff end do: draw = function () --some stuff end EDIT: I was WRONG please ignore code snippets above And, even more important, you should call load ...
As you mentioned PhysFS is able to read zip data that is appended to the file, so the only thing to implement is a way for the binary to detect it contains an internal love file and use that. As "compiler" you could use some kind of dd utility (in linux) or you could even do something like type love...