Rouman Posted November 6, 2013 Share Posted November 6, 2013 Hi, Since it's my first post let me just say that I'm loving the framework, I've been fiddling around a few days and I am really happy. Cheers for the great work, please keep it up! Also, thanks for accepting the Polygon pull request :-) I wanted to add some event handling to a text element, but there's no straightforward way. It seems to be possible placing a blank sprite or a rectangle on top of it. Digging into the source I realized the Text class is deriving from Pixi and adding a few things. So I thought the mouseover/tap etc callbacks would work in phaser too, but apparently not. The question is, is this by design (to enforce using Phaser event system) or is Phaser just using an older version of Pixi? If the latter, is it planned to change? I read somewhere that you plan on rethinking the bitmap class to extend the sprite so it has everything. Regards Link to comment Share on other sites More sharing options...
rich Posted November 7, 2013 Share Posted November 7, 2013 The reason is that I don't use any of the Pixi InteractionManager. I'm going to be redoing Text (and BitmapText) so they at least extend a Phaser Sprite, so you'll get all the interaction events you need from that. Link to comment Share on other sites More sharing options...
Rouman Posted November 7, 2013 Author Share Posted November 7, 2013 Great, thanks for the response! Link to comment Share on other sites More sharing options...
Recommended Posts