Graphics

it just came to mind, just try it, the outcome looks cool, but not sure for what it can be used for :-)

Comments, 405 Votes - submitted on 06/12/2014 view repo

A color module for Corona SDK. This module helps you call color percentage values for use with Corona's Graphic 2.0. Now you can also update the colorList with your own Lua table of data or an externally defined JSON file. If you want me to add something to this mod then feel free to create a feature ticket.

Current Version 0.4

Comments, 439 Votes - submitted on 29/11/2014 view repo

it will give you a feeling of a spaceship moving in space

another function could show planets and nebulae with different speeds

you can also tweak it a little bit and create different transition speeds for stars depending on their sizes

Comments, 520 Votes - submitted on 25/10/2014 view repo

i think the idea is cool

just one loop will create small objects (circles or rectangles) to fill the screen
each object will have the same touch event which will fill the object with a randomly selected color

add a few lines to have different background color, and different sizes for your objects

Comments, 432 Votes - submitted on 25/10/2014 view repo

A template to be used with Animo (Spriteloq) to export Flash assets for Corona with graphics 2.0.

Comments, 462 Votes - submitted on 27/08/2014 view repo

Hello, I am Brazilian, so any errors in the writing, I apologize.

First Understood the Beziel Curve Proprierties

local curve = bezier:curve({xInitial, xControlPoint1, xControlPoint2, xControlPoint3}, {yInitial, yControlPoint1, yControlPoint2, yControlPoint3})


THE CODE:

local bezier = require('bezier')

Comments, 408 Votes - submitted on 25/08/2014 view repo

Ellipse class with intersection testing and a vertices functions that returns points for any arc on the circumference of a circle or ellipse. Includes a main.lua visual test program.

Comments, 427 Votes - submitted on 03/08/2014 view repo

TexturePacker's multipack option created loads of files? Tell this where they are and it gives you a function which fetches the right sheet and frame index for each image without you needing to worry about them

Comments, 455 Votes - submitted on 29/07/2014 view repo

I Work at NuOffer.com we work with documents, and this documents have signature.
So we created a signature algorithm, to try to be as close as possible to the signature behavior of a pen.
Anyway please fell free to copy, change improve, and let us know what do you think.
We used, this tutorial

Comments, 484 Votes - submitted on 27/06/2014 view repo

Custom texturepacker filter that uses the physical folder names for the sprites to add sequence data to the normal corona image sheet exporter.

Comments, 410 Votes - submitted on 17/06/2014 view repo