titmael Posted April 10, 2014 Share Posted April 10, 2014 Hi, I'd like to add a text moving to the top, like with y velocity but I can't find a way to do it, I'm that dumb ? (yes is strongly possible ) My case is that a player hits a sprite and I want to show a text moving from player(x,y) to top of player : "+4 health" NB : the text can change, so I don't want to use a sprite Thx, as always Link to comment Share on other sites More sharing options...
titmael Posted April 10, 2014 Author Share Posted April 10, 2014 Thx to the IRC chat (I'll go there a bit more) I found how to : use tween. I tween my text and use : tw.to({ y: y - 300 }, 1000, Phaser.Easing.Linear.In); Link to comment Share on other sites More sharing options...
Recommended Posts