<commit_before>package revert.MainScene;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;

import revert.Entities.Player;
import revert.util.JsonBricksManager;

import com.kgp.core.AssetsManager;
import com.kgp.core.GameController;
import com.kgp.core.GameFrame;
import com.kgp.core.GamePanel;
import com.kgp.core.GameState;
import com.kgp.imaging.ImagesLoader;
import com.kgp.level.BricksManager;
import com.kgp.level.RibbonsManager;

/**
 * Based heavily on <NAME>'s JackPanel, this scene is the core manager
 * for the game. It extends the abstracted GamePanel, and can be switched out
 * with other game panels for different experiences.
 * 
 * In this game, Revert, you play as Royer, as detective in the early 1800s, who
 * after having worked on a case for 8 years, has started to see things changing
 * with the world. Upon talking with others, it appears he may be the only one
 * who has a memory of how things used to be.
 * 
 * Creatures of the shadows start to rise up and terrorize him wherever he goes
 * as the world begins to devolve into a state of madness. Some chase him and
 * attack him while others just bother him with their existance. The
 * shadow-beings take a toll on his willpower, so he does what he can to
 * eradicate them.
 * 
 * As he cleanses the world of these creatures, everything starts to revert back
 * to normal, and people's memories return.
 * 
 * In his struggles he has come to realize that the creatures are weak to 3
 * different kinds of attacks, all corresponding to their personality. He has
 * crafted a full arsenal of ammo for him to use when necessary. Use this
 * knowledge and power and restore the world to its rightful state once more.
 * 
 * @author nhydock
 **/

public class Scene extends GamePanel {
	private static final long serialVersionUID = -588578363027322258L;

	private static final int PWIDTH = 1280; // size of panel
	private static final int PHEIGHT = 720;

	private Player player; // the sprites
	private Crosshair crosshair;

	// to display the title/help screen
	private BufferedImage helpIm;
	private BufferedImage titleIm;

	private float zoom = 1.0f;

	private RibbonsManager parallaxBg;
	private RibbonsManager parallaxFg;

	World world;

	// display of in-game stats
	HUD hud;

	public Scene(GameFrame parent) {
		super(parent);

		// set up message font
		msgsFont = new Font("SansSerif", Font.BOLD, 24);
		metrics = this.getFontMetrics(msgsFont);

		setPreferredSize(new Dimension(PWIDTH, PHEIGHT));
	}
<commit_msg>Decrease screen size, 720p isn't necessary for a game like this<commit_after>package revert.MainScene;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;

import revert.Entities.Player;
import revert.util.JsonBricksManager;

import com.kgp.core.AssetsManager;
import com.kgp.core.GameController;
import com.kgp.core.GameFrame;
import com.kgp.core.GamePanel;
import com.kgp.core.GameState;
import com.kgp.imaging.ImagesLoader;
import com.kgp.level.BricksManager;
import com.kgp.level.RibbonsManager;

/**
 * Based heavily on <NAME>'s JackPanel, this scene is the core manager
 * for the game. It extends the abstracted GamePanel, and can be switched out
 * with other game panels for different experiences.
 * 
 * In this game, Revert, you play as Royer, as detective in the early 1800s, who
 * after having worked on a case for 8 years, has started to see things changing
 * with the world. Upon talking with others, it appears he may be the only one
 * who has a memory of how things used to be.
 * 
 * Creatures of the shadows start to rise up and terrorize him wherever he goes
 * as the world begins to devolve into a state of madness. Some chase him and
 * attack him while others just bother him with their existance. The
 * shadow-beings take a toll on his willpower, so he does what he can to
 * eradicate them.
 * 
 * As he cleanses the world of these creatures, everything starts to revert back
 * to normal, and people's memories return.
 * 
 * In his struggles he has come to realize that the creatures are weak to 3
 * different kinds of attacks, all corresponding to their personality. He has
 * crafted a full arsenal of ammo for him to use when necessary. Use this
 * knowledge and power and restore the world to its rightful state once more.
 * 
 * @author nhydock
 **/

public class Scene extends GamePanel {
	private static final long serialVersionUID = -588578363027322258L;

	private static final int PWIDTH = 1024; // size of panel
	private static final int PHEIGHT = 600;

	private Player player; // the sprites
	private Crosshair crosshair;

	// to display the title/help screen
	private BufferedImage helpIm;
	private BufferedImage titleIm;

	private float zoom = 1.0f;

	private RibbonsManager parallaxBg;
	private RibbonsManager parallaxFg;

	World world;

	// display of in-game stats
	HUD hud;

	public Scene(GameFrame parent) {
		super(parent);

		// set up message font
		msgsFont = new Font("SansSerif", Font.BOLD, 24);
		metrics = this.getFontMetrics(msgsFont);

		setPreferredSize(new Dimension(PWIDTH, PHEIGHT));
	}

{'fraction_non_alphanumeric': 0.06956201693043798, 'fraction_numerical': 0.013801987486198012, 'mean_word_length': 4.122525918944392, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1341211', 'n_tokens_mistral': 1708, 'n_tokens_neox': 1568, 'n_words': 680}