corona

coronalabsMIT活跃维护

跨平台 2D 游戏引擎,用 Lua 写游戏,一套代码可发布到 iOS、Android 和桌面端,适合快速开发休闲游戏。

Solar2D Game Engine main repository (ex Corona SDK)

3737发布于 2026-11-07 17:46 UTC2,903star +4 / 7 天316fork同步于 2026-11-10 11:42 UTC

怎么上手

由 README 提炼,执行前请确认
git clone --recursive https://github.com/coronalabs/corona.git
硬件要求按 README 说明

README 未说明具体硬件或显存要求;模拟器可直接在 PC/Mac 上运行,发布目标覆盖 iOS、Android、Amazon Fire、Mac、Windows、Linux、HTML5 及 Apple TV、Fire TV、Android TV 等设备

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

免费开源的跨平台 2D 游戏引擎,用 Lua 写一次代码即可发布到手机、桌面、TV 和 HTML5

跨平台 2D 游戏引擎,用 Lua 写游戏,一套代码可发布到 iOS、Android 和桌面端,适合快速开发休闲游戏。

核心能力

  • 用 Lua 脚本编写游戏逻辑,API 覆盖 1000+ 函数
  • 内置模拟器,保存代码即热更新预览
  • 一次构建即可通过局域网向真机推送代码和资源
  • 支持调用 C/C++/Obj-C/Java 原生库并打包为插件
  • 可搭配 Sublime、VS Code、ZeroBrane 等编辑器

容易踩的坑

普通用户应直接从 Releases 页下载二进制发行版,而不是从源码构建;源码仓库使用 git submodule,克隆时必须加 --recursive,否则代码树不完整;向项目贡献代码需先签署 Contributor License Agreement (CLA)

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本3737
  1. 3737Solar2D 2026.3737最新正式版2026-11-07 · 2026-11-07 17:46 UTC

    What's Changed

    Full Changelog: https://github.com/coronalabs/corona/compare/3736...3737

  2. 3736Solar2D 2026.37362026-10-12 · 2026-10-12 18:49 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/coronalabs/corona/compare/3735...3736

  3. 3735Solar2D 2026.37352026-10-10 · 2026-10-10 07:35 UTC
    查看更新说明

    What's Changed

    New Contributors

    Full Changelog: https://github.com/coronalabs/corona/compare/3734...3735

  4. 3734Solar2D 2026.37342026-10-05 · 2026-10-05 03:35 UTC
    查看更新说明

    What's Changed

    New Contributors

    Full Changelog: https://github.com/coronalabs/corona/compare/3733...3734

  5. 3733Solar2D 2026.37332026-10-03 · 2026-10-03 01:36 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/coronalabs/corona/compare/3732...3733

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Solar2D Game Engine

    Download the latest build from the Releases page and join the community on Discord and the forums.

    Rebranded Corona SDK

    Simple to learn and use, completely free and open source 2D game engine.

    Solar2D Logo

    Easy-to-learn & powerful

    Solar2D is a cross-platform framework which is ideal for rapidly creating apps and games for mobile devices, TV, desktop systems and HTML5. That means you can create your project once and publish it to multiple devices, including Apple iPhone and iPad, Android phones and tablets, Amazon Fire, Mac Desktop, Windows Desktop, Linux, HTML5 and even connected TVs such as Apple TV, Amazon Fire TV, and Android TV.

    Benefits of usage Solar2D

    • Free for everybody – Enterprise features for every developer.
    • The easiest development tool for 2D games and mobile applications.
    • Solar2D allows creating apps easily, up to 10 times faster than other frameworks.
    • Supported by a detailed documentation system.
    • Write the code once, run it many different places – Solar2D supports all major mobile platforms.
    • Constantly growing pool of first-party and community provided plugins and ready-to-go app assets.
    • A vibrant community of both application and game developers.
    • Simulator, which runs the app directly on PC/Mac, simplifies the prototyping process and helps quickly test ideas and concepts.
    • A logical and consistent API that covers over 1000 functions and allows to get things up and running very fast.

    Feature highlights

    Simulator and Live Builds

    Solar2D speeds up the development process - update your code, save the changes, and instantly see the results in our instant-update Simulator. When you're ready to test on real devices, build and deploy your app just once and then see code/assets, update automatically, all over your local network. Just like magic.

    Lua-based

    Lua is an open source scripting language designed to be lightweight, fast, yet also powerful. Lua is currently the leading scripting language in games and has been utilized in Roblox, The Elder Scrolls Online, Don't Starve, World of Warcraft ™, Angry Birds ™, Civilization ™, and many other popular franchises.

    Use with your favorite text editor

    You can use Sublime Text(Editor), Atom(autocomplete-corona), Visual Studio Code(Solar2d-companion), ZeroBrane Studio and many others.

    Plugins for all needs

    Select from numerous plugins which extend the Solar2D core for features like in-app advertising, analytics, media, and much more. A vast variety of plugins is available via Solar2D free directory or third party stores, like Solar2D Marketplace and Solar2D Plugins.

    Call any native library

    If it’s not already in the core or supported via a plugin, you can call any native (C/C++/Obj-C/Java) library or API using Solar2D Native. It also allows to easily package your code as a plugin.

    Cross-platform

    Develop for mobile, desktop, and connected TV devices with just one code base.

    Installation

    The easiest and recommended way to get started with Solar2D is to download binary distribution from the releases page.

    API documentation and guides

    Exhaustive Solar2D API documentation, as well as getting started and more advanced guides are available on docs.coronalabs.com.

    Source Code and licensing

    Solar2D is licensed under MIT open source license.

    This license gives you the full rights to customize the engine and distribute built apps on your own terms.

    Note that Solar2D incorporates many libraries, both third-party and made by Solar2D developers. They may have different licenses.

    Contributing

    If you are willing to improve Solar2D by contributing code, fork this repository and create a pull request with desired improvements. The project uses git submodules, so to clone the whole source code tree run

    git clone --recursive https://github.com/coronalabs/corona.git
    

    Due to the open source nature of Solar2D distribution, all contributors would have to sign a simple Contributor License Agreement (CLA) to ensure that their code can be part of Solar2D ecosystem. For more details see CONTRIBUTING.md.

    Entry points for each platform are located in the platform directory. Refer to README.md files in its subdirectories.

    Governance and Code of Conduct

    Solar2D is maintained by community, with principal developer shchvova. Our mission is to make Solar2D the best game engine ever.

    To participate in the Solar2D community or development you must follow the Solar2D Community Code of Conduct (see CODE_OF_CONDUCT.md)