A new floating text effect UI component with lots of configuration options.

Article by Richard Davey. Posted on 9th Jan 2017.   @photonstorm

image

This is a new floating text effect UI component by netgfx, available on GitHub. It creates a floating text effect UI with a single command:

new FloatingText(this, {
    text: "Hello Phaser!",
    animation: "explode",
    textOptions: {
        fontSize: 32,
        fill: "#ff18aa"
    },
    x: 100,
    y: 100,
    timeToLive: 400 // ms
});

There are lots of configuration options available, see the docs for more details.

Read More