AioCraft is a first-person game built with the Three.js library. It uses GPU instancing to render a scene composed of voxels (cubes) which are randomly generated from a Perlin noise function. The collision and gravity are handled using the native ray tracing Three.js module.

Code available at github.com/valentecaio/aiocraft.

Controls
WASDWalk
SpaceJump
Mouse
Camera control
Mouse Left Click
Break cubes
RFPS show on/off
FGravity on/off
Up/DownTeleport vertically
Left/RightIncrease/decrease movement speed
EscQuit game / unlock mouse pointer

Leave a comment

Log in with itch.io to leave a comment.