搜索插件、代码仓与 APP 分类

插件详情v0.3.1

oxygen

一个用 Dart 编写的轻量级实体组件系统框架

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
1340
喜欢数
20
Pub 分数
150

安装插件

flutter pub add oxygen

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Oxygen 是一个轻量级的实体组件系统(ECS)框架,专为 Dart 设计,旨在通过高效、模块化的架构简化游戏开发。它通过组件和系统组织游戏实体,使开发者能够构建可扩展且易于维护的游戏。Oxygen 以性能和简洁性为核心设计,可无缝集成到 Flutter 项目中,尤其适用于使用 Flame 引擎的项目。其极小的占用空间和清晰的关注点分离使其非常适合跨多个平台的小型原型和大型游戏项目。

适合场景

  • 使用模块化设计构建2D游戏
  • 快速原型化游戏机制
  • 创建可扩展的游戏架构
  • 与火焰引擎项目集成
  • 开发跨平台游戏

主要特点

  • 轻量且快速的 ECS 实现
  • 实体、组件和系统之间的清晰分离
  • 与 Flutter 和 Flame 的轻松集成
  • 支持开发时热重载
  • 可扩展且可组合的设计

适合对象

  • 使用Flutter的游戏开发者
  • 寻求模块化游戏架构的团队
  • 初学者学习ECS模式
  • 在多个平台上需要高性能的项目

使用建议

  • 最适合具有复杂实体交互的游戏
  • 需要理解 ECS 概念
  • 有限的内置渲染或音频功能
  • 不是完整的游戏引擎,需要配套工具

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Oxygen

A lightweight Entity Component System framework written in Dart.

cicd

About Oxygen

Oxygen is a lightweight Entity Component System framework written in Dart, with a focus on performance and ease of use. Oxygen is by design agnostic, and any game engine you want to use can be used with Oxygen.

Goals

Oxygen is heavily inspired by ECSY, and because of that it shares the same design principals. The main goal for Oxygen is to be lightweight, performant and simple to use. With APIs that try and help you make good use of the ECS design pattern, without restricting you in building your logic.

Documentation

See the documentation for more information about how to work with Oxygen.

Contributing

For contributing see our Contributing guidelines. Please read this carefully as it will answer most of your contributing-related questions.

Credits

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目

暂无相关数据。