Skip to content

This repository contains a 2D platform, jump and run game developed as part of a Software Engineering course at the University of Potsdam.

Notifications You must be signed in to change notification settings

moritzvii/planet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MilenaundMoritz

Overview

Planet Hopper is a 2D platformer game where players jump between platforms, collect coins, and aim for the highest score. The game offers different difficulty levels and allows players to choose between various characters.

Features

Character Selection: Choose from multiple characters with different animations.

Difficulty Modes: Adjust gameplay difficulty to match your skill level.

Platform Generation: Randomized platform placement for a dynamic experience.

Coin Collection: Collect coins to increase your score.

Highscore System: Track and save high scores using a CSV-based leaderboard.

Intuitive Controls: Simple spacebar-based jumping with double-jump functionality.

Note for Eclipse Users

Some Eclipse versions may not automatically recognize the test/ folder as a source folder. If this happens, you need to manually mark it as a source folder:

  1. Right-click on the test/ folder in the Eclipse Project Explorer.

  2. Select Build Path → Use as Source Folder.

  3. Ensure that the test files are now correctly recognized.

Installation

cd existing_repo
git remote add origin https://gitup.uni-potsdam.de/mbueren/milenaundmoritz.git
git branch -M main
git push -uf origin main

Controls

  • SPACE ➡️ Jump

  • DOUBLE SPACE ➡️ Double Jump

Authors

Moritz von Büren

Milena Stammer

Project Structure

├── src
│   ├── main
│   │   ├── java
│   │   │   ├── BaseWindow.java
│   │   │   ├── ButtonFactory.java
│   │   │   ├── Coin.java
│   │   │   ├── Difficulty.java
│   │   │   ├── FontUtil.java
│   │   │   ├── Game.java
│   │   │   ├── GameOverScreen.java
│   │   │   ├── Highscores.java
│   │   │   ├── Instructions.java
│   │   │   ├── MainMenu.java
│   │   │   ├── Platform.java
│   │   │   ├── Player.java
│   │   │   ├── StartScreen.java
│   │   ├── resources
│   │   │   ├── blue/
│   │   │   ├── fonts/ 
│   │   │   ├── game/
│   │   │   ├── gold/
│   │   │   ├── white/
│   │   │   ├── SoloAssets
│   │   test
│   │   ├── java
│   │   │   ├── addPlayerBlackTest.java
│   │   │   ├── addScoreWhiteTest.java
│   │   │   ├── getUserHighscoreBlackTest.java
│   │   ├── resources
│   │ 
└── README.md

Screenshots

Starscreen Mainmenu Highscores Instructions Gameplay

About

This repository contains a 2D platform, jump and run game developed as part of a Software Engineering course at the University of Potsdam.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages