[Phaser3] Dynamic Textbox

Hey y’all,

I’m developing a top down adventure and what is an adventure without text?
So I came across the problem that I wanted to show some textboxes, but without setting the size manually everytime.

I came up with a DynamicTextbox class, which acts as a Phaser Container.
Here’s the CodePen if anyone needs something like that:

2 Likes

So cool. Thanks for sharing!
As a beginner I learned a lot from your code.

1 Like