GithubHelp home page GithubHelp logo

abhi5h3k / java-project-2d-game-fight-zone Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 3.0 12.28 MB

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 Facing each-other. Player one keys (Left side player) are WASD for UP,LEFT,DOWN,RIGHT and key 'B' for shoot and for player Two navigate using Arrow keys and Shoot using numpad key '2'. This is my first game and I would like to share it. Anyone is free to make changer to the game like adding stages and improving UI . Kindly maintain the credits page and add your credits too.

Shell 0.08% Batchfile 0.10% HTML 67.68% CSS 0.08% Java 32.06%
java swings awt game-development eclipse opensource project multithreading 2d-game abhi5h3k

java-project-2d-game-fight-zone's Introduction

🔥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.

java-project-2d-game-fight-zone's People

Contributors

abhi5h3k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.