Jump to content

Search the Community

Showing results for tags 'pixi text spacing'.

  • 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. Trying to make a speech bubble above my characters a-la SCUMM games like monkey island. Text line height is too large and I cant seem to adjust it. Am I missing something or is this not possible? Picture below, line height is twice the size it needs to be. I can see in the source that lineHeight takes stroke into effect, but even without stroke, or wordWrap I see no positive effect. let cfg = { font: '6px arial', fill: this.speechColor, stroke: 'black', strokeThickness: 2, wordWrap: true, wordWrapWidth: 50 }; this._textSprite = new PIXI.Text( speech, cfg ); this._textSprite.resolution = 3; this._textSprite.position.x = this._sprite.position.x; this._textSprite.position.y = this._sprite.position.y - this._sprite.height; this._textSprite.anchor.x = 0; this._textSprite.anchor.y = 1; this._sprite.parent.addChild( this._textSprite );
×
×
  • Create New...