@Override
	public void show() {	

		sb = new SpriteBatch();		

		flappyBirdAnimation = new SpriteAnimation(FlappyBird.flappyBirdFrames, 1/4f, 17*.01f, 12*.01f, 285, 0);
		flappyBirdAnimation.setPosition(50, Gdx.graphics.getHeight() / 2);

		tapToPlay = FlappyBird.tapToPlay;
		tapToPlay.setSize(40*.01f, 49*.01f);

		background = FlappyBird.background;
		background.setSize(144*.01f, 266*.01f);

		groundPipe = FlappyBird.groundPipe;
		groundPipe.setSize(26*.01f, 121*.01f);

		floorPipe = FlappyBird.floorPipe;
		floorPipe.setSize(26*.01f, 121*.01f);

		ground = FlappyBird.ground;
		ground.setSize(154*.01f, 56*.01f);
		ground.getTexture().setWrap(TextureWrap.Repeat, TextureWrap.Repeat);		
		//		FlappyBird.groundScrollTimer = 0;
		//		FlappyBird.groundScrollSpeed = .3f;		

		scoreBig = FlappyBird.scoreBig;
		for(int i = 0; i < scoreBig.length; i++) 
			scoreBig[i].setSize(7*.01f, 10*.01f);

		scoreSmall = FlappyBird.scoreSmall;
		for(int i = 0; i < scoreSmall.length; i++) 
			scoreSmall[i].setSize(7*.01f, 10*.01f);

		gameOverBanner = FlappyBird.gameOverBanner;
		gameOverBanner.setSize(120*.01f, 25*.01f);
		getReadyBanner = FlappyBird.getReadyBanner;
		getReadyBanner.setSize(120*.01f, 25*.01f);
		scoreBoard = FlappyBird.scoreBoard;
		scoreBoard.setSize(120*.01f, 60*.01f);
		menuButtonImage = FlappyBird.menuButton;
		menuButtonImage.setSize(40*.01f, 20*.01f);
		menuButtonHoverImage = FlappyBird.menuButtonHover;
		menuButtonHoverImage.setSize(40*.01f, 20*.01f);
		restartButtonImage = FlappyBird.restartButton;
		restartButtonImage.setSize(40*.01f, 20*.01f);
		restartButtonHoverImage = FlappyBird.restartButtonHover;
		restartButtonHoverImage.setSize(40*.01f, 20*.01f);	

		highScore = FlappyBird.highScore;
		bronzeSprite = FlappyBird.bronzeMedal;
		bronzeSprite.setSize(24*.01f, 24*.01f);
		silverSprite = FlappyBird.silverMedal;
		silverSprite.setSize(24*.01f, 24*.01f);
		goldSprite = FlappyBird.goldMedal;
		goldSprite.setSize(24*.01f, 24*.01f);
		platinumSprite = FlappyBird.platinumMedal;
		platinumSprite.setSize(24*.01f, 24*.01f);

		// Stage setup
		stage = new Stage();
		Gdx.input.setInputProcessor(stage);

		// buttons
		menubtn = new Button();
		menubtn.setSize(106, 55);
		menubtn.setPosition(70, 215);
		menubtnListener = new MyInputListener();
		menubtn.addListener(menubtnListener);

		restartbtn = new Button();
		restartbtn.setSize(106, 55);
		restartbtn.setPosition(190, 215);
		restartbtnlistener = new MyInputListener();
		restartbtn.addListener(restartbtnlistener);

		// player control
		screenbtn = new Button();
		screenbtn.setSize(Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
		playListener = new MyInputListener();
		screenbtn.addListener(playListener);

		stage.addActor(screenbtn);

		camera = new OrthographicCamera();
		myWorld = new MyWorld();
	}