Physics

Simple artificial intelligence for Corona SDK

  • easy connect to the project
  • light, fast and easy in use
  • flexible
  • extensiable

Overview

Comments, 216 Votes - submitted on 01/07/2016 view repo

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, 156 Votes - submitted on 17/05/2016 view repo

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.

Comments, 364 Votes - submitted on 02/05/2014 view repo

I've tried to implement a similar drag effect as seen here: http://www.iforce2d.net/b2dtut/sticky-projectiles

Comments, 152 Votes - submitted on 14/03/2014 view repo

Updated mathematics library including polygon and various trigonometry functions.

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

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.

Comments, 123 Votes - submitted on 05/03/2014 view repo

Corona SDK example showing how to create and endless scroller type game.

See the video at: http://youtu.be/UZjt6b4k7Io

Comments, 415 Votes - submitted on 21/02/2014 view repo

This is just one example of what u can achieve with Corona SDK Graphics 2.0. Enjoy

Comments, 141 Votes - submitted on 19/02/2014 view repo

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).

Comments, 142 Votes - submitted on 12/02/2014 view repo

This is a port to LUA and Corona SDK of the Convex Separator for Box2D class written by Antoon Angelov.
It converts complex, non-convex shapes into fully supported multi-bodies.

Comments, 575 Votes - submitted on 25/01/2014 view repo