Sides of Gravity - Gravity-Flipping Puzzle Platformer

Seele01-Flash
By
Sides of Gravity is an innovative puzzle platformer that revolutionizes traditional platform gaming by allowing players to flip gravity in four directions. Master the art of thinking in multiple dimensions across 24 challenging levels.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Sides of Gravity**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Extremely minimalist, geometric aesthetic inspired by flat vector art but rendered in 3D. Use an **Orthographic Camera** to maintain the puzzle-logic perspective without perspective distortion. * **Color Palette:** Use the colors from the reference image: Dark Slate Blue background (`#2C3E50`), Vibrant Orange for platforms/obstacles (`#F39C12`), Dark Navy for "empty" or danger zones, and White for directional indicators/player. * **Models:** * **Player:** A simple, high-contrast white Cube with a small trail renderer for movement clarity. * **Level Geometry:** Construct levels using basic `BoxGeometry`. Platforms should look "solid" but clean. * **Goal:** A pulsating, glowing green zone or portal to indicate the level exit. * **Mobile Optimization:** Use `MeshLambertMaterial` for performance (avoid expensive PBR materials). Keep the scene poly-count low. Use a single directional light source + ambient light to ensure shapes are readable on small screens. ### 2. Audio Requirements * **BGM:** A calm, cerebral, ambient synthesizer track ("Thinking Music"). It should loop seamlessly and not be distracting. * **Sound Effects (SFX):** * **Gravity Switch:** A "woosh" or digital "warp" sound when the world rotates. * **Jump:** A short, snappy 8-bit jump sound. * **Landing:** A soft "thud" or click when the player touches a surface. * **Win:** A harmonious major-chord chime when reaching the goal. ### 3. Gameplay Loop * **Core Mechanic - The Gravity Flip:** The unique hook is that gravity is relative. When the player walks off a ledge (an edge of a platform), instead of falling into a pit, the **entire world (or camera) rotates 90 degrees**. The wall they were walking towards becomes the new floor. * **Objective:** Navigate the player through a maze of blocks to reach the Exit Portal. * **Controls:** The player can move Left/Right and Jump. * **Physics Logic:** Use a simplified AABB physics engine. Gravity always pulls "down" relative to the screen. When the player crosses a specific threshold (edge), trigger a smooth 90-degree rotation animation of the Level Group. * **Win Condition:** Collision with the Goal object loads the next level configuration. ### 4. Mobile Controls & Interaction * **Screen Orientation:** Forced **Landscape Mode** for better platforming visibility. * **Touch Controls (HTML/CSS Overlay):** * **Left Zone:** Two large, semi-transparent buttons (Arrows) for Left and Right movement. * **Right Zone:** A single large button for Jump. * **Responsiveness:** Buttons must support Multi-touch (e.g., holding Right while tapping Jump). * **Visual Feedback:** Buttons should light up or scale down slightly when pressed (`touchstart`). * **Haptic Feedback:** Trigger `window.navigator.vibrate(50)` on jump and gravity flip events to give the player tactile confirmation of actions. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Sides of Gravity is a revolutionary puzzle platformer that completely reimagines how platform games work. This brain-teasing adventure challenges players to think beyond traditional gaming mechanics by introducing a unique gravity-flipping system that transforms walls into platforms and creates entirely new pathways through creative dimensional thinking.

The game features 24 carefully crafted levels, each designed to test your spatial reasoning and problem-solving skills. What makes this puzzle game truly special is its innovative approach to navigation - by simply walking off an edge, you can flip gravity in any of four directions, essentially giving each level four different dimensional perspectives.

Core Features

Revolutionary Gravity Mechanics

The core innovation of Sides of Gravity lies in its gravity manipulation system. Unlike traditional platformers where you're confined to moving left, right, and jumping up, this game lets you redefine which direction is "down." Walk off any edge, and gravity flips in that direction, instantly transforming your perspective of the entire level.

Mind-Bending Level Design

Each of the 24 levels is meticulously designed to take advantage of the four-dimensional gameplay. What appears impossible from one gravity orientation becomes achievable from another. Distant platforms suddenly become accessible, and seemingly blocked paths open up when you shift your gravitational perspective.

Progressive Difficulty

The game starts with simple gravity-flipping concepts and gradually introduces more complex puzzles that require multiple gravity changes and strategic thinking. Advanced levels challenge players to plan several moves ahead, considering how each gravity flip will affect the entire level layout.

Built-in Hint System

Stuck on a particularly challenging puzzle? The game includes a helpful hint system that provides guidance without giving away the complete solution, ensuring you maintain the satisfaction of solving puzzles yourself while getting the assistance you need.

Gameplay Mechanics

The beauty of Sides of Gravity lies in its elegant simplicity. The concept is easy to understand but creates incredibly complex and satisfying puzzle scenarios. Each level presents a unique challenge that requires you to visualize the level from multiple gravitational perspectives simultaneously.

The game encourages experimental thinking and spatial visualization. Players must consider not just where they want to go, but from which gravitational orientation that destination becomes reachable. This creates a unique problem-solving experience that exercises both logical thinking and spatial intelligence.

Operation Guide

Controls are intentionally simple to keep focus on the puzzle-solving:

  • Movement : Use A and D keys or Left/Right arrow keys to move horizontally
  • Jumping : Press W, Up arrow key, or Spacebar to jump
  • Gravity Flip : Walk off any edge to flip gravity in that direction

The intuitive control scheme ensures that players can quickly master the mechanics and focus on solving the increasingly complex spatial puzzles.

Why Play This Game

Sides of Gravity offers a completely unique gaming experience that stands apart from traditional puzzle games. It's perfect for players who enjoy:

  • Mental Challenges : Exercise your spatial reasoning and problem-solving skills
  • Innovation : Experience a truly original take on platform gaming mechanics
  • Progressive Learning : Start simple and gradually tackle more complex dimensional puzzles
  • Accessibility : Play for free on any device without downloads or installations

The game successfully combines the satisfaction of puzzle-solving with the dynamic action of platformers, creating an engaging experience that keeps players thinking and experimenting with new approaches to each challenge.

Frequently Asked Questions (FAQ)