shtingle Posted March 29, 2017 Share Posted March 29, 2017 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 comment Share on other sites More sharing options...
3ddy Posted March 31, 2017 Share Posted March 31, 2017 As far as I remember you have setText function in this plugin. Link to comment Share on other sites More sharing options...
spinnerbox Posted March 31, 2017 Share Posted March 31, 2017 THe last time I tried this plugin, it was buggy. Maybe it improved Link to comment Share on other sites More sharing options...
shtingle Posted April 2, 2017 Author Share Posted April 2, 2017 On 3/31/2017 at 9:24 AM, 3ddy said: As far as I remember you have setText function in this plugin. Thanks for that one, they have now added this to the documentation Link to comment Share on other sites More sharing options...
Recommended Posts