For 用于开发独立游戏的 2D 游戏引擎, the strongest matches are flame-engine/flame (Flame is a comprehensive 2D game engine for Flutter), okamstudio/godot (Godot is a full-featured open-source game engine with dedicated) and cocos2d/cocos2d-x (Cocos2d-x is a cross-platform 2D game engine with hardware-accelerated). godotengine/godot and phaserjs/phaser round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
专为独立游戏工作室开发跨平台二维游戏而设计的框架与库。
Flame is a 2D game engine for Flutter and Dart. It provides a component-based game framework for managing entities and their lifecycles through a hierarchical architecture, alongside a dedicated system for game asset management and input handling. The engine distinguishes itself through a specialized integration layer for external physics engines to handle rigid body dynamics and collision detection. It also features a high-performance task model that uses isolates to offload heavy computations and prevent main thread blocking. The framework covers a broad range of capabilities including vis
Flame is a comprehensive 2D game engine for Flutter that provides cross-platform export, a component-based game framework, physics integration, asset management, and animation systems, directly meeting the requirements for an easy-to-use independent game development engine.
Godot is a multi-platform game engine and a suite of tools used to develop 2D and 3D interactive games and applications across multiple operating systems. It provides specialized development environments for both two-dimensional and three-dimensional design, including tools for sprite animation, tilemaps, lighting, meshes, and physics simulations. The engine includes a cross-platform export tool that packages projects for deployment to desktop, mobile, web, and console hardware targets from a single codebase. The system covers broad capabilities for interactive experience design and game dev
Godot is a full-featured open-source game engine with dedicated 2D support, providing sprite animation, tilemaps, physics, a scripting language, a built-in UI system, and cross-platform export — everything an indie developer needs for 2D game development.
Cocos2d-x is a high-performance C++ game development framework designed for building and deploying interactive applications across mobile, desktop, and web platforms. It functions as a cross-platform game engine that utilizes an entity-component system to manage object lifecycles, behaviors, and spatial relationships within a unified codebase. The engine is distinguished by its specialized 2D graphics rendering pipeline, which is optimized for hardware-accelerated performance when displaying sprites, particle effects, and skeletal animations. It provides developers with low-level access to gr
Cocos2d-x is a cross-platform 2D game engine with hardware-accelerated sprite and animation rendering, Lua scripting, and the physics and UI systems that independent developers expect, making it a comprehensive fit for building 2D games.
Godot is a comprehensive, node-based game engine designed for building interactive 2D and 3D applications. It provides an integrated development environment that utilizes a hierarchical scene system to organize objects, propagate spatial transformations, and manage lifecycle events. The engine functions as a cross-platform development suite, allowing developers to author, test, and export software to desktop, mobile, and web environments from a single, unified codebase. The engine distinguishes itself through a modular, component-based architecture that relies on signals-based decoupling for
Godot is a full-featured, cross-platform 2D and 3D game engine with a node-based editor, built-in physics, scripting (GDScript/C#), a sprite and animation system, an asset pipeline, and a UI system, making it an excellent choice for independent 2D game development.
Phaser is a comprehensive 2D game engine designed for building high-performance, interactive content that runs directly in web browsers. At its core, the engine utilizes a fixed-timestep simulation loop that decouples game logic from variable browser frame rates, ensuring consistent behavior across diverse hardware. It provides a robust framework for managing asset loading, physics, input, and audio, enabling the creation of complex, responsive visual experiences for both desktop and mobile devices. The engine distinguishes itself through a high-performance graphics pipeline that automaticall
Phaser is a comprehensive, open-source 2D game engine built for the web, offering a fixed-timestep loop, physics, asset management, and sprite/animation support — squarely matching your need for a cross-platform, easy-to-use engine for independent development.
Fyrox is a Rust-based game engine for building both 2D and 3D games, designed as a native engine with no runtime dependencies. It compiles directly to native code for Windows, macOS, Linux, and WebAssembly, providing direct hardware access through the Rust programming language. The engine is built around an entity-component-system architecture that organizes game objects as entities with attached components processed by modular systems. Its graph-based scene management represents game scenes as directed acyclic graphs of nodes with transform hierarchies and property inheritance, while a paral
Fyrox is a native Rust game engine supporting 2D and 3D development with cross-platform export to Windows, macOS, Linux, and WebAssembly, and its tags indicate it includes Lua scripting, an immediate-mode GUI system, and an asset hot-reloader, covering the core features needed for a 2D game engine.
melonJS is a lightweight HTML5 game engine for building 2D games in the browser using JavaScript. It provides a complete framework for sprite animation, tilemap loading, physics simulation, input handling, and audio playback, with a unified rendering system that automatically switches between WebGL and Canvas2D backends without code changes. The engine distinguishes itself through several integrated capabilities. It features a per-sprite shader pipeline for custom fragment shader effects, a SAT-based collision engine with swappable physics adapters (including built-in SAT, Matter.js, and Plan
melonJS is a complete HTML5 2D game engine with sprite animation, tilemap loading, physics (SAT/Matter.js), and automatic WebGL/Canvas2D rendering — it covers most of the features you asked for, though it targets browser-only export and doesn't include a built-in UI system.
Ren'Py is a cross-platform game engine and interactive storytelling tool built around a Python-based scripting engine. It is designed for creating visual novels and branching narrative games, where player choices determine story paths and character interactions. The engine provides a complete development framework for building narrative-driven experiences, from simple dialogue trees to complex life simulation games. The engine distinguishes itself through a comprehensive set of integrated systems that handle the full lifecycle of interactive storytelling. Its script-based story engine compile
Ren'Py is a cross-platform 2D game engine built specifically for visual novels and narrative-driven games, with a Python-based scripting system, sprite layering, and a built-in UI—it covers many of the listed features (scripting, sprites, cross-platform export) but lacks a general physics engine and is specialized to narrative games rather than a broad 2D game engine.
Superpowers is a browser-based game development engine and collaborative integrated development environment. It provides a unified workspace for building two-dimensional interactive experiences, allowing users to manage code, assets, and scene logic directly within a web browser without the need for local compilers or heavy desktop software. The platform distinguishes itself through a modular, component-based scripting architecture where game objects are defined by attached logic and visual properties. It supports real-time synchronization, enabling multiple developers to work on the same pro
Superpowers is a browser-based open‑source 2D game engine with a collaborative IDE and scripting support, making it a relevant choice for independent development, although it does not include a physics engine and its export is primarily web-focused.
Hilo is an HTML5 game engine for building 2D games that run across browsers and devices. It renders graphics through Canvas, DOM, or WebGL backends, automatically selecting the best option for the target environment. The engine provides a complete game development solution with sprite, skeletal, and particle animation, along with a texture atlas system for efficient image loading and rendering. The framework distinguishes itself through its integration of the DragonBones skeletal animation engine, which drives bone-based character movement without frame-by-frame sprites, and its Chipmunk phys
Hilo is an HTML5 2D game engine with Canvas/DOM/WebGL rendering, sprite and skeletal animation, a texture atlas system, and integrated Chipmunk physics, covering most features for browser-based game development—though its export is primarily to the web and it does not prominently feature a built-in UI system, so it is a solid but not comprehensive fit.
LibGDX is a Java-based framework designed for cross-platform game development, enabling the creation and deployment of 2D and 3D games across desktop, mobile, and web environments from a single codebase. It functions as a comprehensive library that abstracts hardware-accelerated graphics, audio, input, and file system access, providing a unified interface for developers to manage game logic and application lifecycles. The framework distinguishes itself through a high-performance architecture that prioritizes efficiency and native interoperability. It utilizes a batch-oriented graphics pipelin
LibGDX is a Java-based cross-platform game development framework with a 2D rendering pipeline, asset management, and a built-in UI toolkit (Scene2D), making it a solid fit for an open-source 2D game engine; it covers most requested features like cross-platform export and sprite/animation systems, though physics and scripting are handled through extensions or Java code rather than being built-in.
Murder is an entity component system game engine designed for 2D game development. It provides a core framework for managing game objects through an ECS architecture and includes a dedicated 2D game editor for asset management and real-time property configuration. The engine features a specialized 2D rendering pipeline supporting pixel art, sprite slicing, and parallax effects. It includes a hierarchical A* pathfinding system for agent navigation and a comprehensive asset management system for serializing and loading game resources. The project covers a broad range of capabilities, including
Murder is an ECS-based 2D game engine with a dedicated editor, cross-platform support (via FNA), and asset management, so it matches the category well—though it lacks built-in physics, scripting, and UI systems, making it a solid but not comprehensive choice for your needs.
This project is a C-based multimedia toolkit and cross-platform game framework designed for building interactive applications. It provides a low-level programming interface that grants direct access to hardware-accelerated graphics, real-time audio processing, and user input handling. By utilizing an immediate-mode rendering architecture, the library processes visual state changes frame-by-frame, which simplifies the logic required for dynamic interfaces and interactive simulations. The library distinguishes itself through a zero-dependency design that avoids complex external build requiremen
raylib is a cross-platform C game framework with 2D/3D rendering, audio, and input — it provides the core engine but lacks a built-in physics engine, scripting language, and asset pipeline, so while it's a solid foundation for independent development, it requires additional libraries or manual coding for those features.
Bevy is a cross-platform game engine and framework built in Rust, designed for creating interactive simulations and graphical applications. It utilizes a data-oriented entity-component-system architecture to manage game state, organizing data into contiguous memory blocks to facilitate high-performance processing and massive parallelization of entities. The engine distinguishes itself through a modular plugin architecture and a system-based task scheduler that automatically parallelizes logic by analyzing data access patterns. By employing reactive change detection and deferred command buffer
Bevy is a cross-platform game engine with a modern ECS architecture, built-in 2D rendering, asset pipeline, and UI system, but it lacks a built-in physics engine and a dedicated scripting language, relying instead on Rust code, which may not align with an easy-to-use, beginner-friendly intent.
This project is a pure Python game engine and development framework designed for building interactive games without relying on external binary dependencies. It functions as a template library that provides a collection of pre-built game examples and architectural patterns to assist in learning game development logic. The framework supports a prototyping workflow and educational programming through a system of reference examples. It includes a dispatcher for launching specific or random game modules, allowing for the analysis of different functional capabilities and structural patterns. The s
This is a lightweight, Python-based 2D game engine built on Pygame, designed for prototyping and learning game development — it fits the search for an independent 2D game engine, though its focus on education and example templates means some advanced features like a physics engine or asset pipeline are not included.
LÖVE is a cross-platform game engine and framework for developing two-dimensional games using the Lua programming language. It provides a 2D graphics API for rendering shapes, images, and sprites across multiple desktop and mobile platforms. The framework enables the development of a single codebase that can be deployed to Windows, macOS, Linux, Android, and iOS. It utilizes a Lua-based scripting interface to control internal engine systems. The project covers 2D game development, mobile game development, and cross-platform game deployment.
LÖVE is a cross-platform 2D game engine that uses Lua scripting for game logic, rendering, and sprite handling, making it a straightforward choice for indie developers, though it lacks a built-in UI system and a formal asset pipeline that some full-featured engines provide.
Introduction
OpenFL is a Haxe-based cross-platform game framework that provides a 2D rendering engine, sprite and asset systems, and supports scripting with Haxe, making it a solid fit for independent game development, though it lacks a built-in physics engine and integrated UI system.
React Native Game Engine is a framework for building 2D interactive experiences and simulations within mobile applications. It provides a dedicated controller for managing a fixed-step game loop, ensuring that game logic, user inputs, and state updates occur at a consistent frame rate. The engine utilizes an entity-component-system architecture to decouple game object data from behavior. By structuring objects as independent entities processed by reusable logic functions, it allows for the management of complex scenes through a centralized, data-driven approach. The framework supports the cr
This is a lightweight 2D game engine built on React Native, enabling cross-platform mobile game development with JavaScript and React components; it fits the category but lacks many built-in features like a physics engine, animation system, or dedicated asset pipeline, making it a narrower option.
| 仓库 | Star 数 | 语言 | 许可证 | 最后推送 |
|---|---|---|---|---|
| flame-engine/flame | 10.6K | Dart | MIT | |
| okamstudio/godot | 112.7K | C++ | MIT | |
| cocos2d/cocos2d-x | 18.9K | C++ | — | |
| godotengine/godot | 112.6K | C++ | MIT | |
| phaserjs/phaser | 39.8K | JavaScript | MIT | |
| fyroxengine/fyrox | 9.4K | Rust | MIT | |
| melonjs/melonjs | 6.3K | JavaScript | MIT | |
| renpy/renpy | 6.5K | Ren'Py | — | |
| obra/superpowers | 229.5K | Shell | MIT | |
| hiloteam/hilo | 5.9K | JavaScript | MIT |