Solar2D Lua-based open-source engine for cross-platform 2D games and applications.
Overview 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.[1] [2] [4]
Contents 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.[1] [2]
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.[3]
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.[4]
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.[5]
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.[6]
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.[1] [2]
Substitution considerations Solar2D and 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.[2] [3] [5] [7]
References Solar2D overview Lua workflow, platforms and no engine fees or royalties
vendor · retrieved 2026-10-07 Solar2D repository Simulator, editors, MIT licensing and dependency exceptions
vendor · retrieved 2026-10-07 Composer Library Scene lifecycle, groups, retention and cleanup
vendor · retrieved 2026-10-07 Generating Live Builds Development signing, same-network updates and configuration rebuilds
vendor · retrieved 2026-10-07 Solar2D Native Lua/native bridge, plugin creation and platform tools
vendor · retrieved 2026-10-07 JavaScript in HTML5 builds Beta notice; JavaScript module loader and Simulator limitation
vendor · retrieved 2026-10-07 Gideros overview Lua development environment and platform deployment
vendor · retrieved 2026-10-07 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-07 Also included: 4 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.