Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Simulate Markdown in Phaser.Text! :D


jdnichollsc
 Share

Recommended Posts

Hi guys,

 

You can simulate Markdown in Phaser 2.4.2 very easily, see my example: http://codepen.io/jdnichollsc/pen/pJqadN?editors=001

var hello = game.add.text(x, y, "Hello **World**, this is **MarkDown** in *Phaser*!", {    font: "bold 60px Arial"});hello.applyMarkdown(); //that is all!

Regards, Nicholls  :D

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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