Comments (3)
Hi again,
The easing functions are not limited to the ones present in tween.easing
. If you pass a function as easing parameter (instead of a string), it will be used by the tween directly.
I don't know love.math.newBezierCurve
in order to know how to do it, but I am sure it is possible. Please give it a try and reopen this issue if you need more help (I would also appreciate it if you could add a comment with an example if you manage to do it)
Regards, and happy new year!
from tween.lua.
The code up there actually works perfectly I just wanted to point this out for future referente, cause other users may find it useful.
Sorry, this is not actually a suggestion I guess, more like a note that you can implement curve bezier into tween.lua this easily
Thanks for your work Kikito, tour libs are always amazing and super useful
from tween.lua.
This is what happens when I read issues the day after new year's eve :)
I have added a new section to the Readme for custom functions and I have included your example. Thanks a lot! ^^
from tween.lua.
Related Issues (16)
- Tweens using callbacks? HOT 2
- Parabolic arc HOT 2
- Two tweens played one after the other HOT 3
- Backwards tween HOT 2
- inExpo cannot end on 'c' value HOT 3
- Issue when running demo HOT 3
- Should tweens be local? HOT 7
- Comments switched around
- Stack Traceback when running the example HOT 1
- tween not working on audio mp3 files HOT 2
- value change error
- Apparent problem with colors HOT 4
- tweens table makes Tween act like a singleton. HOT 2
- Tween individual tweens. Maybe groups of them. HOT 2
- Delay Call HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tween.lua.