How do I use font for html5

0 favourites
  • 3 posts
From the Asset Store
Creepy Sprite Font suitable font for your Dark/Horror/Halloween games.
  • Hi, I'm doing a game for HTML5 and I have my own server (ubuntu 14.04) to install it. When I do test on it with another computer, my font are never shown. Even if my game work perfectly I tried this:

    https://www.scirra.com/tutorials/557/us ... ur-project

    Also I tried the events ''Font Face'' but won't working either. I only see the standard font and I really don't know what to do to solve this. I heard about appmanifest.json and things like that.

    Also, on my main computer (where the font is install) I see the fonts and the game is exactly what it must be.

    Thank you

    (If you don't understand my english, please let me know it)

  • Have you tried to use just web font?

    It will convert your font to online font and you don't really need to install that particular font in your pc.

    Event - Every Tick

    Action - (Text object) set web font > "(name of the font)" and from "(font URL)"

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • What does «Every tick» mean ?

    I tried with another computer with Chrome, that works, but in Mozilla Firefox, it's really slow to the font to load (on the same computer).

    Maybe, coincidence.

    Thanks for the answer !

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)