Created
August 28, 2014 19:51
-
-
Save lardratboy/422f4204437c87307302 to your computer and use it in GitHub Desktop.
Phaser + PIXI Rope (quick hack until official support)
This file contains hidden or 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
class Rope extends Phaser.Group { | |
constructor(game, texture, points) { | |
PIXI.Rope.call(this, texture, points); | |
super(game); | |
} | |
} | |
bpt.prefab.applyMixins_( Rope,[PIXI.Strip,PIXI.Rope] ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment