Skip to content

pardoner/my2dgame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

2D Treasure Hunt Game

Welcome to the 2D Treasure Hunt Game! This is a simple 2D video game developed using Java in the Eclipse IDE. In this game, your objective is to find the hidden treasure chest as quickly as possible. Use the arrow keys to navigate the game world and seek the treasure.

Project Overview

This project is a basic 2D game where players explore a grid-based world to locate a treasure chest. Developed using Java, the game utilizes the Eclipse IDE for development and features graphics sourced from Spriter's Resource.

Features

Grid-Based Navigation: Move around the game world using keyboard controls.

Treasure Hunt Objective: Find the treasure chest as quickly as possible.

Simple Graphics: Visuals created using sprites from Spriter's Resource.

Setup and Installation

To play the game, you can download the JAR file from this Google Drive link: https://drive.google.com/file/d/15wJLnIMt-5F4Gt23sXMOV0m4XVNJCdJN/view?usp=sharing.

Alternatively, to get started with the 2D Treasure Hunt Game, follow these steps:

Clone the Repository:

sh Copy code git clone https://github.com/yourusername/2d-treasure-hunt-game.git Open Eclipse IDE:

Launch Eclipse and select your workspace. Import the Project:

Go to File > Import... > Existing Projects into Workspace. Browse to the directory where you cloned the repository and select it. Click Finish. Build the Project:

Right-click on the project in the Project Explorer. Select Run As > Java Application. Run the Game:

The game should now start running. Enjoy hunting for treasure!

Controls

Use the following keys to navigate in the game:

A: Move Left S: Move Down W: Move Up D: Move Right

Visuals

The game's graphics are sourced from Spriter's Resource. You can find various sprites used in the game under the resources directory within the project. Additional images and sounds were created by Ryi Snow.

Gameplay

Objective: Your goal is to find the treasure chest hidden somewhere in the game world. Time Challenge: Try to find the treasure as quickly as possible to achieve a high score.

Contributing

If you want to contribute to this project, follow these steps:

Fork the Repository

Create a Branch:

sh

Copy code

git checkout -b feature/your-feature

Commit Your Changes:

sh

Copy code

git commit -am 'Add some feature'

Push to the Branch:

sh

Copy code

git push origin feature/your-feature

Open a Pull Request

Please make sure your code follows the project's coding standards and includes relevant tests.

Contributors

Dylan Wicker

:octocat: GitHub 🔗 LinkedIn

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages