Showcase your libraries, tools and other projects that help your fellow love users.
Ulydev
Party member
Posts: 445 Joined: Mon Nov 10, 2014 10:46 pm
Location: Paris
Contact:
Post
by Ulydev » Wed Aug 10, 2016 12:04 pm
Hey there,
another small library that can be used to work with easing functions.
It's basically a minimalist wrapper for rxi's
flux
Code: Select all
ease = require "easy"
value = 0
function love.update(dt)
value = (value + dt) % 1
end
function love.draw()
local converted = ease("circinout", value)
end
https://github.com/Ulydev/easy
Last edited by
Ulydev on Sat Aug 20, 2016 12:19 am, edited 1 time in total.
Ulydev
Party member
Posts: 445 Joined: Mon Nov 10, 2014 10:46 pm
Location: Paris
Contact:
Post
by Ulydev » Sat Aug 20, 2016 12:19 am
-Added ease:add(name, expr)
Code: Select all
ease:add("myEasing", "( x + math.sqrt(x) ) * .5"
georgeprosser
Citizen
Posts: 68 Joined: Fri Mar 28, 2014 5:55 pm
Post
by georgeprosser » Thu Aug 25, 2016 10:05 pm
Fab, was about to go and implement all these myself!
Users browsing this forum: Bing [Bot] and 1 guest