{"id":15650720,"url":"https://github.com/qhdwight/voxelfield","last_synced_at":"2025-08-23T17:49:10.245Z","repository":{"id":112484532,"uuid":"226586331","full_name":"qhdwight/voxelfield","owner":"qhdwight","description":"Server authoritative multiplayer shooter game with fully destructible terrain I wrote in highschool during the Pandemic","archived":false,"fork":false,"pushed_at":"2024-06-11T02:53:30.000Z","size":97026,"stargazers_count":47,"open_issues_count":0,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T02:21:57.593Z","etag":null,"topics":["game","game-development","marching-cubes","multiplayer","unity","voxel"],"latest_commit_sha":null,"homepage":"http://www.voxelfield.com/","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/qhdwight.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-12-07T22:53:49.000Z","updated_at":"2025-01-25T05:04:15.000Z","dependencies_parsed_at":"2024-06-11T04:24:57.283Z","dependency_job_id":null,"html_url":"https://github.com/qhdwight/voxelfield","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/qhdwight%2Fvoxelfield","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qhdwight%2Fvoxelfield/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qhdwight%2Fvoxelfield/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qhdwight%2Fvoxelfield/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qhdwight","download_url":"https://codeload.github.com/qhdwight/voxelfield/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248886328,"owners_count":21177644,"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","marching-cubes","multiplayer","unity","voxel"],"created_at":"2024-10-03T12:35:37.390Z","updated_at":"2025-04-14T13:13:00.026Z","avatar_url":"https://github.com/qhdwight.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Voxelfield\r\n\r\nVoxelfield is a multiplayer shooter game where the terrain is completely destructible.\r\n\r\nVideo: https://youtu.be/m-gB7DvBCo4\r\nItch.io: https://shaweewoo.itch.io/voxelfield\r\n\r\n![Screenshot 1](screenshot_1.jpg)\r\n![Screenshot 2](screenshot_2.jpg)\r\n\r\n\r\n### Development\r\n\r\n- Clone this repository and run `git submodule update --init --recursive`\r\n- Open in Unity, all packages should resolve automatically\r\n- To build use the Menu item Build/(Type and Arch Here)\r\n- Steam authentication is turned on by default, to disable execute `authenticate_steam false` in console (open with `~`)\r\n\r\n### Technical details\r\n- Written in C# using the Unity game engine and LiteNetLib networking library\r\n- Authoritative network model supporting 16 players with 120 packets per second\r\n- Custom hybrid ECS system to ensure determinism\r\n- Integration with AWS GameLift, authentication with Steam API, stat tracking with AWS DynamoDB\r\n\r\nThis is by far my biggest project, `cloc` output (counts lines of code):\r\n\r\n```\r\n-------------------------------------------------------------------------------\r\nLanguage                     files          blank        comment           code\r\n-------------------------------------------------------------------------------\r\nC#                             218           3221           4791          19558\r\n-------------------------------------------------------------------------------\r\n```\r\n\r\n### Code Layout\r\nModularity is achieved using Unity packages and assembly definitions\r\n\r\nVoxelfield Specific Scripts:\r\n- [Voxels](Assets/Scripts/Voxels)\r\n  - [Chunk](Assets/Scripts/Voxels/Chunk.cs)\r\n  - [ChunkManager](Assets/Scripts/Voxels/ChunkManager.cs)\r\n  - [MapManager](Assets/Scripts/Voxels/Map/MapManager.cs)\r\n  - [Rendering](Assets/Scripts/Voxels/VoxelRenderer.cs)\r\n- [Voxelfield](Assets/Scripts/Voxelfield)\r\n  - [Components](Assets/Scripts/Voxelfield/Session/Components.cs)\r\n\r\nFPS General Packages:\r\n- [Session](Packages/Swihoni.Sessions) - Modifying the game, clients, servers\r\n  - [Server](Packages/Swihoni.Sessions/Runtime/Server.cs)\r\n  - [Client](Packages/Swihoni.Sessions/Runtime/Client.cs)\r\n  - [Client Prediction](Packages/Swihoni.Sessions/Runtime/ClientPrediction.cs)\r\n  - [Common Session Components](Packages/Swihoni.Sessions/Runtime/Components/SessionComponents.cs)\r\n  - [Common Player Components](Packages/Swihoni.Sessions/Runtime/Player/Components/PlayerComponents.cs)\r\n- [Component](Packages/Swihoni.Components) - Defining game data\r\n- [LiteNetLib](Packages/LiteNetLib) - Forked networking library by [RevenantX](https://github.com/RevenantX/LiteNetLib)\r\n\r\n\r\n\r\n### Gamemodes\r\n- CTF (Capture the Flag)\r\n- Secure Area\r\n- Deathmatch\r\n\r\n### Weapons\r\n- Rifle\r\n- Deagle\r\n- Sniper\r\n- Grenade Launcher\r\n  - Missile Launcher\r\n- Sand Bomb\r\n- C4\r\n- Grenade\r\n- Molotov\r\n- Shotgun\r\n- Pickaxe\r\n- Pistol\r\n- SMG\r\n- Impact Grenade\r\n- Boomstick\r\n- Flashbang\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqhdwight%2Fvoxelfield","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqhdwight%2Fvoxelfield","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqhdwight%2Fvoxelfield/lists"}