Just added stuff, im scared ill get rejected again if I dont commit more often

This commit is contained in:
dvorakmortonxd 2026-10-21 12:01:28 +02:00
commit 0c68367b06
15 changed files with 23 additions and 1 deletions

View file

@ -8,4 +8,4 @@ Java 2D graphics tutorial: https://docs.oracle.com/javase/tutorial/2d/ drawing s
## credits for assets ## credits for assets
Ive used font from [OpenFont Library](https://openfont.org/) (the one called Caveat Brush) Ive used font from [OpenFont Library](https://openfont.org/) (the one called Caveat Brush)
all other assets are made by me, images are made in Krita. all other assets are made by me, images are made in Krita.
while not a direct copy I took inspiration for the plyer sprites from this: https://tnypixels.itch.io/top-down-rpg-character-sprite-walk-idle-animation while not a direct copy I took heavy inspiration for the plyer sprites from this guy: https://tnypixels.itch.io/top-down-rpg-character-sprite-walk-idle-animation

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 417 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

View file

Before

Width:  |  Height:  |  Size: 422 B

After

Width:  |  Height:  |  Size: 422 B

Before After
Before After

View file

@ -49,6 +49,20 @@ public class Game extends JPanel implements ActionListener, KeyListener {
private BufferedImage landingPlatform; private BufferedImage landingPlatform;
private BufferedImage sun; private BufferedImage sun;
// predefines all the player sprites (tabbed because its technically a part of the last comment lol)
private BufferedImage playerForward0;
private BufferedImage playerForward1;
private BufferedImage playerForward2;
private BufferedImage playerBackward0;
private BufferedImage playerBackward1;
private BufferedImage playerBackward2;
private BufferedImage playerLeft0;
private BufferedImage playerLeft1;
private BufferedImage playerLeft2;
private BufferedImage playerRight0;
private BufferedImage playerRight1;
private BufferedImage playerRight2;
private int hoverYOffset = 0; private int hoverYOffset = 0;
private String hoverDirection = "up"; // this makes the cool floating animation on the main menu private String hoverDirection = "up"; // this makes the cool floating animation on the main menu
private int planetX = 450; private int planetX = 450;
@ -110,6 +124,14 @@ public class Game extends JPanel implements ActionListener, KeyListener {
rocketLanding0 = ImageIO.read(new File("assets/rocketLanding0.png")); rocketLanding0 = ImageIO.read(new File("assets/rocketLanding0.png"));
rocketLanding1 = ImageIO.read(new File("assets/rocketLanding1.png")); rocketLanding1 = ImageIO.read(new File("assets/rocketLanding1.png"));
sun = ImageIO.read(new File("assets/sun.png")); sun = ImageIO.read(new File("assets/sun.png"));
playerForward0 = ImageIO.read(new File("assets/player/playerSpriteForward.png"));
playerForward1 = ImageIO.read(new File("assets/player/playerSpriteForwardWalk0.png"));
playerForward2 = ImageIO.read(new File("assets/player/playerSpriteForwardWalk1.png"));
playerBackward0 = ImageIO.read(new File("assets/player/playerSpriteBackward.png"));
playerBackward1 = ImageIO.read(new File("assets/player/playerSpriteBackwardWalk0.png"));
playerBackward2 = ImageIO.read(new File("assets/player/playerSpriteBackwardWalk1.png"));
// player0 = ImageIO.read(new File("assets/player/playerSprite.png"));
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }