Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.62 KB

File metadata and controls

52 lines (35 loc) · 1.62 KB

Geometry Dash

Geometry Dash Logo

Introduction

Welcome to Geometry Dash, an exciting Java game developed using the Swing library. In this thrilling adventure, you control a nimble cube, navigating through a challenging terrain filled with spikes, all while striving to achieve the highest score.

Getting Started

Prerequisites

  • Ensure that Java is installed on your machine.
  • Download and install IntelliJ IDEA or VSCode to run this game seamlessly.

Installation

  1. Navigate to the project folder:

    cd GeometryDash
  2. Run the game:

    javac src/Main.java
    java src.Main

How to Play?

  • Jump: Press the Spacebar or click to make the cube jump.
  • Avoid Spikes: Navigate through the game, avoiding spikes to stay alive.
  • Reset Game: Press R to reset the game.

Customization

  • Graphics: Customize the game visuals by replacing images in the images folder.
  • Scripts: Explore and modify game mechanics in the src folder.
  • Audio: Adjust volume levels and sounds in the sounds folder.

Files

Explore the key files in the src folder:

  • Main.java: The main class to run the game.
  • GeometryDash.java: The main class representing the Geometry Dash game.
  • Cube.java: Class representing the player's cube.
  • Actor.java: Class for in-game actors, such as spikes.
  • ZRect.java: Class for a simple rectangle used in the Cube class.
  • Sound.java: Class representing in-game sounds.

Have an exhilarating time playing Geometry Dash!