Created
August 2, 2017 08:49
-
-
Save mauriciomassaia/056edaf051349714a6461f7b961bf85b to your computer and use it in GitHub Desktop.
Pixi Application es6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Application } from 'pixi.js' | |
const app = new Application({ | |
width: window.innerWidth, | |
height: window.innerHeight, | |
resolution: window.devicePixelRatio || 1, | |
antialias: true | |
}) | |
app.ticker.add(() => { | |
}) | |
app.start() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment