For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tower of Madness

Timed platforming through changing tower sections, with asset preloading and a skippable camera tour of the level.

Tower of Madness preview

A timed platforming game where players race to reach the top.

Project information

Maintained by: Decentraland DAO

View source

License: Not identified in this catalog. Consult the upstream repository and maintainer for applicable terms before reuse.

Explore the code

These links point to a specific source snapshot so the explanations remain useful as upstream development continues. They are learning references, not a security assessment.

Preload the pieces of a changing level

setupChunkPreload deduplicates the chunk asset paths and creates temporary GLTF entities. A system watches their loading states, removes entities after loading completes or fails, and unregisters itself when none remain.

Project context: This illustrates managing a preload lifecycle; the asset list comes from shared/chunks and is specific to the tower.

Source references:

Build a skippable camera tour around changing geometry

playCinematic adjusts camera keyframes around the current start and end chunks, then selects a virtual camera. The update system interpolates position and look-at targets and supports holding a button to skip.

Project context: Follow the chunk lookup helpers and skipCinematic to see how the tour finds its anchors and returns control to the player camera.

Source references:

Last updated