<commit_before>var preload = function(game){}

var WebFontConfig = {
    active: function() { 
    	console.log("fonts loaded");
    	},

    google: {
      families: ['Galdeano']
    }
};


preload.prototype = {
	preload: function(){ 
		var text = "Loading Game";
        var style = { font: "65px Arial", fill: "#ffffff", align: "center" };
        var t = game.add.text(game.world.centerX, game.world.centerY, text, style);
        t.anchor.set(0.5);
        
        game.load.spritesheet('buttonBeige', 'assets/images/button/beige.png', 190, 47);
        game.load.spritesheet('aiopaTitle', 'assets/images/Aiopa Title.png', 262, 110);
        game.load.image('conquestTitle', 'assets/images/Conquest Title.png');
        
        game.load.image('tile/grass', 'assets/images/tiles/ground/grass.png');
        game.load.image('tile/rock', 'assets/images/tiles/ground/rock.png');
        game.load.image('tile/sand', 'assets/images/tiles/ground/sand.png');
        game.load.image('tile/water', 'assets/images/tiles/ground/water.png');
        game.load.image('tile/forest', 'assets/images/tiles/ground/forest.png');
        
        game.load.image('gui/selector', 'assets/images/gui/selector.png');
        
        game.load.script('webfont', 'src/webfont.js');
	},
  	create: function(){
		this.game.state.start("titleMenu");
	}
}<commit_msg>Added percantage to loading screen<commit_after>var preload = function(game){}

var WebFontConfig = {
    active: function() { 
    	console.log("fonts loaded");
    	},

    google: {
      families: ['Galdeano']
    }
};


preload.prototype = {
	preload: function(){ 
		var text = "Loading Game";
        var style = { font: "65px Arial", fill: "#ffffff", align: "center" };
        var t = game.add.text(game.world.centerX, game.world.centerY, text, style);
        t.anchor.set(0.5);
        
        var style = { font: "30px Arial", fill: "#ffffff", align: "center" };
        this.loadingText = game.add.text(game.world.centerX, game.world.centerY + 60, "0%", style)
        this.loadingText.anchor.set(0.5);
        
        game.load.spritesheet('buttonBeige', 'assets/images/button/beige.png', 190, 47);
        game.load.spritesheet('aiopaTitle', 'assets/images/Aiopa Title.png', 262, 110);
        game.load.image('conquestTitle', 'assets/images/Conquest Title.png');
        
        game.load.image('tile/grass', 'assets/images/tiles/ground/grass.png');
        game.load.image('tile/rock', 'assets/images/tiles/ground/rock.png');
        game.load.image('tile/sand', 'assets/images/tiles/ground/sand.png');
        game.load.image('tile/water', 'assets/images/tiles/ground/water.png');
        game.load.image('tile/forest', 'assets/images/tiles/ground/forest.png');
        
        game.load.image('gui/selector', 'assets/images/gui/selector.png');
        
        game.load.script('webfont', 'src/webfont.js');
	},
  	create: function(){
		this.game.state.start("titleMenu");
	},
	
	loadUpdate: function() {
		// update loading text percent
		this.loadingText.setText(this.load.progress + "%");
	}
}
{'fraction_non_alphanumeric': 0.1789439374185137, 'fraction_numerical': 0.012059973924380704, 'mean_word_length': 2.8946700507614214, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1519249', 'n_tokens_mistral': 1079, 'n_tokens_neox': 1012, 'n_words': 155}