GregP Posted March 1, 2014 Share Posted March 1, 2014 Hi guys,I'm wondering if any of you ever tried to place a bitmapText in fixed-to-camera position?I checked the source code and unfortunately there's no such flag for bitmapText... (Phaser 1.1.6) So I tried to position it manually (via .x and .y) every inside update() loop, but the text is 'vibraiting' every time the camera is moving... Do you have any idea how this can be sorted out without modifying original Phaser source code? Best,Greg Link to comment Share on other sites More sharing options...
Magnifisite Posted March 1, 2014 Share Posted March 1, 2014 Take a look at how "normal" objects with the fixedToCamera flag is rendered and then create your own render method to render the bitmapText with that flag. Link to comment Share on other sites More sharing options...
rich Posted March 7, 2014 Share Posted March 7, 2014 Just to say that BitmapText can be properly fixedToCamera in Phaser 1.2, as I added support for this directly in. Link to comment Share on other sites More sharing options...
Heppell08 Posted March 7, 2014 Share Posted March 7, 2014 Yeah I asked this question too. Thanks Rich. Gonna try and port my current game into 1.2(2.0?) Tried yesterday and had a few problems with it. Seems a lot has changed! Especially the way bitmaptext is even added. Much simpler now. Link to comment Share on other sites More sharing options...
Recommended Posts