Simple Voxel world engine and Minecraft-like playability made with Cocos Creator v3.8.1 and TypeScript
- Generates only the visible vertices together with collision and normals for the mesh
- Biome generator with customizable layers and configurations
- Octave Perlin noise together with domain warping for more natural landscapes
- Infinite world chunk generation based on observer position
- Basic implementation of FPS controller using CharacterController API
- Dig mechanics with dynamic meshes
- Generate a world using service workers
- Add more biomes/generator logic
Many parts of this logic was based on 2 available references on the topic, which greatly guided me to develop this solution with Cocos and to fill up my knowledge gaps regarding world generation algorithms. Thanks to them, I was able to share this code with you.