Phaser 2 text into phaser 3

Hi! So I’m learning about Phaser in my class at school. Currently, we’re building a game arround the tutorial game for a project and I came across a text that I can add to my title screen. But I’m not sure where I should put it and if it works for phaser 3. My teacher said that it might not work cause we’re using phaser 3 instead of phaser 2. Here is the link to the animated text: https://phaser.io/examples/v2/text/kern-of-duty

I already made a menu.js, game.js with other different scenes and etc. But where, in the menu.js, should I place the text? This is the menu.js file: https://gyazo.com/65a66ee3583ef49449fa7e86bbb0e790

Maybe this can help you:

https://labs.phaser.io/view.html?src=src/game%20objects/text/static/basic%20text.js

More examples about phaser 3 on: https://labs.phaser.io/index.html

1 Like

Something like that can work, but Phaser 3’s Time API is a little different. See time/timer event or time/repeat count.