apotapov/gdx-artemis

语言: Java

git: https://github.com/apotapov/gdx-artemis

阿尔忒弥斯实体系统的叉子(
Fork of artemis entity-system (
README.md (中文)

概要

这是Artemis实体系统框架的一个分支,它使用libgdx进行容器和池化。为了使Artemis更加强大,内存高效和直观,我们做了一些重大改动。

注意

不再主动维护此库。如果/当我重新进入Android游戏开发时,我可能会在未来的某个时候回到它。

现在我建议您查看一个优秀的图书馆artemis-odb。它为事件和libgdx系统提供了一些很好的扩展:artemis-odb-contrib。我本人没有玩过它,但从基准测试来看,它非常高效并且正在积极开发中。

Maven的

<dependency>
    <groupId>com.roundtriangles.games</groupId>
    <artifactId>gdx-artemis</artifactId>
    <version>0.5</version>
</dependency>

快照

启用快照存储库

<repositories>
    <repository>
        <id>snapshots-repo</id>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        <releases><enabled>false</enabled></releases>
        <snapshots><enabled>true</enabled></snapshots>
    </repository>
</repositories>

添加依赖

<dependency>
    <groupId>com.roundtriangles.games</groupId>
    <artifactId>gdx-artemis</artifactId>
    <version>0.6-SNAPSHOT</version>
</dependency>

描述

Artemis是一个用Java编写的实体组件系统,作为管理游戏世界中实体的框架。该库建立在libdx之上,libdx是一个用于开发Android,iOS,Desktop和HTML5跨平台游戏的Java库。有关gdx-artemis的更多信息,请参阅Wiki。

图书馆正在积极开发中。反馈非常感谢。

主要新功能:   - 使用libgdx容器和池。   - 添加了事件(消息)系统(版本0.2)   - 更好的GWT和HTML 5支持。 ComponentMappers需要手动实例化。   - 战斗测试,修复了许多重大错误   - 使用Java Profiler优化内存消耗和执行速度   - 部署到Maven Central存储库。

演示

有一个单独的演示项目可以帮助您入门。这里记录在案。

文档

见维基

最新变化(0.6-SNAPSHOT)

以前的变化

请参阅CHANGELOG.md

游戏使用gdx-artemis

  • 维京国际象棋

本文使用googletrans自动翻译,仅供参考, 原文来自github.com

en_README.md

Summary

This is a fork of Artemis Entity System Framework which uses libgdx for containers and pooling. There are some major changes made to make Artemis more robust, memory efficient and intuitive.

Note

This library is no longer actively maintained. I might come back to it at some point in the future if/when I get back into Android game development.

For now I recommend you checkout an excelent library artemis-odb. It has some nice extensions for events and libgdx systems: artemis-odb-contrib. I personally haven't played with it but judging by the benchmarks, it's very performant and under active development.

Maven

<dependency>
    <groupId>com.roundtriangles.games</groupId>
    <artifactId>gdx-artemis</artifactId>
    <version>0.5</version>
</dependency>

Snapshot

Enable snapshot repository

<repositories>
    <repository>
        <id>snapshots-repo</id>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        <releases><enabled>false</enabled></releases>
        <snapshots><enabled>true</enabled></snapshots>
    </repository>
</repositories>

Add dependency

<dependency>
    <groupId>com.roundtriangles.games</groupId>
    <artifactId>gdx-artemis</artifactId>
    <version>0.6-SNAPSHOT</version>
</dependency>

Description

Artemis is an Entity Component System written in Java as a framework to manage entities in a game world. This library has been built on top of libdx, which is a Java library for developing cross-platform games for Android, iOS, Desktop and HTML5. For more information on gdx-artemis see the Wiki.

The library is in active development. Feedback is much appreciated.

Major new features:
- Uses libgdx containers and pooling.
- Event (messaging) system was added (version 0.2)
- Better GWT and HTML 5 support. ComponentMappers need manual instantiation.
- Battle tested, with many major bugs fixed
- Optimized for memory consumption and speed of execution using Java profiler
- deployed to Maven Central repository.

Demo

There is a separate Demo Project to help you get started. It is documented here.

Documentation

See Wiki

Latest Changes (0.6-SNAPSHOT)

Previous changes

See CHANGELOG.md

Games Using gdx-artemis