- Download and install the latest version of Java from the official website.
- Download and install Eclipse from the official website.
- You can follow this helpful tutorial which explains how to use the Eclipse IDE for Java development.
- Clone this repository to your local machine using
git clone git@github.com:BolaGhaly/2D-Game.git
. - Open Eclipse and import the project by going to
File > Import > General > Existing Projects into Workspace
. - Pick the
Select root directory
option and browse and select this repository's folder from your local machine, and then click onFinish
. - Run the game by right-clicking on the project or
src > CharacterSelect.java
and selectingRun As > Java Application
. Enjoy! 😄
- Selecting a character:
- Dialogue with NPC:
- Pausing and unpausing the game:
- Attacked to death by enemy NPCs + "Game Over!" screen:
- Killing all enemy NPCs + "Victory!" screen:
GIFs were created with LICEcap.