{"id":20659415,"url":"https://github.com/faaxm/netfight","last_synced_at":"2025-08-24T13:13:26.412Z","repository":{"id":126538636,"uuid":"453667657","full_name":"faaxm/netfight","owner":"faaxm","description":"An amazing multiplayer 2D shooter","archived":false,"fork":false,"pushed_at":"2022-01-30T12:04:42.000Z","size":60,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T11:46:04.975Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faaxm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2022-01-30T11:58:46.000Z","updated_at":"2022-01-30T12:25:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"f568eca2-3930-4dbf-901b-0ac874c74453","html_url":"https://github.com/faaxm/netfight","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faaxm%2Fnetfight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faaxm%2Fnetfight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faaxm%2Fnetfight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faaxm%2Fnetfight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faaxm","download_url":"https://codeload.github.com/faaxm/netfight/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242772295,"owners_count":20182742,"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":[],"created_at":"2024-11-16T18:34:19.331Z","updated_at":"2025-03-10T01:19:51.415Z","avatar_url":"https://github.com/faaxm.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netfight\n\nAn amazing multiplayer 2D shooter... Or at least it could be ;)\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"Netfight Screenshot\" src=\"https://www.f-ax.de/ext_files/netfight_screenshot.png\"\u003e\n\u003c/p\u003e\n\nA very old project that is now up for some modernization...\nOriginally coded this in a week or so while attending a numerical computation seminar at uni,\nfixing the urgent deficit of multiplayer games on the uni's linux terminals... ;-)\n\nThe plan is to get this code to compile on linux and mac, use cmake instead of the\nimprovised make file and eventually cleanup the code a bit and add more stuff.\nAlso, the network code probably doesn't work when running the clients on different platforms.\n\nIf you want to create your own map, you can do so by creating a special svg file\n(e.g. in Inkscape) and then using a perl script to convert it to a `.lvl` file.\n\nGraphics are also converted from svg using a perl script, but this time they are\nconverted to c source code with opengl commands.\n\n## How to run the game\n\nThe game can either be started in server or in client mode. The game cannot run without connecting to a server.\nAlways run the game in the parent of the `data` directory.\n\nTo start a server, use the `-s` command line flag:\n```\n$ ./netfight -s\n```\n\nWithout the `-s` flag, the game will start in client mode and by default connect to `localhost`. Use `-c` to\nconnect to a different host:\n```\n$ ./netfight -c netfight.example.net\n```\n\n## Keys\n\n| Action        | Key                |\n| ------------- | ------------------ |\n| Basic Move    | `Arrows`, `Numpad` |\n| Strafe        | `A`, `S`, `1`, `3` |\n| Shoot         | `Space`            |\n| Change Weapon | `Q`, `7`           |\n| Change Item   | `W`, `9`           |\n| Use Item      | `Shift`            |\n| Show Score    | `Tab`              |\n\n## Requirements\n\n* OpenGL\n* GLFW3\n* Enet","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaaxm%2Fnetfight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaaxm%2Fnetfight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaaxm%2Fnetfight/lists"}