hexonaut / haxe-phaser

Haxe externs for Phaser.
MIT License
51 stars 9 forks source link

Easing has no field Quadratic #21

Closed plicatibu closed 10 years ago

plicatibu commented 10 years ago

I converted the official example example of Phaser named animation: starling atlas.

The code converted to Haxe generates the error message

phaser.tween.Class<Easing> has no field Quadratic

Official Phaser sample:

game.add.tween(octopus).to({ y: 300 }, 2000, Phaser.Easing.Quadratic.InOut, true, 0, 1000, true);

Haxe code:

game.add.tween(octopus).to({ y: 300 }, 2000, Easing.Quadratic.InOut, true, 0, 1000, true);