MobileCraft
A minecraft clone iOS project transplant from MacOS C++ version based on modern OpenGL completed in ZJU computer graphics course.
Install / Use
/learn @Clapeysron/MobileCraftREADME
Mobliecraft

Mobliecraft is a learning-OpenGL iOS project completed in ZJU computer graphics course.
Transplant from my MacOS Version Mycraft.
It's a Minecraft clone with lighting effects based on GLKit on iOS use Objective-C & C++ and build with XCode.


Features
Render
- Original block textures from Minecraft
- Corner shadow to simulate SSAO effect
- Point light with smooth diffusion from Torch / Glowstone
- Time pass effect with Gradient sky & Starry sky
- Animation when break a block / Highlight when choose a block
- Transparent / translucent block like water / glass
- Simple gravity engine for on-the-ground and below-water
- Jitter perspective to simulate running effect
- Underwater visual effects
- Fog effect for blocks far away
Data
- Infinite random map generation use perlin noise
- Trees / Flowers / Grass / Cloud / Lake random generation
- Visible face culling and frustum culling for faster rendering
- Closed space testing and neighboring visible chunks culling
- Corner shadow / Point light effect generate and update
- Adjustable game settings in
src/game_settings.h - Map storage not done yet :(
Build
Run
Just use the recent XCode and click run to get the game started
Game Controls
- Move fingers on screen to change perspective
- Virtual joystick to move
- Tap the screen to place block and press to destroy
- Switch blocks by ← & → arrows
- Change all game settings in
src/game_settings.h
Architecture Design

Reference
Tribute to best Minecraft.
Modern OpenGL example codes from learnopengl and learnopengl-cn (Perfect chinese version :)
Skybox texture & Steve model sources from Craft.
Screenshots
Original Textures

Sunset

Point Light

In-water Point Light

Underwater Visual Effects

Fog

Breaking Animation

Related Skills
node-connect
338.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
338.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.6kCommit, push, and open a PR
