TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/mbeckham4-hub/Rudi-Foodi/llms.txt
Use this file to discover all available pages before exploring further.
levelThemes array in the game source defines the visual identity of every level. Each entry specifies five hex colors — floor, wall, sky, wood, and dark — plus a map type string and a sun boolean that together drive the entire Three.js scene setup for that world. The table and color palette below are extracted directly from the source and are the canonical reference for modders and contributors.
Full Level Reference
The
sun column indicates whether THREE.DirectionalLight is active for that level. ☀️ means directional sunlight is enabled; 🌑 means the scene uses hemisphere light only, producing darker, moodier visuals.| Level | Name | Map Type | Sun |
|---|---|---|---|
| 1 | Clean Bedroom | house | ☀️ |
| 2 | Blue Maze | maze | ☀️ |
| 3 | Lava Islands | islands | 🌑 |
| 4 | Neon City | city | 🌑 |
| 5 | Grass Hills | hills | ☀️ |
| 6 | Snow Fort | fort | ☀️ |
| 7 | Gold Temple | temple | ☀️ |
| 8 | Void Platforms | platforms | 🌑 |
| 9 | Candy Forest | candy | ☀️ |
| 10 | Tech Factory | factory | 🌑 |
| 11 | Moon Yard | craters | 🌑 |
| 12 | Pirate Deck | ship | ☀️ |
| 13 | Crystal Cave | crystal | 🌑 |
| 14 | Kitchen Chaos | kitchen | ☀️ |
| 15 | Arcade Grid | arcade | 🌑 |
| 16 | Jungle Blocks | jungle | ☀️ |
| 17 | Desert Bones | desert | ☀️ |
| 18 | Cloud Steps | clouds | ☀️ |
| 19 | Basement Pipes | pipes | 🌑 |
| 20 | Final Dog Park | park | ☀️ |
Color Palettes
The JSON block below is the completelevelThemes array copied verbatim from the game source. All hex values are expressed as JavaScript numeric literals (e.g. 0xc9c2b8). When adding a new level, follow this schema exactly — the scene builder reads these fields by name.
Music Themes
The game ships with 10 music themes that repeat across all 20 levels. LevelN uses music theme index (N − 1) % 10, so every level shares its soundtrack with the level exactly 10 places ahead of it.
Each theme drives four Web Audio API oscillators simultaneously: a bass oscillator, two pad oscillators, and a square-wave melody oscillator. The chords array cycles the bass/pad frequencies on a recurring interval, while the melody array steps through 8 notes at the theme’s speed (in milliseconds per step).
| Level | Music Theme Index | Paired With |
|---|---|---|
| 1 | 0 | Level 11 |
| 2 | 1 | Level 12 |
| 3 | 2 | Level 13 |
| 4 | 3 | Level 14 |
| 5 | 4 | Level 15 |
| 6 | 5 | Level 16 |
| 7 | 6 | Level 17 |
| 8 | 7 | Level 18 |
| 9 | 8 | Level 19 |
| 10 | 9 | Level 20 |
During Zoomies mode the melody step interval is multiplied by
0.48 (data.speed * 0.48), shrinking it to 48% of its normal duration and making notes play roughly 2× faster — giving the music a frantic, chaotic energy that matches Rudi’s turbo sprint. The chord oscillators continue cycling at their normal rate.