hexonaut / haxe-phaser

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

Animation has no field generateFrameNames #20

Closed plicatibu closed 10 years ago

plicatibu commented 10 years ago

The official example example of Phaser named animation: group creation works perfectly and without any warning / error.

But it's version converted to Haxe generates the error message

Too many arguments.
Function 'callAll' requires arguments : method, ?context, parameter

Official Phaser sample:

group.callAll('animations.add', 'animations', 'swim', frameNames, 30, true, false);

Haxe code:

group.callAll('animations.add', 'animations', 'swim', frameNames, 30, true, false);