Skip to content

Simple Voxel world engine and Minecraft-like playability made with Cocos Creator v3.8.1 and TypeScript

License

Notifications You must be signed in to change notification settings

feliperyba/cocoscraft

Repository files navigation

[ WIP ] CocosCraft

Voxel World Infinite World

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

TODO:

  • Dig mechanics with dynamic meshes
  • Generate a world using service workers
  • Add more biomes/generator logic

References

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.

About

Simple Voxel world engine and Minecraft-like playability made with Cocos Creator v3.8.1 and TypeScript

Topics

Resources

License

Stars

Watchers

Forks