{"id":20426213,"url":"https://github.com/vldr/cubic","last_synced_at":"2025-04-12T19:07:43.115Z","repository":{"id":164966329,"uuid":"637986934","full_name":"vldr/Cubic","owner":"vldr","description":"A multiplayer WebGL voxel sandbox game written in C++ inspired by the classic version of Minecraft.","archived":false,"fork":false,"pushed_at":"2025-02-15T20:11:58.000Z","size":37215,"stargazers_count":13,"open_issues_count":1,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-12T19:07:32.453Z","etag":null,"topics":["cpp","emscripten","minecraft","multiplayer","voxel-engine","webgl"],"latest_commit_sha":null,"homepage":"https://cubic.vldr.org/","language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vldr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-05-08T20:55:28.000Z","updated_at":"2025-02-15T20:05:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb46dbd2-65a8-4bf2-b556-a1f9eca7a4d5","html_url":"https://github.com/vldr/Cubic","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vldr%2FCubic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vldr%2FCubic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vldr%2FCubic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vldr%2FCubic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vldr","download_url":"https://codeload.github.com/vldr/Cubic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248618277,"owners_count":21134200,"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":["cpp","emscripten","minecraft","multiplayer","voxel-engine","webgl"],"created_at":"2024-11-15T07:15:55.505Z","updated_at":"2025-04-12T19:07:43.060Z","avatar_url":"https://github.com/vldr.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cubic\n\n[![](https://i.imgur.com/5tS5i3M.png)](https://cubic.vldr.org/)\n\n---\n\nA multiplayer WebGL voxel sandbox game written in C++, inspired by the classic version of Minecraft.\n\n## Try it out\n\n### Web\nYou can play the game from the web — [cubic.vldr.org](https://cubic.vldr.org/)\n\n### Desktop\n\nAlternatively, you can play the game by downloading the precompiled binaries for your platform:\n\n- [Windows (x64)](https://github.com/vldr/Cubic/releases/download/Build/Cubic_Windows_x64.zip)  \n[Windows (ARM64)](https://github.com/vldr/Cubic/releases/download/Build/Cubic_Windows_ARM64.zip)\n\n  Download and unzip all files, then run the *Cubic.exe* executable.\n  - You may need to install the latest [Visual C++ redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version) for your platform.\n- [MacOS](https://github.com/vldr/Cubic/releases/download/Build/Cubic_MacOS.zip)\n\n  Download and unzip all files, then:\n  * Move *Cubic.app* to the **Applications** folder.\n  * Run the *Cubic.app* application.\n  * Go to **Apple menu \u003e System Settings \u003e Privacy \u0026 Security** and allow *Cubic.app* to run.\n- [Linux (Ubuntu/Debian)](https://github.com/vldr/Cubic/releases/download/Build/Cubic_Linux.zip)\n\n  Download and unzip all files, then in a terminal, run:\n  * `sudo apt update`\n  * `sudo apt install libgl-dev libglew-dev libsdl2-dev`\n  * `chmod +x cubic`\n  * `./cubic`\n- [Android](https://github.com/vldr/Cubic/releases/download/Build/Cubic_Android.zip)\n\n  Download and unzip all files, then install the *Cubic.apk* package:\n\n## Controls\n\n`W` and `S` to move forward and backward.   \n`A` and `D` to move left and right.  \n`V` toggles fly-mode.  \n`E` or `B` opens the build menu.  \n\n## Building\n\n### Web\n\n1. Open a terminal.\n2. Install [Emscripten](https://emscripten.org/docs/getting_started/downloads.html) and [Make](https://www.gnu.org/software/make/manual/make.html).\n3. Navigate to the `build/web/` directory.\n4. Run `make -j`\n\nAfter the build process completes, the output HTML, JS, and WASM files will be located in the `build/web/output/` directory.\n\n### Windows\n\n1. Install [Visual Studio](https://visualstudio.microsoft.com/#vs-section) with the \"Desktop development with C++\" component.\n2. Open `build/windows/Cubic.sln` in Visual Studio.\n3. If needed, upgrade the project's platform toolset to your Visual Studio's available platform toolset.\n4. Select either **x64** or **ARM64** from the build architecture dropdown menu (top-center).\n5. Select either **Debug** or **Release** from the build type dropdown menu (top-center).\n6. Press **F7** or click **Build \u003e Build Solution** to build the project.\n\nAfter the build process completes, the output executable will be located either in `build/windows/x64/Debug` or `build/windows/x64/Release` for x64 debug/release builds, and `build/windows/ARM64/Debug` or `build/windows/ARM64/Release` for ARM64 debug/release builds.\n\n### Linux\n\n1. Open a terminal.\n2. Install [clang](https://clang.llvm.org/) and [Make](https://www.gnu.org/software/make/manual/make.html).\n* On Ubuntu/Debian, run `sudo apt install clang build-essential`\n3. Install [SDL2](https://wiki.libsdl.org/SDL2/Installation#linuxunix) and [GLEW](https://glew.sourceforge.net/install.html) \n* On Ubuntu/Debian, run `sudo apt install libgl-dev libglew-dev libsdl2-dev`\n4. Navigate to the `build/linux/` directory.\n5. Run `make -j`\n\nAfter the build process completes, the output executable will be located in the `build/linux/output/` directory.\n\n### MacOS\n\n1. Install [Xcode Command Line Tools](https://mac.install.guide/commandlinetools/4.html).\n2. Open Terminal. \n3. Navigate to the `build/macos/` directory.\n4. Run `make -j`\n\nAfter the build process completes, the output executable will be located in the `build/macos/output/` directory.\n\n### Android\n\n1. Install [Android Studio](https://developer.android.com/studio).\n2. Open the `build/android/` directory in Android Studio.\n3. Click **Build \u003e Generate Signed Bundle / APK** from the top menu.\n4. Select **APK** and press **Next**.\n5. For the **Key store path** entry, select the `debug.keystore` file located in the `build/android/` directory.\n6. For the **Key store password** entry, enter `android`.\n7. For the **Key alias** entry, enter `androiddebugkey`.\n8. For the **Key password** entry, enter `android` and press **Next**.\n9. Select either `release` or `debug` as the variant and press **Create**.\n\nAfter the build process completes, the output executable will be located either in `build/android/app/debug/` or \n`build/android/app/release/` depending if you've selected a debug or release variant.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvldr%2Fcubic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvldr%2Fcubic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvldr%2Fcubic/lists"}