devx123x Posted June 11, 2015 Share Posted June 11, 2015 Is it possible to tween a bitmap text object? I took some code from the Examples website and tried it on a bitmap text, but nothing happened. I tried the same code on a sprite, and it worked. Link to comment Share on other sites More sharing options...
drhayes Posted June 12, 2015 Share Posted June 12, 2015 Each character inside of a BitmapText is, itself, a Sprite. You could iterate through the children of the BitmapText and tween each one individually..? Link to comment Share on other sites More sharing options...
seejay92 Posted June 12, 2015 Share Posted June 12, 2015 I encountered this problem before, I found the easiest way was to create a group, and add the text as a child of the group, and perform any tweens on the group. Link to comment Share on other sites More sharing options...
devx123x Posted June 12, 2015 Author Share Posted June 12, 2015 Okay, I tried it and it lets me tween the scale, but that's the only property that seems tweenable. Position doesn't work.\EDIT: Using a group didn't work, but iterating through each child did. Thanks for the help! Link to comment Share on other sites More sharing options...
staff0rd Posted January 24, 2016 Share Posted January 24, 2016 I got caught by this also, and in addition I have the camera fixed to a moving sprite. Strangely the fix for me was to add the bitmapText to a group, fix the group to the camera, but then still tween the bitmapText rather than the group. Link to comment Share on other sites More sharing options...
Recommended Posts