<commit_before>/*
 *    preloader.js
 *    Loads all game assets
 */

YINS.Preloader = function(game) {};

YINS.Preloader.prototype = {
	preload: function() {
		// Inform the user of the current loading state
		this.stage.backgroundColor = YINS.color.purple;
		var text = YINS.game.add.text(YINS.game.world.centerX, YINS.game.world.centerY, "Loading...", YINS.text.header);
		text.anchor.set(0.5);

		// Load all assets needed for the game
		YINS.game.load.audio('menuMusic', ['audio/mainmenu.mp3', 'audio/mainmenu.ogg']);
		YINS.game.load.audio('gameMusic', ['audio/game.wav']);
		YINS.game.load.spritesheet('spritesheet', 'assets/spritesheet.png', 21, 21, 900, 2, 2);
		YINS.game.load.tilemap('map', 'assets/tilemap.json', null, Phaser.Tilemap.TILED_JSON);
		YINS.game.load.bitmapFont('kenpixel', 'assets/kenpixel.ttf')
	},

	create: function() {

	},

	update: function() {
		if (YINS.game.cache.isSoundDecoded('menuMusic')) {
			YINS.game.state.start('mainMenu');
		}
	}
};<commit_msg>Remove loading of bitmap font Until I have figured out a way to solve the error<commit_after>/*
 *    preloader.js
 *    Loads all game assets
 */

YINS.Preloader = function(game) {};

YINS.Preloader.prototype = {
	preload: function() {
		// Inform the user of the current loading state
		this.stage.backgroundColor = YINS.color.purple;
		var text = YINS.game.add.text(YINS.game.world.centerX, YINS.game.world.centerY, "Loading...", YINS.text.header);
		text.anchor.set(0.5);

		// Load all assets needed for the game
		YINS.game.load.audio('menuMusic', ['audio/mainmenu.mp3', 'audio/mainmenu.ogg']);
		YINS.game.load.audio('gameMusic', ['audio/game.wav']);
		YINS.game.load.spritesheet('spritesheet', 'assets/spritesheet.png', 21, 21, 900, 2, 2);
		YINS.game.load.tilemap('map', 'assets/tilemap.json', null, Phaser.Tilemap.TILED_JSON);
	},

	create: function() {

	},

	update: function() {
		if (YINS.game.cache.isSoundDecoded('menuMusic')) {
			YINS.game.state.start('mainMenu');
		}
	}
};
{'fraction_non_alphanumeric': 0.17566885411408378, 'fraction_numerical': 0.012115093387178193, 'mean_word_length': 4.043256997455471, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1948515', 'n_tokens_mistral': 773, 'n_tokens_neox': 728, 'n_words': 133}