Skip to content

This is a simple 2D java game developed using eclipse IDE and little brain, I made this game as a free time project while learning SWINGS and AWT in JAVA. I have included comments and useful links within the code for help. This is a simple game with concept of 2 player fighting, one player standing on left side and other player on right side Fac…

Abhi5h3k/Java-project-2D-game-Fight-Zone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔥2D Java Game🔥

Abhishek LinkedIn Abhishek StackOverflow

2D Java game by Abhishek Bhardwaj

This is a simple 2D java game developed using eclipse IDE and little brain, I made this game as a free time project while learning SWINGS and AWT in JAVA. I have included comments and useful links within the code for help.

Game starts with concept of 2 player dual shooting bullets on each-other, one player standing on left side and other player on right side Facing each-other.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

steps to download project from github to eclipse

1.Go to repository and click on clone or download, Then Download Zip. 2.Locate the downloaded Zip and extract to the prject directory where you want to keep the project.

  1. open Eclipse and follow the steps to import the project:
  • File> open projects from file system >
  • Import projects from File system or Archive window will appear

  • click on directory button and import the source (path to the folder extracted after downloadint the Zip)

check project is selected and hit Finish

Now you will see roject in the project explorer window.

Prerequisites

For Devlopment : Eclipse Java JDK For Running : Java JRE

Built With

Player controls:

Player one keys (Left side player) W,A,S,D for UP,LEFT,DOWN,RIGHT and key 'B' for shoot

and for player Two navigate using Arrow keys and Shoot using numpad key '2'.

Authors

License

This project is opensource, Kindly maintain the proper credits for author and contributers.

Acknowledgments

This is my first game and I would like to share it. Anyone is free to make upgrade to the game like adding stages and improving UI . Kindly maintain the credits page and add your credits too.

I'm not getting time to continue this project so I'm Leaving this project opensource In hope someday this dumb game may get some good ending.I will keep updating the project whenever I get time.

Few changes that can be made are:

  1. Improvement to scoreboard UI as It is very basic.
  2. Better UI in player selection, Menu can be designed like in CounterStrike game player selection.
  3. Controls page can be added.
  4. Further stages can be added.
  5. Few sound effects can be added like bullet miss close to the head of opponent.
  6. Bonus powers and bullets like "Contra" can be added.
  7. graphics and player skins can be added.

About

This is a simple 2D java game developed using eclipse IDE and little brain, I made this game as a free time project while learning SWINGS and AWT in JAVA. I have included comments and useful links within the code for help. This is a simple game with concept of 2 player fighting, one player standing on left side and other player on right side Fac…

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages