Jump to content

Search the Community

Showing results for tags 'phaser text'.

  • 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 3 results

  1. Hi all, Im working on a responsive game using Phaser 3 and i having issue with the text font size in some devices. Is there any way to auto size the text , so it looks the same in all mobiles devices. Any suggestions / references regarding this subject would be really useful. Thanks in advance.
  2. Hello, I'm having trouble with a webfont, it appears to be cropped on the bottom mostly the "p"s. Also the Phaser example seems to have that problem: http://examples.phaser.io/_site/view_full.html?d=text&f=google+webfonts.js&t=google%20webfonts Is there a work around that? here's my code game.add.text(0, 0, "test text with power", { font: '38px FontdinerSwanky', fill: '#f1f1f1', fontWeight: 'bold', align: 'center', stroke: '#1e1e1e', strokeThickness: 3 });Thanks for your help! Here is a screenshot
  3. How I can combine the text properties in a variable for using globally? Thanks you in advance for helping ! var text = game.add.text(game.world.centerX, game.world.centerY + 50, 'Challenge your friends!'); text.font = 'Arial'; // here it is the property of phaser text.fontSize = '12px'; // here it is the property of phaser text.align = 'center'; // here it is the property of phaser text.fontWeight = 'bold'; // here it is the property of phaser
×
×
  • Create New...