valentinaCom Posted November 4, 2014 Share Posted November 4, 2014 Hi I have in my game a Phaser.Text object and the player need to highlight/select part of it.The problem is that when I add a text to the canvas, I can't select it. It's acting as an image. I tried to use an Html element but then I need to fix the scale problem (resolution) and I want to avoid it. any solution?thank you Link to comment Share on other sites More sharing options...
lewster32 Posted November 4, 2014 Share Posted November 4, 2014 The text basically is an image. If you need selectable text you either need to use the DOM (i.e. put HTML over the top of your canvas) or use one of the experimental plug-ins such as this: http://www.html5gamedevs.com/topic/9697-anyone-interested-in-canvas-inputs/?hl=input Link to comment Share on other sites More sharing options...
Recommended Posts