# Solar2D

Lua\-based open\-source engine for cross\-platform 2D games and applications\.

ID: Q982 · Revision: 1030

Type: software · License: MIT for the engine; bundled libraries and third\-party plugins may use different licenses\.[^repo] · Status: active

Website: https://solar2d.com/



Solar2D is a Lua\-based 2D game engine developed from Corona SDK\. It combines a desktop Simulator, APIs for game and application behavior, platform build tools and optional plugins\. Its main development workflow emphasizes editing code and checking the result quickly, including on\-device iteration through development live builds\.[^home][^repo][^live]

## Development workflow

Solar2D runs a project in its desktop Simulator while developers edit Lua in a separate text editor\. The engine's repository describes this as a prototyping and iteration workflow and points to platform builds for deployment\. Its origins in Corona SDK explain the older name still present in parts of the documentation, but that history is not a guarantee that every old plugin or project configuration works with a current build\.[^repo][^home]

## Scenes and object ownership

Composer organizes screens as Lua modules with creation, showing, hiding and destruction events\. Display objects must belong to the scene's view group for Composer to manage their cleanup\. A hidden scene normally remains in memory, so returning to it does not necessarily rerun initialization or reset game state\. Developers remain responsible for tasks such as cancelling timers, removing runtime listeners and disposing of non\-display resources\.[^composer]

## Live builds on devices

A live build is first built and installed on a device, then receives code and asset changes through the local network\. The documented route uses development provisioning profiles for Apple platforms or debug keystores for Android\-family builds\. It is an iteration mechanism, not a way to update arbitrary production installations\. Changes to build\.settings or config\.lua typically require another build and installation rather than ordinary live synchronization\.[^live]

## Native APIs and plugins

Solar2D Native provides a bridge between Lua and native code, allowing functionality beyond the standard Lua APIs and reusable plugin development\. That route introduces platform\-specific development tools and maintenance\. Existing plugins can supply integrations, but the availability of a plugin directory does not establish that a particular service, plugin version or native API works on every deployment target\.[^native]

## Browser differences

The HTML5 guide documents calling JavaScript modules from Lua and explicitly notes that these JavaScript plugins cannot execute in the desktop Simulator\. It suggests a Lua wrapper for separating browser behavior from a simulator placeholder\. The same guide retains a beta notice\. Browser\-dependent integrations therefore need to be assessed in the actual HTML5 build, rather than being treated as validated by a successful Simulator session\.[^html]

## Availability and licensing

The project lists mobile, desktop, connected\-TV and HTML5 targets and states that using the engine incurs no engine fees or royalties\. Its repository identifies MIT as the engine license while warning that incorporated libraries may have different terms\. External plugins and distribution services should be assessed separately; the core's licensing model is not evidence that every optional dependency or store requirement is free\.[^home][^repo]

## Substitution considerations

Solar2D and [Gideros](/gideros) overlap in Lua\-driven 2D game development and cross\-platform deployment\. Solar2D may serve the same project goal when its Simulator, Composer and extension APIs suit the team\. Moving between them remains an API and content\-pipeline port: Lua familiarity can transfer, but scene structure, object ownership, plugins and build settings require review\. This assessment does not claim automatic conversion or equivalence for Gideros's broader 3D capabilities\.[^repo][^composer][^native][^gideros]

## Capabilities and substitutions

### Lua scene management — supported

Composer provides scene transitions and lifecycle events, with explicit cleanup responsibilities beyond scene\-owned display objects\.[^composer]

Use case: Creating and iterating on Lua\-based 2D games · Platforms: Windows, macOS, Linux, Android, iOS, tvOS, Web · Region: Version, build and integration requirements apply

### On\-device live iteration — limited

Live builds target iOS, Android/Kindle Fire and tvOS with development provisioning or debug signing and local\-network synchronization from a macOS or Windows development host; build configuration changes generally require rebuilding\.[^live]

Use case: Creating and iterating on Lua\-based 2D games · Platforms: iOS, Android, Kindle Fire, tvOS · Region: Version, build and integration requirements apply

### Native extensions — supported

Solar2D Native bridges Lua and native platform code and supports reusable plugins\. The cited guide documents iOS and Android targets, using macOS for either target or Windows for Android\.[^native]

Use case: Creating and iterating on Lua\-based 2D games · Platforms: iOS, Android · Region: Version, build and integration requirements apply

### Browser integration — limited

HTML5 documentation describes a JavaScript bridge but labels the route beta; JavaScript plugins do not execute in the desktop Simulator\.[^html]

Use case: Creating and iterating on Lua\-based 2D games · Platforms: HTML5 web builds · Region: Version, build and integration requirements apply

### [Substitute for Gideros](/gideros) — limited

Assessment: a substitute for Gideros in Lua\-based 2D game development when Solar2D's APIs, Composer and build workflow fit the project\. Sharing Lua does not make scene code, native plugins or project files interchangeable\.[^repo][^composer][^native][^gideros]

Use case: Creating and iterating on Lua\-based 2D games · Platforms: Windows, macOS, Linux, Android, iOS, tvOS, Web · Region: Version, build and integration requirements apply

## References

[^home]: [Solar2D overview](<https://solar2d.com/>) — Lua workflow, platforms and no engine fees or royalties (vendor; retrieved 2026-10-07T19:41:44Z)

[^repo]: [Solar2D repository](<https://github.com/coronalabs/corona>) — Simulator, editors, MIT licensing and dependency exceptions (vendor; retrieved 2026-10-07T19:42:01Z)

[^composer]: [Composer Library](<https://docs.coronalabs.com/guide/system/composer/index.html>) — Scene lifecycle, groups, retention and cleanup (vendor; retrieved 2026-10-07T19:40:11Z)

[^live]: [Generating Live Builds](<https://docs.coronalabs.com/guide/distribution/liveBuild/index.html>) — Development signing, same\-network updates and configuration rebuilds (vendor; retrieved 2026-10-07T19:41:53Z)

[^native]: [Solar2D Native](<https://docs.coronalabs.com/native/index.html>) — Lua/native bridge, plugin creation and platform tools (vendor; retrieved 2026-10-07T19:41:53Z)

[^html]: [JavaScript in HTML5 builds](<https://docs.coronalabs.com/guide/html5/plugins/index.html>) — Beta notice; JavaScript module loader and Simulator limitation (vendor; retrieved 2026-10-07T19:40:24Z)

[^gideros]: [Gideros overview](<https://github.com/gideros/gideros>) — Lua development environment and platform deployment (vendor; retrieved 2026-10-07T19:41:53Z)

[^source-8]: [https://docs\.coronalabs\.com/guide/distribution/liveBuild/index\.html](<https://docs.coronalabs.com/guide/distribution/liveBuild/index.html>) — Live Build Creation lists iOS, Android and tvOS, including Kindle Fire debug signing\. Native System Requirements and the HTML5 JavaScript guide support the other two capability corrections\. (vendor; retrieved 2026-10-07T19:41:44Z)

Source revision: https://substitutefor.net/entities/Q982?revision=1030
