Skip to content

Commit 171c7a3

Browse files
committed
README + Control Change
1 parent a0b3702 commit 171c7a3

2 files changed

Lines changed: 36 additions & 4 deletions

File tree

README.md

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1-
hello world.
2-
hello world 2.
3-
Test 3
1+
# Amusement Park
2+
3+
AmusementPark is a simple 2D amusement park simulator inspired by games like RollerCoaster Tycoon and SimThemePark. The game features a minimalistic 2D pixel art style, and mechanics such as NPC pathfinding are rudimentary. The game was programmed using the LibGDX Java Game Engine, but it relies minimally on engine components, with elements like the entity system being entirely custom-built. I primarily used this small project to enhance my programming skills and experiment with new programming paradigms.
4+
5+
## How to Compile
6+
7+
To compile you only need to have JDK11+ installed. Then run the gradlew script:
8+
```
9+
./gradlew desktop:dist
10+
```
11+
This will generate an executable .jar file in ./desktop/build/libs.
12+
13+
The last successful compile I did was with JDK15. I've had problems with JDK18 once so if you have problems you might want to try another version of Java.
14+
15+
## Controls
16+
17+
Taste | Funktion
18+
--|--
19+
WASD | Move Camera
20+
CTRL + Mouse Wheel | Zoom In/Out
21+
Mouse Wheel | Select building
22+
Left click | Build selected building
23+
Right click | Unselect Building
24+
Tab | Toggle Debug View
25+
T | Spawn mechanic
26+
R | Despawn mechanic
27+
G | Spawn cleaner
28+
F | Despawn cleaner
29+
ESC | Exit
30+
F11 | Toggle Fullscreen
31+
32+
## How to get started
33+
34+
At the top centre is the entrance to your park. Connect its middle tile with a path so that your visitors and staff can navigate through the park. Place litter bins at regular intervals along the paths. You can then add shops and rides to the paths. The entrance to the rides is always the bottom left tile. Visitors regularly express their needs in thought bubbles. Make sure you maintain a positive atmosphere in your park. You earn money when visitors make a purchase or use a ride.
35+

core/src/com/mygdx/game/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public void render () {
8383
Gdx.app.exit();
8484
}
8585

86-
if (Gdx.input.isKeyJustPressed(Input.Keys.SPACE)){
86+
if (Gdx.input.isKeyJustPressed(Input.Keys.F11)){
8787
boolean fullScreen = Gdx.graphics.isFullscreen();
8888
Graphics.DisplayMode currentMode = Gdx.graphics.getDisplayMode();
8989
if (fullScreen)

0 commit comments

Comments
 (0)