Search found 24 matches

by emonk
Tue Aug 19, 2008 3:20 am
Forum: Support and Development
Topic: Suggestion: more Image functions
Replies: 5
Views: 3508

Re: Suggestion: more Image functions

I'm pretty sure that creating images from a buffer at run-time won't be an acceptable performance hit no matter where the data comes from. We probably need to code a special streaming image object if we even want it to be close to efficient. I can think of plenty of ways that it would be useful to ...
by emonk
Fri Aug 15, 2008 5:20 am
Forum: Support and Development
Topic: Need more Löve for require()...
Replies: 4
Views: 5034

Re: Need more Löve for require()...

I replaced require with love.filesystem.require, but since I'm in the habit of dropping my extensions when calling include/require and love.filesystem.require expects a full filename, I put the following in top of my main.lua: function __require(modname) for p in string.gmatch("?;?.lua", &...
by emonk
Wed Aug 13, 2008 11:21 pm
Forum: Support and Development
Topic: Need more Löve for require()...
Replies: 4
Views: 5034

Re: Need more Löve for require()...

AHA!

Right, that's what I needed to know.

Are there plans to modify the standard Lua functions to work via PhysFS? Should I just assume that most of the io, os and file stuff is going to disappear and therefore should be avoided where possible?
by emonk
Wed Aug 13, 2008 4:43 am
Forum: Support and Development
Topic: Need more Löve for require()...
Replies: 4
Views: 5034

Need more Löve for require()...

Having fun playing with Love, learning Lua and all those fun things. Been playing around with some basic stuff using a couple of Lua files to organize my thoughts, and it's working out reasonably well... until I pack my project into a .love and run it, when it all falls down. I figure that the integ...