Resizer - Size-Changing Puzzle Platformer

Seele01-Flash
By
Resizer is an innovative 2D puzzle platformer that challenges players to navigate impossible obstacles by changing their size through magical portals. Master different sizes to overcome unique puzzles in each level.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Resizer: Dimension Shift". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Minimalist Pixel Art style rendered in 3D. The game should view the level from a fixed side-view orthographic camera (like a traditional platformer) but using 3D meshes to give depth to the blocks. * **Color Palette:** Clean, high-contrast flat colors. * **Background:** Off-white or light grey (`#F0F0F0`) to reduce eye strain on mobile. * **Player Character:** A bright blue cube (`#0077BE`) with a simple pixel face (two eyes, neutral mouth). * **Platforms/Walls:** Solid dark grey or black blocks (`#222222`). * **Portals (The Core Mechanic):** * **Grow Portal:** A green frame (`#32CD32`) with a pulsing center. Passing through increases the player scale by 1.5x or 2x. * **Shrink Portal:** A red frame (`#DC143C`) with a pulsing center. Passing through decreases the player scale by 0.5x. * **Interactables:** Keys (Gold), Locked Doors (Gold outline), Springs (Orange), Pushable Crates (Brown wood texture). * **Performance:** Use `BoxGeometry` for almost everything to minimize polygon count. Use simple Lambert or Basic materials to ensure high frame rates on mobile devices. Avoid complex dynamic shadows; use baked ambient occlusion or simple blob shadows under the player. ### 2. Audio Requirements * **BGM:** A "Chiptune / 8-bit Lo-fi" track. It should be cerebral and rhythmic, suitable for puzzle-solving, not too frantic. Think simple square waves and a steady beat. * **Sound Effects (SFX):** * **Jump:** A short, ascending 8-bit "blip". * **Resizing (Grow/Shrink):** A distinct "warp" or "shimmer" sound (ascending pitch for grow, descending for shrink). * **Landing:** A soft thud. * **Key Collect:** A high-pitched "ding" or coin sound. * **Level Win:** A short melodic victory fanfare. * **UI Click:** Soft mechanical clicks. ### 3. Gameplay Loop * **Core Mechanic:** The player controls a square block character in a 2D plane. The goal is to reach the exit flag/door. * **The Twist:** The level layout contains gaps too small for a big character and jumps too high for a small character. The player must strategically pass through "Resizing Portals" to change their physical size (Small, Normal, Big) to navigate the terrain. * *Small Size:* Can fit through 1-block high gaps but has low jump height and mass (cannot push heavy boxes). * *Big Size:* Can jump higher, push heavy boxes, but cannot fit in tight spaces. * **Physics:** Implement simple AABB collision detection or use a lightweight 2D physics engine (like Matter.js wrapper for Three.js) constrained to the XY plane. * **Win Condition:** Reach the checkered flag or exit door. * **Fail Condition:** Falling off the map (reset level instantly). ### 4. Mobile Controls & Interaction * **Orientation:** Landscape mode is required for the platformer layout. * **On-Screen Controls (Touch):** * **Left Hand:** A virtual D-Pad or Joystick area on the bottom-left for Left/Right movement. * **Right Hand:** A large, circular "Jump" button on the bottom-right. * **Contextual Actions:** A dedicated "Reset" button (top-right corner) to restart the level if stuck. * **UI/UX:** * Touch zones must be large (minimum 60px diameter) and visually translucent so they don't obscure the gameplay. * Implement "Coyote Time" (allow jumping slightly after leaving a platform) to make touch controls feel responsive and fair. * **Haptic Feedback:** Trigger a short vibration (using `navigator.vibrate`) when the player passes through a portal or lands a jump. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Resizer is a captivating 2D puzzle platformer that introduces a unique gameplay mechanic: size transformation through portals. This innovative puzzle game challenges players to think creatively as they navigate through seemingly impossible obstacles by strategically changing their character's size.

The game combines classic platformer elements with mind-bending puzzle mechanics, creating an engaging experience that tests both your reflexes and problem-solving skills. Each level presents new challenges that require you to master the art of size manipulation to progress.

Core Features

Revolutionary Size-Changing Mechanics

The heart of Resizer lies in its portal system that allows you to transform your character's size. From tiny to gigantic, each size offers different advantages and access to previously unreachable areas.

Diverse Interactive Elements

  • Push and Pull Mechanics : Move boxes and objects to create pathways and solve puzzles
  • Spring Platforms : Bounce on springs to reach higher platforms and navigate vertical challenges
  • Key Collection System : Gather keys to unlock doors and progress through levels
  • Environmental Puzzles : Use the game world itself as a tool to overcome obstacles

Progressive Difficulty

Each level introduces new puzzle elements and size requirements, ensuring a steady learning curve that keeps players engaged without overwhelming them.

Gameplay Strategy

Size Selection Mastery

Success in Resizer depends on understanding when to be small, medium, or large. Small sizes allow you to fit through tight spaces, while larger sizes give you the strength to move heavy objects and reach high platforms.

Environmental Interaction

The game encourages creative thinking by providing multiple interactive elements. Combine pushing boxes with size changes to create stepping stones, or use springs while small to achieve maximum bounce height.

Puzzle-Solving Approach

Each level is a self-contained puzzle that requires careful observation and planning. Study the layout, identify the required sizes, and plan your route before making your first move.

Operation Guide

Movement Controls: - WASD Keys or Arrow Keys : Move your character left, right, and jump - R Key : Reset current level if you get stuck - Escape or B Key : Return to previous menu

Pro Tips: - Experiment with different sizes at each portal to understand their effects - Some puzzles have multiple solutions - don't be afraid to try different approaches - Pay attention to the environment for clues about which size you'll need - Use the reset function freely to try new strategies without penalty

Why Play Resizer

Resizer stands out in the crowded puzzle platformer genre by offering a truly unique mechanic that feels fresh and innovative. The size-changing gameplay creates "aha!" moments as players discover new ways to approach seemingly impossible challenges.

The game is perfect for puzzle enthusiasts who enjoy: - Logical Problem Solving : Each level is a brain teaser that rewards creative thinking - Innovative Mechanics : The size-changing system offers gameplay unlike traditional platformers - Progressive Learning : Skills build naturally as you master new concepts - Immediate Accessibility : Jump in and start playing without complex tutorials

Whether you're looking for a quick mental challenge or a deeper puzzle-solving experience, Resizer delivers satisfying gameplay that exercises your brain while providing entertainment. The combination of platformer action with puzzle elements creates a perfect balance of challenge and fun.

Frequently Asked Questions (FAQ)