Jump to content

Phaser Input plugin - dynamically populate a text input

Recommended Posts

I am trying to use Phaser Input from https://github.com/orange-games/phaser-input to add text input boxes to my Phaser game.

All is working great apart from one thing, I would like to populate the input box with a value if one already exists in local storage.

Previously I have used CanvasInput which allows you to pass a value on creation, I have been through the phaser-input code and can't see any way of achieving it.

Is there something I can do independent of the phaser-input plugin to dynamically populate a canvas input box?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...