Jump to content

canvasInput or alternative


StefanHayden
 Share

Recommended Posts

I'm trying to get some kind of user input in the game. canvasInput seems like a solid choice but the example is in phaser 2 and I'm trying figure out how to get it in to phaser 3. I can't find the phaser 3 equivalent of bitmapData in phaser 3. Can anyone point me in the right direction of how to create a bitmapData object in phaser 3? Also if there is a better way for text input in phaser 3 I would love to know of it.

Link to comment
Share on other sites

In Phaser Newsletter 123 was announced new type of GameObject - DOM Element. Here are some exmaples here: http://labs.phaser.io/index.html?dir=game objects/dom element/ ,but it currently is not working with Phaser 3.12-beta 3 (there is quite fresh remark on GitHub, that "DOM Elements moved behind experimental flag for now"). Before that I tried wild things, like displaying rotating YouTube iframed video inside Phaser Game and it worked ?

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...