Jump to content

Fonts & CDN


dthrasher90
 Share

Recommended Posts

<head>
    <meta charset="UTF-8" />
    <title>hello phaser!</title>
    <script src="phaser.min.js"></script>
    <script src="huddle.js">  </script>
    <script src="PressStart2P.tff"> </script>
 	  <link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
</head>

///

  var score = 0;
                    scoreTextHome = game.add.text(0.1, 0, 'Home: 0', { font: '20px Press Start 2P', fill: '#ffffff' });
                    scoreTextAway = game.add.text(0.1, 21, 'Away: 0', { font: '20px Press Start 2P', fill: '#ffffff' });
                    Time = game.add.text(310, 0, 'Time: 00:00', {font: '20px Press Start 2P', fill: '#ffffff' });
                    DownLog = game.add.text(650, 0, '1 & 10 ',{font: '20px Press Start 2p', fill: '#ffffff' });

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...