Physics

Simple example for Toast Notification without any plugins for Corona SDK.

For all supported platforms!

How to use?

• Add toast.lua in your Corona project root directory

• Add string 'require "toast"' in main.lua

• For display a toast notification, use next code:

Comments, 93 Votes - submitted on 13/11/2019 view repo

Simple artificial intelligence for Corona SDK

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

Overview

Comments, 714 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, 461 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, 776 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, 372 Votes - submitted on 14/03/2014 view repo

Updated mathematics library including polygon and various trigonometry functions.

Comments, 896 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, 384 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, 1 Vote - 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, 353 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, 478 Votes - submitted on 12/02/2014 view repo