Jump to content

Search the Community

Showing results for tags 'debugText'.

  • 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. Hello all, I'm a new Phaser developer and I'm delighted with this framework, I'm a super fan I'd like to ask some help about the best way to display debug info, because the game.debug.text() function is really simple. For example I'd like to have a way to display a block text with multiline or fixed line width because now if I display a long line is not fitting in some small screens. My first approach is to display short lines using a variable for the y position: var yPos = 0;for (property in results) game.debug.text(results[property].id + ": " + results[property].value, 10, yPos += 20);This way I have one line by property in lines of 20 pixels height, but I think this way of doing it is too basic, is there any other way of improve it? Thanks!
×
×
  • Create New...