Robin wrote:When loading a while directory, I would use love.filesystem.load()() rather than require(). That way, no hacks necessary.
It's not really a hack - it's just string manipulation - and not very complex (for being Lua). Once it is conveniently hidden away in a function, it doesn't bother me.
Robin wrote:Of course, then you need to think about when you call it, instead of relying on require()'s caching behaviour.
That's something I'd rather not do. But I understand if you prefer it the other way around.
----
UPDATE: 0.1.2 is out
Changes are:
- Kadoba has redone all the graphics! They look much better than before! Thanks Kadoba!
- He also has made a cool flying monster - a purple pterodactyl wearing sunglasses!
- We also nave a scared mind, which gets runs away from its "subject" if it sees it. The pterodactyl uses that mind now, and flies away from the player.
It is very easy to change things. For example, one can make the pterodactyl follow the player, and the guy at the bottom could be scared of the pterodactyl. That involves changing 6 lines, 4 of which are requires.
The new version and screenshot are on the OP.
I'll now concentrate on z-sorting. Kadoba has made some interesting changes on the tiles that I'm eager to put to use! Then, the Camera system.
But for now, good night!