lokhmakov

Untitled

May 25th, 2014
768
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /// <reference path='../bower_components/phaser-official/build/phaser.d.ts' />
  2. /// <reference path='game.ts' />
  3.  
  4. var WebFontConfig: any;
  5.  
  6. window.onload = () => {
  7.  
  8.     SlashSystem.Game.calcSize();
  9.  
  10.     var game = new SlashSystem.Game();
  11.  
  12.     WebFontConfig = {
  13.         active: () => { game.time.events.add(Phaser.Timer.SECOND, () => {
  14.             game.bFontsReady = true;
  15.         }, this); },
  16.         google: {
  17.             families: [
  18.                 'Revalia'
  19.                 ,'Roboto+Condensed::cyrillic-ext,latin'
  20.             ]
  21.         }
  22.     };
  23. };
Advertisement
Add Comment
Please, Sign In to add comment