Jump to content

Search the Community

Showing results for tags 'text not changing size'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Using Phaser 2.2 "Maybe the example is outdated." In the examples located here. http://www.photonstorm.com/phaser/tutorial-making-your-first-phaser-game. I've noticed that if you define Text this way and try to increase or decrease the font size it doesn't work. scoreText = game.add.text(16, 16, 'score: 0', { fontSize: '40px', fill: '#000' }); If you define scoreText this way though: scoreText = game.add.text(16, 16, 'score: 0', { font: '40px Arial', fill: '#000' }); You can increase and decrease the text size. If I use fontSize it stays at 32px unmodifiable. With font you can modify it with a font type included. With fontSize and defined font it doesn't work either. Isn't Windows default font set to Arial anyway though? I figured you wouldn't have to define the type of text you would be able to increase the default system font. If this is just an outdated example and not just on my pc, I can update the example myself. Or maybe this is a bug?
×
×
  • Create New...