Jump to content

Search the Community

Showing results for tags 'fontawesome'.

  • 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. Hi, I am aware that I can easily create an icon using fontawesome in pixi: my html: <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> ...and the javascript: var envelope = new PIXI.Text('\uf003', { fill: '#ffffff', font: '12px fontawesome' }); stage.addChild(envelope);problem with that is that it does not show the icon if the font from the css is not loaded fast enough (reloading with an empty cache does not show the icon). So I thought about preloading the font using Font.js, which should work in general, but there are different fonts for different platforms and I think it is wrong to implement a browser-detection and load the correct font file (just load all files seems even worse). Has anyone experience with fontawesome and pixi on multiple platforms and can give some advice?
×
×
  • Create New...