I forgot I left level = 3 in previous commit for debugging

This commit is contained in:
Martin Dvořák 2026-10-22 01:51:24 +02:00
commit 686e0814f6
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ plugins {
}
group = "dev.dvorakmortonxd"
version = "0.0.1a"
version = "0.0.2a"
repositories {
mavenCentral()

View file

@ -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