{"id":20271928,"url":"https://github.com/hoangsonww/Space-Invader-Game-JavaFX","last_synced_at":"2025-05-07T16:33:13.081Z","repository":{"id":189597034,"uuid":"619358102","full_name":"hoangsonww/Space-Invader-Game-JavaFX","owner":"hoangsonww","description":"👾 Embark on an exhilarating journey with SpaceInvader, a thrilling experience as you navigate through cosmic challenges and face off against alien invaders. Crafted with JavaFX, SpaceInvader combines stunning visuals and engaging gameplay to create a truly immersive experience.","archived":false,"fork":false,"pushed_at":"2025-04-09T18:13:33.000Z","size":23882,"stargazers_count":23,"open_issues_count":0,"forks_count":12,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-04-11T04:34:11.654Z","etag":null,"topics":["game","game-development","gamedev","java","javafx","javascript","space-invaders","space-shooter","space-shooter-game"],"latest_commit_sha":null,"homepage":"https://hoangsonww.github.io/Space-Invader-Game-JavaFX/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hoangsonww.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-03-27T01:21:30.000Z","updated_at":"2025-03-23T04:49:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f9f8253-d571-45e9-a5ed-08b61a5048ca","html_url":"https://github.com/hoangsonww/Space-Invader-Game-JavaFX","commit_stats":null,"previous_names":["hoangsonww/space-invader-game","hoangsonww/space-invader-game-javafx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangsonww%2FSpace-Invader-Game-JavaFX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangsonww%2FSpace-Invader-Game-JavaFX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangsonww%2FSpace-Invader-Game-JavaFX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangsonww%2FSpace-Invader-Game-JavaFX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoangsonww","download_url":"https://codeload.github.com/hoangsonww/Space-Invader-Game-JavaFX/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252915600,"owners_count":21824605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game","game-development","gamedev","java","javafx","javascript","space-invaders","space-shooter","space-shooter-game"],"created_at":"2024-11-14T12:40:03.457Z","updated_at":"2025-05-07T16:33:08.071Z","avatar_url":"https://github.com/hoangsonww.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Space Shooter Game JavaFX\n\n## Overview\nSpace Shooter is a simple, lightweight but engaging JavaFX-based game where players navigate a spaceship, avoiding enemies and obstacles while trying to achieve the highest score possible. The game incorporates features such as enemy spawn logic, collision detection, power-ups, and a scoring system, showcasing the capabilities of JavaFX in creating interactive 2D games.\n\n## User Interface\n\n### Start Screen\n\n\u003cp align=\"center\" style=\"cursor: pointer\"\u003e\n    \u003cimg src=\"start.png\" alt=\"The WeatherMate App Interface\" width=\"100%\"/\u003e\n\u003c/p\u003e\n\n### Gameplay\n\n\u003cp align=\"center\" style=\"cursor: pointer\"\u003e\n    \u003cimg src=\"gameplay.png\" alt=\"The WeatherMate App Interface\" width=\"100%\"/\u003e\n\u003c/p\u003e\n\n### Losing Screen\n\n\u003cp align=\"center\" style=\"cursor: pointer\"\u003e\n    \u003cimg src=\"losing.png\" alt=\"The WeatherMate App Interface\" width=\"100%\"/\u003e\n\u003c/p\u003e\n\n## Features\n- Control a spaceship using keyboard inputs (A, W, S, D, or arrow keys) to move and SPACE to shoot.\n- Enemies and boss enemies spawn at intervals, increasing the game's difficulty.\n- Collect power-ups to boost your abilities.\n- Score tracking and display, with the game increasing in difficulty as your score rises.\n- Lives system where players lose a life if an enemy reaches the bottom of the screen or collides with the player's spaceship.\n- Reset mechanism to start over once all lives are lost.\n\n## Prerequisites\n- JDK 11 or higher.\n- JavaFX SDK (version compatible with your JDK).\n\n## Setup and Installation\n1. **JavaFX SDK**: Download the JavaFX SDK from [OpenJFX](https://openjfx.io/) and extract it to a known directory.\n2. **Clone the Repository**: Use `git clone \u003crepository-url\u003e` to clone this repository to your local machine.\n\n## Configuration\nEnsure JavaFX is correctly set up in your development environment:\n- **IntelliJ IDEA**:\n    1. Go to `File` \u003e `Project Structure` \u003e `Libraries`, add the JavaFX SDK as a library by navigating to its `lib` folder.\n    2. Modify your run configuration to include VM options for the JavaFX modules you use, e.g., `--module-path \"path/to/javafx-sdk/lib\" --add-modules javafx.controls,javafx.fxml,javafx.media`.\n\n- **Eclipse**:\n    1. Add the JavaFX SDK as an external JAR to your project's build path.\n    2. Adjust the run configurations to include the necessary VM arguments, as shown above for IntelliJ.\n\n## Running the Application\nCompile and run the `SpaceShooter.java` file. Ensure the VM options are set correctly to include the JavaFX library path and modules.\n\n## How to Play\n- Use the A, W, S, D keys or arrow keys to move the spaceship.\n- Press SPACE to shoot at enemies.\n- Avoid letting enemies reach the bottom of the screen or colliding with them.\n- Collect power-ups to enhance your capabilities and increase your score.\n- The game ends when all lives are lost, but you can start over by resetting the game.\n\n## Contributing\nContributions to the Space Shooter game are welcome! Please fork the repository, make your changes, and submit a pull request with your improvements.\n\n## License\nThis project is licensed under the Creative Commons License.\n\n---\n\nCreated with ❤️ by [Son Nguyen](https://github.com/hoangsonww) in 2024.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoangsonww%2FSpace-Invader-Game-JavaFX","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoangsonww%2FSpace-Invader-Game-JavaFX","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoangsonww%2FSpace-Invader-Game-JavaFX/lists"}