}
public void render_1st_layer(Graphics g)
{
/* background */
g.setColor(new Color(0, 0, 95));
g.fillRect(0, 0, Game.getAppX(), Game.getAppY()); //sky
sky.draw((int)(0-(float)30/Game.getAppX()*GameplayState.player.getX()),0); //stars
/* land */
g.setColor(new Color(70,92,10));
g.fillRect(0, GameplayState.ground_level+27, Game.getAppX(), 18); //layer top
g.setColor(new Color(100,125,14));
g.fillRect(0, GameplayState.ground_level+9, Game.getAppX(), 18); //layer mid
g.setColor(new Color(115,160,15));
g.fillRect(0, GameplayState.ground_level-9, Game.getAppX(), 18); //layer low
int loop[] = {0,0}; //[0] for layer, [1] for tree offset
while (loop[0] < 3)
{
if (loop[0] == 1)