Search found 47 matches

by rxi
Thu May 22, 2014 5:41 pm
Forum: Libraries and Tools
Topic: flux: A fast, lightweight tweening library
Replies: 42
Views: 34199

Re: flux: A fast, lightweight tweening library

actually, have one last thing to round it all up, which is just that, rounding the numbers. [...] Assuming you meant that you want flux to round the number it sets, you can do this using the :onupdate function to set the tween value to the rounded value with each update: local t = { n = 0 } flux.to...
by rxi
Thu May 22, 2014 11:12 am
Forum: Libraries and Tools
Topic: flux: A fast, lightweight tweening library
Replies: 42
Views: 34199

Re: flux: A fast, lightweight tweening library

[...] though im finding it hard to find, but is there a 'loop' type of functions [...] The :loop() function is something that was suggested before, but unfortunately adding it in would increase the complexity of flux by quite a bit, and would require a reworking of how everything works internally. ...
by rxi
Mon May 19, 2014 7:28 am
Forum: Libraries and Tools
Topic: Lume & Lurker : Utility functions and auto-hotswapping
Replies: 58
Views: 34793

Re: Lume & Lurker : Utility functions and auto-hotswapping

Just started looking at lume. A little late to the party but isn't there an error in lume.each? [...] Shouldn't the code in 'each' be: for k, v in pairs(t) do t[k] = fn(v, ...) end Could be way off but this works for me. You may want to take another look at lume.each()'s section in the README.md . ...
by rxi
Sun May 18, 2014 11:36 am
Forum: Libraries and Tools
Topic: Lume & Lurker : Utility functions and auto-hotswapping
Replies: 58
Views: 34793

Re: Lume & Lurker : Utility functions and auto-hotswapping

Lume updates Since the last "updates" post: (version 1.2.0 -> 1.4.0) Adds lume.memoize() Adds lume.combine() Adds lume.match() Adds lume.count() Adds lume.uuid() Adds lume.chain() Adds lume.weightedchoice() Changes lume.smooth()'s easing from cosine to cubic lume.combine() now ignores nil...
by rxi
Sat May 10, 2014 6:57 pm
Forum: Libraries and Tools
Topic: flux: A fast, lightweight tweening library
Replies: 42
Views: 34199

Re: flux: A fast, lightweight tweening library

Ranguna259 wrote:How do you remove tweens ?
Already went over this in an earlier reply. Haven't added it to the documentation yet as I was possibly going to add a different way of doing it.
by rxi
Thu May 08, 2014 7:22 pm
Forum: Libraries and Tools
Topic: flux: A fast, lightweight tweening library
Replies: 42
Views: 34199

Re: flux: A fast, lightweight tweening library

That wouldn't work because the first time onupdate() ran then the variable last would be nil... Huh? No it wouldn't. Check my code snippet again. This is the output I get from it: $ love . last: 20 current: 21.60944 last: 21.60944 current: 22.8732636 last: 22.8732636 current: 22.9574336 last: 22.95...
by rxi
Thu May 08, 2014 7:02 pm
Forum: Libraries and Tools
Topic: flux: A fast, lightweight tweening library
Replies: 42
Views: 34199

Re: flux: A fast, lightweight tweening library

Love it and I have a suggestion, how about an onupdatebefore and an onupdateafter ? This would really come in handy for zooming as I need the value of a number before and after the tweening update. I'd suggest just having a local in the scope of the function called "last" and setting the ...
by rxi
Wed May 07, 2014 6:52 pm
Forum: Libraries and Tools
Topic: flux: A fast, lightweight tweening library
Replies: 42
Views: 34199

Re: flux: A fast, lightweight tweening library

This is really cool, but there are easing functions missing. My favorite, in-out-cubic is not there (I checked the code and it's actually there but you forgot to add to the documentation). Also, onstart, onupdate, sineinout, etc should have proper capitalizing or separations, i.e. onStart, onUpdate...
by rxi
Sun May 04, 2014 11:14 am
Forum: Libraries and Tools
Topic: flux: A fast, lightweight tweening library
Replies: 42
Views: 34199

flux: A fast, lightweight tweening library

flux is a fast, lightweight tweening library for lua. flux allows the user to easily interpolate a numerical value field of an object between its current value to a new value over a specified duration, using a specified easing type. If you want to do something like fade a sprite in or out, slide so...
by rxi
Fri Apr 18, 2014 9:43 pm
Forum: Libraries and Tools
Topic: Lovebird : A browser-based debug console
Replies: 17
Views: 16851

Re: Lovebird : A browser-based debug console

First off, nice choice of name...very fitting. Secondly, I have been looking for something that would let me easily explore and change variables for years. There's a few other programs and IDE's that already exist but none of them do as good a job as Lovebird does. It's extremely easy to set up, it...