Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// <reference path='../bower_components/phaser-official/build/phaser.d.ts' />
- /// <reference path='game.ts' />
- var WebFontConfig: any;
- window.onload = () => {
- SlashSystem.Game.calcSize();
- var game = new SlashSystem.Game();
- WebFontConfig = {
- active: () => { game.time.events.add(Phaser.Timer.SECOND, () => {
- game.bFontsReady = true;
- }, this); },
- google: {
- families: [
- 'Revalia'
- ,'Roboto+Condensed::cyrillic-ext,latin'
- ]
- }
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment