Jump to content

Search the Community

Showing results for tags 'text color phaser'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 1 result

  1. Hello, guys. So, I'm wondering if there is an example on how to manage multi colored texts? This image exemplifies perfectly what I want: Actually, mine is actually simpler than that. I just want to write a sentence like this: "Click on the Cat" In which "Click on the" is black and "Cat" is red. I can't find a way to do it in Phaser. That's my code so far: var textStyle = { font: "65px Arial", fill: "#000000"};var text = game.add.text (400, 500,"Click on the " + chosenAnimal, textStyle);As you can imagine, everything is in black. How could I change the chosenAnimal to red in an easy way? There must be a simple solution to this, but I couldn't find anything in the examples.
  • Create New...