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.
If you wish to post comments on our site, you'll need an account. Please login or register.
Login Register