Join the odb chat at https://gitter.im/junkdog/artemis-odb

artemis-odb-orion

An Operations/Actions mini-DSL for artemis-odb entities, built on top of libgdx. Inspired by similar Actions API:s, especially that of libgdx.

Provides a core collection of operations, and a simple-to-use framework for building custom, project-specific operations.

Code ends up looking something like:

Entity e = ...
sequence(
    parallel(
        sequence(
            moveTo(xy(x, y)), // project-specific
            moveBy(xy(0, type.size)), // project-specific
            moveBy(xy(0, -type.size), seconds(.6f), bounceOut)
        ),
        sequence(
            sizeTo(xy(-1, 0)), // project-specific
            delay(seconds(.2f)),
            sizeTo(xy(-1, type.size), seconds(.4f), swing)
        )
    ),
    sendEvent(POPUP_ANIMATION_DONE) // project-specific
).register(e);

Features

Usage

No published artifacts yet - until released, install from source before referencing in project:

mvn clean install

Maven

<dependency>
    <groupId>se.feomedia.orion</groupId>
    <artifactId>artemis-odb-orion</artifactId>
    <version>0.1.0-SNAPSHOT</version>
</dependency>

See weave automation and module overview

Gradle

  dependencies { compile "se.feomedia.orion:artemis-odb-orion:0.1.0-SNAPSHOT" }

License

Artemis-odb-orion is licensed under the Apache 2 License, meaning you can use it free of charge, without strings attached in commercial and non-commercial projects.