From 686e0814f6f9392b004ef636aef0d32919b853a0 Mon Sep 17 00:00:00 2001 From: dvorakmortonxd Date: Thu, 22 Oct 2026 01:51:24 +0200 Subject: [PATCH] I forgot I left level = 3 in previous commit for debugging --- build.gradle.kts | 2 +- src/main/java/dev/dvorakmortonxd/Game.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index e773016..e946794 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,7 @@ plugins { } group = "dev.dvorakmortonxd" -version = "0.0.1a" +version = "0.0.2a" repositories { mavenCentral() diff --git a/src/main/java/dev/dvorakmortonxd/Game.java b/src/main/java/dev/dvorakmortonxd/Game.java index c822272..5bc27ae 100644 --- a/src/main/java/dev/dvorakmortonxd/Game.java +++ b/src/main/java/dev/dvorakmortonxd/Game.java @@ -60,7 +60,7 @@ public class Game extends JPanel implements ActionListener { /* defines the level which is used to determine what exactly shows (for example main menu is level 1), levelProgress which is only used for the animation from level 1 to level 2 and fadeAnimation which is also used for the animation from level 1 to level 2 */ - public int level = 3; + public int level = 1; public boolean levelProgress = false; // this is used to make the transition from the Game menu to the game level look cool public int fadeAnimation = 0; @@ -117,7 +117,7 @@ public class Game extends JPanel implements ActionListener { public int playerWalkingModifier = 5; public boolean playerOnFeet = true; public boolean playerJumped = false; - public boolean playerActive = true; + public boolean playerActive = false; // Starts update.java which is basically a class that contains all the stuff that happens every tick @Override public void actionPerformed(ActionEvent e) { // update step