Fork of the Cube 3D shooter, as it had better game play than Cube 2 / Sauerbraten.
- Objective-C 98.7%
- Meson 0.7%
- CMake 0.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| documentation | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| CMakeLists.txt | ||
| meson.build | ||
| README.gmi | ||
Cube
This is a fork of the Cube game engine, ported to Objective-C using ObjFW.Unfortunately, the asset files are not under a free license and cannot be redistributed, so this fork does not come with them and you need to bring them yourself.
License
Copyright (C) 2001-2005 Wouter van Oortmerssen (the original Cube source).Copyright (C) 2024-2026 Jonathan Schleifer (the forked Cube source).
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
- The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
- Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
- This notice may not be removed or altered from any source distribution.
License Notes
The license covers the source code found in the "src" directory of this archive, the included enet network library which Cube uses is covered by an MIT-style license, which is however compatible with the above license for all practical purposes.Game media included in the Cube game (maps, textures, sounds, models etc.) are not covered by this license, and may have individual copyrights and distribution restrictions (see individual readmes).
Building Cube
Cube can be built either with Meson or with CMake:Meson:
$ meson setup build $ meson compile -C build $ ./build/src/client
CMake:
$ cmake -B build $ make -C build $ ./build/src/client
The following dependencies need to be installed:
- ObjFW >= 1.5
- SDL2
- SDL2_image
- SDL2_mixer
- ZLIB
- enet
Contributing
Contributions are very welcome - just create a pull request:🌐 Create PR
Please follow the AI policy for all contributions:
👉 AI policy