Skip to content
fr

A WebGL puzzle RPG, engine included

Enigma Cube

Enigma Cube is a WebGL puzzle role-playing game built by Alban Pasquelin with its own Three.js engine: hero, non-player characters and their behaviour, a level editor, a map editor and a bank of 43 3D models.

import { Threejs, WebGL, JavaScript, PHP } from '@/stack'
export function (world: VoxelWorld): Frame {

A world made of cubes where you solve puzzles. The engine, the level editor, the map editor and the 3D models were all built for it.

const world = voxelEngine.generate({ models: 43, npcs, quests })

Making a game teaches what no business application ever will: holding sixty frames a second, managing memory, and designing a tool you use yourself every day.

engine.tick(() => expect(framesPerSecond).toBe(60))
return {
3dModels: 43, /** 3D models **/
targetHeld: '60 fps', /** target held **/
}
}
A world made of cubesThe blocks the game world is made of gather, then scatter — the engine's own geometry.

Projects