/pixijs

Super fast 2D rendering engine for browserify, that uses WebGL with a context 2d fallback.

Primary LanguageScalaApache License 2.0Apache-2.0

Pixijs API for Scala.js

pixijs - Super fast HTML 5 2D rendering engine that uses webGL with canvas fallback

Description

The aim of this project is to provide a fast lightweight 2D library that works across all devices. The Pixi renderer allows everyone to enjoy the power of hardware acceleration without prior knowledge of WebGL. Also, it's fast. Really fast.

Build Requirements

Build/publish the SDK locally

 $ sbt clean publish-local

Running the tests

Before running the tests the first time, you must ensure the npm packages are installed:

$ npm install

Then you can run the tests:

$ sbt test

Artifacts and Resolvers

To add the Pixijs binding to your project, add the following to your build.sbt:

libraryDependencies += "io.scalajs.npm" %%% "pixijs" % "0.5.0"

Optionally, you may add the Sonatype Repository resolver:

resolvers += Resolver.sonatypeRepo("releases")