Rotate - Gravity Manipulation Puzzle Game

Seele01-Flash
By
Rotate is a challenging gravity-defying puzzle platformer where you control both your character and the entire game world. Navigate through spike-filled mazes by rotating reality itself in this deceptively difficult brain teaser.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Rotate - Gravity Puzzle Platformer**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A 2.5D minimalist aesthetic that mimics the original 2D pixel art. Use an **OrthographicCamera** to maintain a flat, puzzle-like perspective without perspective distortion. * **Color Palette:** Strictly monochromatic/grayscale to match the reference. * **Background:** Dark grey (#222222). * **Walls/Floors:** Bright white or light grey cubes (#EEEEEE) with black outlines (EdgesGeometry) to define the grid. * **Hazards (Spikes):** Dark grey or black triangular prisms or cones (#444444). * **Player:** A simple black capsule or box geometry (#000000) with a distinct "front" face to show direction. * **Goal:** A rectangular "Door" geometry with a glowing emission effect. * **Effects:** When the world rotates, add a slight motion blur or trail effect if performance allows. * **Optimization:** Use InstancedMesh for the wall blocks and spikes to ensure 60fps performance on mobile devices. ### 2. Audio Requirements * **BGM:** A pensive, ambient electronic track. Think "Lo-fi logic puzzle" music—calm but slightly mysterious. * **Sound Effects (SFX):** * **Rotation:** A heavy, mechanical "thud" or "whoosh" sound when the world rotates 90 degrees. * **Jump:** A short, retro 8-bit square wave sound. * **Land:** A soft thud when the player hits the ground. * **Death:** A static "crunch" or white noise burst when touching spikes. * **Level Complete:** A high-pitched, positive chime. ### 3. Gameplay Loop * **Core Mechanic:** The player navigates a maze to reach the exit door. The unique twist is **World Rotation**. * **Physics:** * Gravity always pulls "down" relative to the screen. * However, the user can rotate the entire level geometry (the maze) 90 degrees clockwise or counter-clockwise. * When the level rotates, walls become floors, and floors become walls. The player is affected by the new gravity alignment immediately. * **Hazards:** Stationary spikes. Touching them results in an instant "Game Over" and level reset. * **Win Condition:** Collision with the Door object loads the next level or shows a "Victory" UI. ### 4. Mobile Controls & Interaction * **Control Scheme (Touch-First):** * **Left Side of Screen:** Two large, semi-transparent arrow buttons for **Move Left** and **Move Right**. * **Right Side of Screen:** * One large button for **Jump**. * Two smaller buttons above the jump button labeled "?" (CW) and "?" (CCW) to trigger the world rotation. * **Responsiveness:** * Input must be instant. * World rotation should have a smooth animation (approx 0.3s-0.5s duration) via TWEEN or simple interpolation, blocking input during the spin to prevent physics glitches. * **Feedback:** * Trigger `navigator.vibrate(50)` on death. * Slight camera shake when the world slams into its new 90-degree position. * **Orientation:** Force **Landscape Mode** instructions (or CSS rotation) to ensure the puzzle fits the screen width appropriately. ### 5. Implementation Note * Please use `cannon-es` or a simple custom AABB physics engine for collision detection, as standard Three.js doesn't handle platformer physics out of the box. Ensure the physics world gravity vector updates (or the level mesh rotates) correctly. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Rotate is a deceptively difficult puzzle platformer that challenges players to think beyond traditional game mechanics. This innovative brain game combines classic platforming with gravity manipulation, creating a unique gaming experience where you must control both your character and the entire labyrinth environment to succeed.

The game features a minimalist pixel art style with clean black and white graphics that keep your focus on the challenging puzzles ahead. Each level presents increasingly complex mazes filled with deadly spikes and environmental hazards that require precise timing and strategic thinking to overcome.

Core Features

Revolutionary Gravity Mechanics

Rotate introduces a groundbreaking gameplay mechanic where players can rotate the entire game world. This isn't just a gimmick – it's the core puzzle-solving tool that transforms simple platforming into complex three-dimensional thinking challenges.

Progressive Difficulty System

The game starts with simple rotation puzzles but quickly evolves into mind-bending challenges that will test even experienced puzzle game veterans. Each level builds upon previous mechanics while introducing new obstacles and rotation-based solutions.

Minimalist Design Philosophy

The clean, pixelated aesthetic ensures that visual complexity never interferes with puzzle-solving. Every element serves a purpose, from spike placement to platform positioning, creating a pure puzzle experience without distractions.

Free Browser Gaming

  • Complete Free Access : Play the entire game without any payment or registration
  • Cross-Platform Compatibility : Works perfectly on desktop computers, tablets, and mobile devices
  • Instant Play : No downloads or installations required – start playing immediately
  • Responsive Controls : Optimized for both keyboard and touch controls

Gameplay Mechanics

Character Movement

Control your pixel character through traditional platformer movement – run, jump, and navigate through maze-like levels. However, the real challenge comes from coordinating character movement with world rotation.

World Rotation System

The game's signature mechanic allows you to rotate the entire level 90 degrees in either direction. This rotation affects gravity, causing objects, spikes, and your character to fall in new directions, opening previously impossible paths.

Environmental Hazards

Each level is filled with strategically placed spikes and traps that become more dangerous as gravity shifts. What might be a safe platform in one orientation could become a deadly trap when the world rotates.

Operation Guide

Mastering Rotate requires understanding both movement and rotation mechanics:

  • Arrow Keys : Move your character left, right, and navigate through platforms
  • Space Bar : Jump over gaps and obstacles – timing is crucial when gravity shifts
  • Q Key : Rotate the entire world counterclockwise by 90 degrees
  • E Key : Rotate the world clockwise by 90 degrees

Strategic Tips

  1. Plan Ahead : Visualize how rotation will affect both your character and environmental elements
  2. Timing is Key : Some puzzles require precise timing between movement and rotation
  3. Use Gravity : Let rotated gravity help move your character through complex passages
  4. Study Spike Patterns : Understanding how spikes move during rotation is crucial for survival

Why Play Rotate

Mental Stimulation

Rotate provides excellent brain training through spatial reasoning challenges. The game improves problem-solving skills, spatial awareness, and strategic planning abilities.

Unique Gaming Experience

Few games successfully implement world rotation mechanics as elegantly as Rotate. The concept is simple to understand but creates incredibly complex and satisfying puzzle solutions.

Perfect for All Skill Levels

While the game becomes genuinely challenging, the progression system ensures that beginners can learn the mechanics gradually while experts will find plenty of difficult content to master.

Stress-Free Gaming

With no time limits, lives system, or punishment for failure, Rotate allows players to experiment freely and learn through trial and error. The focus remains on puzzle-solving rather than reflexes or pressure.

Accessible Anywhere

As a browser-based game, Rotate is perfect for quick gaming sessions during breaks, commutes, or whenever you need a mental challenge. The game saves progress automatically, so you can continue where you left off.

Frequently Asked Questions (FAQ)