ECS Matrix

Component dependency matrix generator for artemis-odb and ashley

License

License

Categories

Categories

Net
GroupId

GroupId

net.onedaybeard.ecs
ArtifactId

ArtifactId

matrix
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

pom
Description

Description

ECS Matrix
Component dependency matrix generator for artemis-odb and ashley
Project URL

Project URL

https://github.com/junkdog/ecs-matrix
Source Code Management

Source Code Management

https://github.com/junkdog/ecs-matrix/

Download matrix

Filename Size
matrix-0.2.0.pom 3 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/net.onedaybeard.ecs/matrix/ -->
<dependency>
    <groupId>net.onedaybeard.ecs</groupId>
    <artifactId>matrix</artifactId>
    <version>0.2.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/net.onedaybeard.ecs/matrix/
implementation 'net.onedaybeard.ecs:matrix:0.2.0'
// https://jarcasting.com/artifacts/net.onedaybeard.ecs/matrix/
implementation ("net.onedaybeard.ecs:matrix:0.2.0")
'net.onedaybeard.ecs:matrix:pom:0.2.0'
<dependency org="net.onedaybeard.ecs" name="matrix" rev="0.2.0">
  <artifact name="matrix" type="pom" />
</dependency>
@Grapes(
@Grab(group='net.onedaybeard.ecs', module='matrix', version='0.2.0')
)
libraryDependencies += "net.onedaybeard.ecs" % "matrix" % "0.2.0"
[net.onedaybeard.ecs/matrix "0.2.0"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

  • matrix
  • matrix-artemis
  • matrix-ashley
  • matrix-cli

ecs-matrix

A small command-line tool for generating a matrix describing references between ECS classes in your game. Supports artemis-odb and ashley. Note that artemis-odb also provides this functionality via maven, gradle and its cli tool.

Shaman's Weirding Game: Component Dependency Matrix

Building

$ mvn clean package

Downloading

Usage

$ java -jar matrix-cli/target/matrix-cli-0.2.0.jar 
Usage: matrix-cli-<version>.jar [options]
  Options:
  * -c, --class-folder
       Root class folder
    -h, --help
       Displays this help message.
       Default: false
    -l, --label
       Project name, used as page title
       Default: Unnamed project
    -o, --output
       Save to file, destination may be given as a folder path
       Default: matrix.html

Example

$ cd ashley-superjumper/
$ java -jar /path/to/matrix-cli-0.2.0.jar \
> -c core/build/classes/main/ \
> -l "Ashley SuperJumper"
Found ECS framework: ashley
$ ls matrix.html 
matrix.html

Versions

Version
0.2.0
0.1.2
0.1.1
0.1.0