Ludicrous Software

Corona Physics Panel

The Corona Physics Shape panel is a custom panel for Adobe Fireworks to generate custom shape tables for irregularly-shaped physics bodies in Corona apps.


  1. Download the zip file.
  2. Unzip it, and double-click the mxp file to install it using the Adobe Extension Manager.
  3. If you’re running Windows, you may need to run the Extension Manager as administrator to have the permissions necessary to install the extension. Just right-click on the Extension Manager icon and select ‘run as administrator’.

Using the Panel

Here’s the simple, 5-step method of using the panel:

  1. In Fireworks, open the image for which you want to create the custom physics shape. We’re not making any changes to the image, just using it as a reference point for where the custom shape needs to go.
  2. Using either the pen, rectangle, or ellipse tool (depending on your particular need), draw a shape in the image.
  3. Using the Select tool, make sure that your shape is selected.
  4. Click the ‘Get Path Coordinates’ button in the Physics Shape panel.
  5. Copy the generated shape table (or radius value, for circular bodies) from the panel into your physics.addBody() method call.

It’s as easy as that! If you’d prefer to see the panel in action, here you go:

Other things you may want to know

  • It doesn’t matter what stroke/fill colours you use.
  • You can use other vector drawing tools in Fireworks, but if you do, you may need to ungroup them so that you’re left with a regular path. This is untested, so it may just fail silently.
  • If you’re using the pen tool, make sure you place your points in clockwise order. This is required by the Corona SDK, and at the moment the panel does not do any checking to make sure that the points are clockwise. This may change in the future, but right now just make sure to go clockwise and all will be well.
  • Your shape path is limited to 8 points, which is a limitation in the Corona SDK. Right now the panel does not check to see if your path has more than 8 points, so it’s up to you to make sure that it doesn’t.
  • Just leave the ‘Relative to Center’ checkbox checked. This is required by Corona; I’ve included it only in case this changes in future SDK builds.

Compatible versions of Fireworks

I’ve tested the panel in Adobe Fireworks CS5 for OS X and Windows. However, there’s no reason why it shouldn’t work in older versions.

Version History

6 January 2011 (version 0.0.1)

  • Works with pen, ellipse, rectangle drawing tools.