Giter Site home page Giter Site logo

hoangsonww / javafx-space-shooter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kailielexx/space-shooter-game

5.0 6.0 3.0 331 KB

Contributing to @kailielexx's JavaFX Space Shooter Game project with GUI enhancements and feature additions.

Home Page: https://hoangsonww.github.io/javafx-space-shooter/

Java 100.00%
gui-application java javafx space space-invaders space-invaders-clone space-invaders-game space-shooter space-shooter-game space-shooting-game user-interface

javafx-space-shooter's Introduction

Space Shooter Game in JavaFX

Overview

Space Shooter is a thrilling arcade-style game developed using JavaFX, where players navigate a spaceship through a galaxy filled with enemies and obstacles. The objective is to survive as long as possible while destroying enemy ships and dodging incoming fire to achieve the highest score.

Features

  • Dynamic Enemies: Encounter various types of enemy ships with different behaviors and attack patterns.
  • Power-ups: Collect power-ups to enhance your spaceship with better weapons and shields.
  • Score System: Earn points by destroying enemies and advancing through levels.
  • Difficulty Levels: The game offers multiple difficulty levels to challenge both beginners and seasoned players.
  • Customizable Controls: Players can customize their control scheme to suit their playstyle.

Prerequisites

To run this game, you'll need to have the following installed:

  • Java Development Kit (JDK) version 8 or higher
  • JavaFX SDK (compatible with your JDK version)

Ensure that your JAVA_HOME environment variable is set to your JDK installation path.

Installation and Running the Game

Step 1: Clone the Repository

Step 2: Compile the Source Code

javac -cp "path/to/javafx-sdk/lib/*" src/*.java -d bin

Step 3: Run the Game

java --module-path "path/to/javafx-sdk/lib" --add-modules javafx.controls,javafx.fxml -cp bin Main

Replace "path/to/javafx-sdk/lib" with the actual path to your JavaFX SDK libraries.

Dependencies

  • JavaFX: Used for creating the graphical interface and animations.
  • JDK: The Java Development Kit is required for compiling and running the Java application.

Contributing

Contributions to the Space Shooter game are welcome! Whether it involves fixing bugs, adding new features, or improving documentation, your help is appreciated. Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -am 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • Special thanks to JavaFX for providing the graphical framework.
  • Appreciation for all contributors and players who have supported this project.

javafx-space-shooter's People

Contributors

hoangsonww avatar kailielexx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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