mirror of
https://github.com/wassname/phaser.git
synced 2026-09-10 12:29:30 +08:00
Updated Phaser geometry classes so they over-ride the PIXI native ones, means we can do away with a whole bunch of over-rides and object changes in Sprite, etc.
This commit is contained in:
@@ -10,6 +10,7 @@ function preload() {
|
||||
var sprite;
|
||||
var sprite2;
|
||||
var g;
|
||||
var p;
|
||||
|
||||
function create() {
|
||||
|
||||
@@ -28,6 +29,8 @@ function create() {
|
||||
|
||||
game.add.tween(sprite).to({y: 500}, 3000, Phaser.Easing.Linear.None, true);
|
||||
|
||||
p = new PIXI.Point(43, 45);
|
||||
|
||||
}
|
||||
|
||||
function tint() {
|
||||
|
||||
Reference in New Issue
Block a user