diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2014-05-18 00:22:52 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2014-05-18 00:22:52 +0200 |
commit | 507541065c5e39e2259c5a1f300491f3e388c426 (patch) | |
tree | 782a7b2834a69eafbbb6c2fd515a8efc53d2f8dc /game/states/preload.js | |
parent | 11f91c41c7fb47baa5c5100cd32949575e98f6aa (diff) |
Added showing of scores
Diffstat (limited to 'game/states/preload.js')
-rw-r--r-- | game/states/preload.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/game/states/preload.js b/game/states/preload.js index 945ad14..28420f7 100644 --- a/game/states/preload.js +++ b/game/states/preload.js @@ -16,6 +16,8 @@ Preload.prototype = { this.load.image('player-a', 'assets/images/player-a.svg'); this.load.image('player-b', 'assets/images/player-b.svg'); this.load.image('pill', 'assets/images/pill.svg'); + + this.load.bitmapFont('scorefont', 'assets/fonts/scorefont.png', 'assets/fonts/scorefont.fnt', undefined, 10); }, create: function() { this.asset.cropEnabled = false; |