Simple artificial intelligence for Corona SDK
- easy connect to the project
- light, fast and easy in use
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.
dmc_trajectory is a Lua module which moves objects following ballistic trajectories (parabolic motion) without using the physics engine. The module can also auto-rotate objects to match the slope of the trajectory path. Using it is as simple as setting up a transition with a few Corona parameters.
I've tried to implement a similar drag effect as seen here: http://www.iforce2d.net/b2dtut/sticky-projectiles
Updated mathematics library including polygon and various trigonometry functions.
App creates star polygons at random locations. A tap on the polygon calls a general-purpose triangulator, adds the triangles as physics bodies, and gives them a spin to simulate an explosion. When all the fragments have flown off the screen, a new star is created.
The triangulator code can easily be snipped for other purposes.
Corona SDK example showing how to create and endless scroller type game.
See the video at: http://youtu.be/UZjt6b4k7Io
This is just one example of what u can achieve with Corona SDK Graphics 2.0. Enjoy
This function flips a single or multi-element physics body and returns the flipped shape declaration for usage within the "physics.addBody()" API. Currently, this version only supports horizontal flipping (reflection across a theoretical center vertical axis).