{"id":18472907,"url":"https://github.com/oshan96/openfighting","last_synced_at":"2025-04-08T11:33:01.917Z","repository":{"id":61604816,"uuid":"182439514","full_name":"Oshan96/OpenFighting","owner":"Oshan96","description":"Simple 2D combat game using Java OpenGL (JOGL)","archived":false,"fork":false,"pushed_at":"2019-10-29T12:33:44.000Z","size":286,"stargazers_count":26,"open_issues_count":1,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T12:24:05.375Z","etag":null,"topics":["2d-game","fighting","fighting-game","game","game-development","java-game-development","jogl","opengl"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Oshan96.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}},"created_at":"2019-04-20T18:11:26.000Z","updated_at":"2025-01-03T20:12:14.000Z","dependencies_parsed_at":"2022-10-19T23:30:38.407Z","dependency_job_id":null,"html_url":"https://github.com/Oshan96/OpenFighting","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oshan96%2FOpenFighting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oshan96%2FOpenFighting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oshan96%2FOpenFighting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oshan96%2FOpenFighting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oshan96","download_url":"https://codeload.github.com/Oshan96/OpenFighting/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247834340,"owners_count":21003952,"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":["2d-game","fighting","fighting-game","game","game-development","java-game-development","jogl","opengl"],"created_at":"2024-11-06T10:22:59.055Z","updated_at":"2025-04-08T11:33:01.591Z","avatar_url":"https://github.com/Oshan96.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Open Fighting\n\n## Introduction\n“Open Fighting” is a simple, pixel art 2D game created using OpenGL’s java wrapper, JOGL. The game is on 2-player mode (to be played using the same keyboard – ‘90s style).  \nThere are currently 2 players designed for the game, \n\n| Kree | Bee |\n|:---:|:----:|\n|![Kree](https://i.imgur.com/ZlhHFvd.png) | ![Bee](https://i.imgur.com/0L5O2hd.png) |\n\nThe game will go on until either player gets his health to zero\n\n## Configurations\n\nNo additional configurations are needed to be done except for, \n1. Make sure JDK version 1.8 or higher is installed (or download JDK8 from [here](https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)) \n2. Make sure Maven is installed (otherwise, download Maven from [here](https://maven.apache.org/download.cgi)) \n\n### Building from source\n\nOpen Fighting is built using Maven framework to automate dependency management. So the steps to building the game from source are as following,  \n\n1. Open a command prompt/terminal\n2. Navigate to the “OpenFighting” source directory\n3. Run the following commands :\n```mvn clean package```\n4. Let maven download all the dependencies and create an executable jar file \n\n### Executing from IDE \n\n1. Open the source code from your favourite IDE and (after downloading dependencies via Maven) execute the “Main” class \n\n### Executing jar file\n\n1. Navigate to “target” directory and double click on the “open-fighting-1.0-jar-withdependencies.jar” file to start the game or run the following command to execute the jar file through terminal :  \n```java -jar open-fighting-1.0-jar-with-dependencies.jar ```\n2. Alternatively, download the executable jar file from [releases](https://github.com/Oshan96/OpenFighting/releases) and execute in the same manner or by just double clicking. \n\n## How to play\n\n**_Keep shooting at your opponent using your power-up until his health reaches zero! Also, do not forget to dodge the opponent’s shots by moving around!_**\n\nGame can be played using the same keyboard for both players, for the keys have been mapped separately (hard-coded) for the two players. \n\nThe game’s current implementation allows the players to move around the map (upwards, downwards, forwards and backwards) and use their unique power-up. \n \nFor the two players, the currently mapped keys are as following : \n\n| | Kree | Bee | \n|:---|:---:|:---:|\n|Move Up | W | Up arrow|\n|Move Down | S | Down arrow|\n|Move Front | D | Left arrow|\n|Move Back | A | Right arrow|\n|Special Power | F | Enter |\n\n## Gameplay\n\nFollowing is a demonstration of a live gameplay of OpenFighting\n\n![gameplay](https://i.imgur.com/d4Xsu8b.gif)\n\n## Credits\n\n### Resources\n\n**All credits go to the original authors of the resource files I have used in creation of OpenFighting, who and which are mentioned below :**\n\n|Resource|Type|Author|License|\n|---|---|---|---|\n|[Cyberpunk background](https://ansimuz.itch.io/cyberpunk-street-environment) | Texture (background) | [ansimuz](https://ansimuz.itch.io/)| Free|\n|[Kree](https://assetbakery.itch.io/2d-fighter-3) |Spritesheet | [Asset Bakery](https://assetbakery.itch.io)| Free |\n|[Bee](https://assetbakery.itch.io/2d-fighter-4) | Spritesheet| [Asset Bakery](https://assetbakery.itch.io)| Free |\n| [Joystick Font](https://fontmeme.com/fonts/joystix-font/) | Font | [Typodermic Fonts](http://www.typodermicfonts.com/) | Free |\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foshan96%2Fopenfighting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foshan96%2Fopenfighting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foshan96%2Fopenfighting/lists"}