Git Product home page Git Product logo

tripleplay's Introduction

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.

tripleplay's People

Contributors

samskivert avatar jamie-threerings avatar roguenet avatar deadmoose avatar groves avatar aduros avatar mthomas96 avatar tconkling avatar bryanchacosky avatar dosage avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.