Vex - Stick Figure Platformer Game

Seele01-Flash
By
Vex is a challenging stick figure platformer game where players navigate through dangerous obstacles including spikes, pools, and deadly falls. This free online game features checkpoints and simple WASD controls for an accessible yet challenging gaming experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Vex: Mobile Edition**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Aesthetic. Use 3D geometries but lock gameplay to the X-Y plane. The visual style should mimic the clean, vector-art style of the original Vex but with Three.js depth. * **Color Palette**: High contrast is essential. * **Background**: White or very light grey (`#f0f0f0`) with faint, floating geometric shapes (diamonds/triangles) in pastel colors for parallax depth. * **Platforms**: Solid dark grey (`#333333`) rectangular blocks (`BoxGeometry`). * **Hazards (Spikes)**: Bright red (`#ff0000`) cones (`ConeGeometry`) placed on platform edges. * **Water**: Semi-transparent blue (`#00aaff`, opacity 0.6) blocks. * **Player**: A 3D Stickman constructed from thin black Cylinders (limbs) and a Sphere (head). It should have basic articulation/animation for running and jumping. * **Mobile Optimization**: * Use `InstancedMesh` for repeating environmental elements like spikes and platform blocks to reduce draw calls. * Implement a simple shadow blob (simple plane geometry with a radial gradient texture) under the character instead of expensive real-time shadows. * Camera: Orthographic Camera to maintain the precision platforming feel, tracking the player smoothly on the X/Y axis. ### 2. Audio Requirements * **BGM**: A fast-paced, looping Drum & Bass or upbeat Techno track to induce a state of "flow" and focus. * **Sound Effects (SFX)**: * **Jump**: A quick, swooshing "whoosh" air sound. * **Land**: A soft thud when hitting the ground. * **Death (Spike)**: A sharp "crunch" or distinct "static noise" cut-off to signal failure immediately. * **Checkpoint**: A positive, high-pitched electronic chime. * **UI**: subtle clicks for button presses. ### 3. Gameplay Loop * **Core Mechanics**: Precision platforming. The player controls the stickman to traverse from the start point to the green exit portal. * **Physics**: * Implement custom AABB (Axis-Aligned Bounding Box) collision detection for tight control (avoid floaty physics). * **Wall Jump**: If the player is in the air and touching a wall, pressing Jump triggers a wall jump (diagonal force). * **Sliding**: Holding "Down" while moving runs makes the hitbox smaller to slide under obstacles. * **Hazards**: * **Spikes**: Instant death upon contact. Respawns player at the last active Checkpoint. * **Water**: Slows down movement physics; prolonged stay results in drowning (reset). * **Falling**: Falling below the map Y-threshold triggers a reset. * **Checkpoints**: Flagpoles that turn green when passed. Store the player's X/Y position for respawning. ### 4. Mobile Controls & Interaction * **Control Scheme (Touch-First)**: * **Left Zone**: An invisible or semi-transparent horizontal slider/joystick area for movement (Left/Right). * **Right Zone**: * **Large Button (Bottom Right)**: Jump (Tap to jump, hold for higher jump). * **Smaller Button (Next to Jump)**: Crouch/Slide. * **Input Handling**: * Implement **"Coyote Time"**: Allow the player to jump for a few frames *after* running off a ledge (crucial for mobile touch latency). * Implement **"Jump Buffering"**: If the player taps jump slightly before hitting the ground, execute the jump immediately upon landing. * **Feedback**: * **Haptics**: Trigger `navigator.vibrate(200)` upon death/collision with spikes. * **Visual**: Buttons should scale down slightly and increase opacity when pressed. * **Orientation**: Force Landscape mode logic (resize canvas to fit width/height dynamically). UI elements must remain anchored to screen corners (safe area). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Vex is an exciting stick figure platformer that combines puzzle-solving with action-packed gameplay. This free online game challenges players to guide their stick figure character through increasingly difficult levels filled with deadly obstacles. With a rating of 3.6/5 from thousands of players, Vex has established itself as a beloved classic in the platformer genre.

The game's minimalist stick figure art style doesn't compromise on excitement - every level is carefully designed to test your reflexes, timing, and problem-solving skills. Whether you're a casual gamer looking for a quick challenge or a hardcore platformer fan seeking your next addiction, Vex delivers an engaging experience that keeps you coming back for more.

Core Features

Challenging Obstacle-Based Gameplay

Vex presents players with a variety of deadly hazards that require precise movement and timing: - Deadly Spikes : Sharp obstacles that instantly eliminate your character upon contact - Dangerous Pools : Water hazards that pose swimming challenges and potential drowning risks - Treacherous Falls : Platforms and gaps that test your jumping precision - Moving Obstacles : Dynamic challenges that require perfect timing to overcome

Checkpoint System

One of Vex's most player-friendly features is its comprehensive checkpoint system. Strategically placed throughout each level, checkpoints ensure that even the most challenging sections remain enjoyable rather than frustrating. When you inevitably meet your demise (and you will!), you'll respawn at the nearest checkpoint, allowing you to focus on mastering specific obstacle sequences.

Minimalist Art Style

The stick figure aesthetic serves both form and function. The simple black-and-white character design ensures clear visibility against colorful backgrounds, while the minimalist approach keeps the focus on pure gameplay mechanics rather than visual distractions.

Free Browser-Based Gaming

Vex requires no downloads, installations, or accounts. Simply open your web browser and start playing immediately. The game runs smoothly on most modern browsers and devices, making it accessible to players worldwide.

Game Mechanics

Vex operates on precision platforming principles where every movement counts. Players must carefully time their jumps, slides, and movements to avoid the numerous hazards scattered throughout each level. The game rewards patience and practice, with each failed attempt teaching valuable lessons about obstacle timing and character physics.

The difficulty curve is expertly crafted, starting with basic jumping challenges and gradually introducing more complex obstacle combinations. Advanced levels feature intricate sequences that require memorization and near-perfect execution.

Operation Guide

Basic Controls

  • WASD Keys : Primary movement controls
  • W: Jump/Move Up
  • A: Move Left
  • S: Crouch/Move Down (when applicable)
  • D: Move Right
  • Arrow Keys : Alternative control scheme
  • Up Arrow: Jump/Move Up
  • Left Arrow: Move Left
  • Down Arrow: Crouch/Move Down
  • Right Arrow: Move Right

Advanced Techniques

  • Wall Jumping : Use walls to reach higher platforms by timing jumps against vertical surfaces
  • Slide Timing : Learn to slide under low obstacles while maintaining momentum
  • Checkpoint Strategy : Use checkpoints to practice difficult sections repeatedly
  • Patience : Take time to observe obstacle patterns before attempting to pass

Survival Tips

  • Study each obstacle before attempting to overcome it
  • Use the checkpoint system to your advantage - don't rush
  • Practice difficult sections multiple times to build muscle memory
  • Pay attention to visual cues that indicate safe and dangerous areas

Why Play Vex

Perfect for Quick Gaming Sessions

Vex's level-based structure makes it ideal for both short gaming breaks and extended play sessions. Each level can typically be completed in a few minutes once mastered, making it perfect for workplace breaks, commutes, or any time you need a quick gaming fix.

Develops Gaming Skills

The precise controls and timing requirements help develop hand-eye coordination, reaction speed, and spatial reasoning. These skills transfer well to other platformer games and action titles.

Stress Relief Through Challenge

While Vex can be challenging, the satisfaction of overcoming a difficult section provides excellent stress relief. The game's checkpoint system ensures that frustration never builds to overwhelming levels.

Nostalgic Gaming Experience

Vex captures the essence of classic platformer games while adding modern quality-of-life improvements. It's perfect for players who appreciate retro gaming aesthetics with contemporary design sensibilities.

Completely Free Entertainment

With no hidden costs, in-app purchases, or premium content, Vex provides hours of entertainment without any financial commitment.

Frequently Asked Questions (FAQ)