-
Notifications
You must be signed in to change notification settings - Fork 114
Actions Plugin
Daan van Yperen edited this page May 31, 2019
·
4 revisions
An Actions mini-DSL for artemis-odb
entities, built on top of libgdx. Inspired by similar
Actions APIs, especially that of libgdx.
Alternatively see artemis-odb-contrib alternative to orion.
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);
You can find artemis-odb-orion on github.
- Overview
- Concepts
- Getting Started
- Using
- More guides
- Plugins
- Game Gallery
- Tools and Frameworks
- API reference