TP Core

Utilities for use in PlayN-based games.

License

License

GroupId

GroupId

com.threerings
ArtifactId

ArtifactId

tripleplay
Last Version

Last Version

2.0.6
Release Date

Release Date

Type

Type

jar
Description

Description

TP Core
Utilities for use in PlayN-based games.

Download tripleplay

How to add to project

<!-- https://jarcasting.com/artifacts/com.threerings/tripleplay/ -->
<dependency>
    <groupId>com.threerings</groupId>
    <artifactId>tripleplay</artifactId>
    <version>2.0.6</version>
</dependency>
// https://jarcasting.com/artifacts/com.threerings/tripleplay/
implementation 'com.threerings:tripleplay:2.0.6'
// https://jarcasting.com/artifacts/com.threerings/tripleplay/
implementation ("com.threerings:tripleplay:2.0.6")
'com.threerings:tripleplay:jar:2.0.6'
<dependency org="com.threerings" name="tripleplay" rev="2.0.6">
  <artifact name="tripleplay" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.threerings', module='tripleplay', version='2.0.6')
)
libraryDependencies += "com.threerings" % "tripleplay" % "2.0.6"
[com.threerings/tripleplay "2.0.6"]

Dependencies

compile (1)

Group / Artifact Type Version
io.playn : playn-scene jar 2.0.5

test (3)

Group / Artifact Type Version
io.playn : playn-java-lwjgl jar 2.0.5
com.google.guava : guava jar 16.0.1
junit : junit jar 4.13.1

Project Modules

There are no modules declared in this project.

Triple Play

Triple Play is a collection of game-related utility classes that can be used with the PlayN library on all of its myriad platform targets.

Various documentation-like-things are available:

Building

The library is built using Maven or SBT.

Invoke mvn install to build and install the library to your local Maven repository (i.e. ~/.m2/repository).

Invoke sbt publish-local to build and install the library to your local Ivy repository (i.e. ~/.ivy2/local).

Artifacts

To add a Triple Play dependency to a Maven project, add the following to your pom.xml:

<dependencies>
  <dependency>
    <groupId>com.threerings</groupId>
    <artifactId>tripleplay</artifactId>
    <version>${playn.version}</version>
  </dependency>
</dependencies>

GWT/HTML5

When using Triple Play in a PlayN game that targets the HTML5 or Flash backends, you must make some additional changes.

Add the following to your html/pom.xml (and/or flash/pom.xml):

<dependencies>
  <dependency>
    <groupId>com.threerings</groupId>
    <artifactId>tripleplay</artifactId>
    <version>${playn.version}</version>
    <classifier>sources</classifier>
  </dependency>
</dependencies>

Add a reference to the Triple Play GWT module to your FooGame.gwt.xml file, like so:

<inherits name="tripleplay.TriplePlay"/>

Finally modify the gwt-maven-plugin to override disableClassMetadata which PlayN enables by default:

<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>gwt-maven-plugin</artifactId>
  <configuration>
    <disableClassMetadata>false</disableClassMetadata>
  </configuration>
  ...
</plugin>

Distribution

Triple Play is released under the New BSD License. The most recent version of the library is available at https://github.com/threerings/tripleplay

Contact

Questions, comments, and other worldly endeavors can be handled via the Three Rings Libraries Google Group.

com.threerings

Three Rings

Versions

Version
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2a
2.0.1
2.0
2.0-rc3
2.0-rc2
2.0-rc1
1.9
1.8.5
1.8
1.7.2
1.7.1
1.7
1.6
1.5.1
1.5
1.4
1.3
1.2
1.1
1.0