Candy Jump
🎨 Chromatic Gating and Rotational Physics
Candy Jump (conceptually similar to Color Switch) operates on a strict rule of Chromatic Exclusion. The player controls a projectile (the candy) affected by gravity. It can only pass through physical barriers that share its current hexadecimal color value. If the colors mismatch (e.g., Red Candy vs. Yellow Wall), the collision collider is "Solid" and results in failure. If they match, the collider is "Trigger" (permeable).
The difficulty lies in the rotating obstacles. Circles, crosses, and lines rotate at varying angular velocities. The player must calculate the intersection of three variables: the candy's gravity arc, the obstacle's rotation speed, and the color window's position.
🧠 Impulse Control & Stroop Effect
This game is a rigorous test of inhibitory control:
- The Wait-State: Unlike runners where you must always move, here you must often hover (tap repeatedly) in place, waiting for the correct color alignment. This requires patience vs. the urge to progress.
- Color Confusion: Rapidly changing colors can trigger a mild Stroop Effect, where the brain hesitates to process the new rule set (e.g., "I was just Blue, now I am Pink, so I must avoid Blue").
🎮 Mechanics: The Hover
The physics of staying alive:
- Tap-to-Flap: Each tap applies a vertical force vector. Gravity applies a constant downward force. Tapping rhythmically creates a "hover" state.
- Color Switchers: Orbs that change your candy's color. These are mandatory checkpoints. Hitting one instantly invalidates your previous safe zones.
- Double Rings: Complex obstacles with inner and outer rings rotating in opposite directions. These require two distinct timed movements to traverse.
🏆 Precision Strategy
1. The "Bottom Hover"
When waiting for a ring to align, hover in the bottom 20% of the screen (or the safe zone). Do not hover near the obstacle. Gravity accelerates you down faster than you can tap up. If you hover too high and panic, you will hit the obstacle above you.
2. Burst Movement
Do not float slowly through an obstacle. Once the path is clear, tap rapidly to "burst" through the danger zone. Minimize the time your hitbox spends inside the rotating mechanism.
🛡️ Technical Implementation
Engine notes:
- Collision Detection: Uses overlapping circular colliders. The precision is high; clipping a pixel of the wrong color triggers the Game Over state.
❓ FAQ
Are the levels random?
In Endless mode, the sequence of obstacles is procedurally generated. In Challenge mode, patterns are fixed.
Does the candy change shape?
You can unlock different skins (stars, cubes), but the hitbox remains roughly circular for consistency.