Yet another Minecraft-like game powered by ARKit.
You will spawn deep under the ground and sealed all sides by thick minerals. Dig around as you walk around in real life, and connect with other players to build a giant cave network in your neighborhood.
The game logic at the time of writing simulates the Minecraft Alpha version and allows player to:
- Dig blocks and store them in inventory;
- Place them wherever.
Development was pending for the "Collaborative Sessions" feature in ARKit3 and will be restarting soon.
The game world is pretty much equivalent to Minecraft: 3D grids filled with blocks. Meshing is done with the "Greedy Meshing" algorithm (reference) and the block distribution with good old Perlin noise.
Blocks are stored in Minecraft-like "Chunk" format and rendered only if visible to player for optimization. Chunks are also used to serialize the blocks for recovery, in conjunction with ARKit relocalization (persistence) feature.
Block surface textures are packed in a single texture file and the shader will read from the specific part of the texture per block type, to minize draw calls.
Dependency to third-party libraries inludes: