private void init() {

		Pixmap pm = new Pixmap(Gdx.files.internal("images/cursorImage.png"));
		Gdx.input.setCursorImage(pm, 0, 0);
		//		pm.dispose();

		// video ------------------------------------------------
		spriteSheet = new Texture("images/sprites.png");

		flappyBirdFrames = new Sprite[4];
		flappyBirdFrames[0] = new Sprite(new TextureRegion(spriteSheet, 264, 64, 17, 12));
		flappyBirdFrames[1] = new Sprite(new TextureRegion(spriteSheet, 264, 90, 17, 12));
		flappyBirdFrames[2] = new Sprite(new TextureRegion(spriteSheet, 223, 124, 17, 12));
		flappyBirdFrames[3] = flappyBirdFrames[1];

		scoreBig = new Sprite[10];
		int j = 0;
		for(int i = 0; i < scoreBig.length; i++) {
			if(i < 5)
				scoreBig[i] = new Sprite(new TextureRegion(spriteSheet, 329 + 7*i, 140, 7, 10));
			else {
				scoreBig[i] = new Sprite(new TextureRegion(spriteSheet, 329 + 7*j, 150, 7, 10));
				j++;
			}
		}		
		scoreSmall = new Sprite[10];
		j = 0;
		for(int i = 0; i < scoreSmall.length; i++) {
			if(i < 5)
				scoreSmall[i] = new Sprite(new TextureRegion(spriteSheet, 329 + 6*i, 161, 6, 7));
			else {
				scoreSmall[i] = new Sprite(new TextureRegion(spriteSheet, 329 + 6*j, 168, 6, 7));
				j++;
			}
		}

		background = new Sprite(new TextureRegion(spriteSheet, 0, 0, 144, 256));
		tapToPlay = new Sprite(new TextureRegion(spriteSheet, 171, 122, 40, 49));
		menuBanner = new Sprite(new TextureRegion(spriteSheet, 146, 173, 96, 22));
		groundPipe = new Sprite(new TextureRegion(spriteSheet, 330, 0, 26, 121));
		floorPipe = new Sprite(new TextureRegion(spriteSheet, 302, 0, 26, 135));
		ground = new Sprite(new Texture("images/ground.png"));

		gameOverBanner = new Sprite(new TextureRegion(spriteSheet, 146, 199, 94 , 19));
		getReadyBanner = new Sprite(new TextureRegion(spriteSheet, 146, 221, 87, 22));
		scoreBoard = new Sprite(new TextureRegion(spriteSheet, 146, 58, 113, 58));
		menuButton = new Sprite(new TextureRegion(spriteSheet, 246, 118, 40, 14));
		menuButtonHover = new Sprite(new TextureRegion(spriteSheet, 382, 213, 40, 14));
		restartButton = new Sprite(new TextureRegion(spriteSheet, 341, 198, 40, 14));
		restartButtonHover = new Sprite(new TextureRegion(spriteSheet, 341, 213, 40 ,14));
		
		bronzeMedal = new Sprite(new TextureRegion(spriteSheet, 302, 137, 22, 22)); // x, y, w, h
		silverMedal = new Sprite(new TextureRegion(spriteSheet, 266, 229, 22, 22));
		goldMedal = new Sprite(new TextureRegion(spriteSheet, 242, 229, 22, 22));
		platinumMedal = new Sprite(new TextureRegion(spriteSheet, 220, 144, 22, 22));

		// sound ------------------------------------------------
		Jukebox.load("audio/flapSound.wav", "flap");
		Jukebox.load("audio/score.wav", "score");	
		Jukebox.load("audio/gameOverSound.wav", "gameOver");

		// game data --------------------------------------------
		if(gameFileData.saveFileExists()) {
			highScore = Integer.parseInt(gameFileData.load().get(0));
		}
	}