Animation

2d Math Library for Corona SDK / Lua

Point is a 2d math library for Corona SDK or just plain ol' lua. It allows us to think of positions within corona as single units (points) vs independent x and y coordinates. You can run methods directly on those points.

Comments, 197 Votes - submitted on 17/05/2016 view repo

transition.to doesn't seem to support color transitions. So I made one myself using enterFrame, which is how I suspect corona's transition library works too.

Comments, 286 Votes - submitted on 27/04/2016 view repo

Hello Guys, Send for all, Virtual Joystick module with player sprite working perfect.

Sorry for my english, i am brazilian.

Thanks for all.

Comments, 171 Votes - submitted on 10/09/2015 view repo

This function returns a matrix of RGB values that allow you to gradually change from one color to another using a single index, like the position of a scrollview/springboard.

It takes a two dimensional array of RGB colors, each page width and the total amount of pages.

Comments, 347 Votes - submitted on 14/05/2015 view repo

If you want to place a vertical progress indicator in your code here is how to do it!

Comments, 277 Votes - submitted on 16/04/2015 view repo

Corona planet shader v0.1

Teaser image - http://i.imgur.com/LiQ5ROE.png

Comments, 180 Votes - submitted on 23/03/2015 view repo

If you want to animate different objects throughout the game with proper time interval of time, you can use this code. I've used this in my game to animate balloons and other objects in game.
Also this will help to call different functions at different interval of time.

Comments, 248 Votes - submitted on 13/03/2015 view repo
Comments, 267 Votes - submitted on 20/02/2015 view repo

A drop-in replacement easing curve for transition.to animations, based on a damped spring.

Comments, 321 Votes - submitted on 24/01/2015 view repo