Search found 76 matches

by spir
Wed Nov 07, 2012 11:24 am
Forum: Support and Development
Topic: [solved] what about integers and reals?
Replies: 11
Views: 1803

Re: what about integers and reals?

Most of what we compute (positions, colors, deltas...-- are integers) Well, isn't that a risky assertion... Let's say it depends on what one is working on. For instance, working woth Love, once you use dt, you are likely to deal with reals... Unless I missed the point? . No, I was unclear. If what ...
by spir
Wed Nov 07, 2012 10:04 am
Forum: Libraries and Tools
Topic: ochres: HSL palette composer
Replies: 16
Views: 7583

Re: ochres: HSL palette composer

(May I ask why? what's wrong with Lua io?) Lua io.* can't deal with .loves or merged executables and it doesn't know how to find the save dir, making it pretty much completely useless for LÖVE games. On top of that, SELÖVE disables the io.* functions. ;) Thank you, Robin, pretty clear :) [I really ...
by spir
Wed Nov 07, 2012 10:01 am
Forum: Support and Development
Topic: [solved] what about integers and reals?
Replies: 11
Views: 1803

[solved] what about integers and reals?

Most of what we compute (positions, colors, deltas...-- are integers), and in fact commonly natural numbers (except for differences, and even then oftentimes we have to get an absolute value). However, the computations often involve real numbers, or produce real numbers because of divisions, such as...
by spir
Tue Nov 06, 2012 7:52 pm
Forum: Support and Development
Topic: about sequencers
Replies: 4
Views: 1420

Re: about sequencers

I realised how trivial it is w/o any "skeleton', and how such a framework would rather make things heavy rather than be helpful I'm all for not overengineering things, but on this particular case, I'd say you are sacrificing too much clarity in order to get a too small speed increase. The prob...
by spir
Tue Nov 06, 2012 4:01 pm
Forum: Libraries and Tools
Topic: ochres: HSL palette composer
Replies: 16
Views: 7583

Re: ochres: HSL palette composer

Nixola wrote:Try using love.filesystem instead of the io Lua module:
love.filesystem.read
love.filesystem.exists
love.filesystem
Right, thank you for the tip.
(May I ask why? what's wrong with Lua io?)
by spir
Mon Nov 05, 2012 3:20 pm
Forum: Support and Development
Topic: about sequencers
Replies: 4
Views: 1420

about sequencers

Hello, I had the need for a sequencer for a little project and was thinking about making a prototype for that, to be reused, when I realised how trivial it is w/o any "skeleton', and how such a framework would rather make things heavy rather than be helpful, mainly because elements (actions, co...
by spir
Mon Nov 05, 2012 2:08 pm
Forum: Support and Development
Topic: Extending LÖVE
Replies: 6
Views: 2970

Re: Extending LÖVE

First, maybe (re)watch the Lua manual ( http://www.lua.org/manual/5.1/ ) & ref (http://www.lua.org/pil/index.html). If "It's been a long time" then probably there's some valuable info to (re)discover in there. The chapters of the manual on htis topic --a who;le section, actually-- are...
by spir
Mon Nov 05, 2012 2:07 pm
Forum: Support and Development
Topic: Extending LÖVE
Replies: 6
Views: 2970

Re: Extending LÖVE

Hi gang! Forgive me if this is someplace obvious, but is there a tutorial on extending LÖVE? It's been a long time since I wrote a C function and exposed it out to the LUA runtime and I can't quite remember all the steps. Specifically, I'm trying to make a function love.getTouchpoints() that will r...
by spir
Mon Nov 05, 2012 2:02 pm
Forum: Support and Development
Topic: Where to put save games?
Replies: 9
Views: 1505

Re: Where to put save games?

I don't know which "tableSave library" you're using, but make sure it uses love.filesystem.* rather than io.* and loadfile/dofile. (If you don't know how to change it, we can help with that.) May I ask why? (I really don't know.) Also (about loadfile/dofile) the OP is talking of saving, n...