Color Pencil Run - Colorful Racing Adventure

Seele01-Flash
By
Color Pencil Run is an innovative racing game where you control a colorful pencil, collecting matching colors to grow longer while avoiding obstacles. Experience unique pencil-racing gameplay with simple controls and endless fun.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Color Pencil Run". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Bright, hyper-casual 3D aesthetic with a high-saturation color palette (Safety Orange, Cyan, Magenta). The world should look like a giant desk surface. * **The Player (Pencil):** Construct a modular pencil model using `CylinderGeometry` (body) and `ConeGeometry` (tip). The pencil must be comprised of three distinct parts: the **Tip**, the **Body** (which can stretch or stack segments to grow in length), and the **Eraser** at the top. * **The Track:** A long, scrolling white "paper" strip with faint blue grid lines, floating above a blurred "desk" background (use a simple solid color or a low-poly wood texture for the desk). * **Dynamic Trail:** As the pencil moves, it must leave a colored line behind it on the paper track. Use a performant mesh generation method (like a ribbon trail) rather than heavy particle systems to ensure 60fps on mobile. * **Obstacles & Collectibles:** * **Collectibles:** Floating ink pots or smaller pencil segments that match the player's color. * **Obstacles:** Stationery items like Erasers (red cubes), Rulers (barriers), and Pushpins (spikes). * **Mobile Optimization:** Use simple Lambert or Phong materials. Use a single directional light with soft shadows. Limit total scene polygon count for smooth mobile rendering. ### 2. Audio Requirements * **BGM:** A lighthearted, rhythmic, and looping "whistling" or "marimba" style tune typical of hyper-casual games. * **Sound Effects:** * **Movement:** A continuous, subtle "scribbling on paper" ASMR sound that plays while the pencil is moving. * **Collection:** A satisfying "pop" or "suction" sound when picking up color segments. * **Damage:** A "snap" or "wood crack" sound when hitting obstacles. * **Victory:** A "cash register" or energetic jingle when slicing through the end-game blocks. ### 3. Gameplay Loop * **Core Mechanic (Length = Life):** The pencil moves forward automatically. The player's goal is to increase the length of the pencil. The length acts as the health bar. * **Growth Logic:** Collecting items of the *same color* increases the pencil's Y-scale (or adds segment meshes). * **Damage Logic:** Hitting obstacles reduces the pencil's length. If the length reaches zero (only the eraser remains), the game is over. * **End-Game (The Slice):** Upon reaching the finish line, the pencil enters a "bonus zone." It travels through a series of numbered walls. Each wall subtracts a specific amount of length from the pencil but awards points/coins. The goal is to break as many walls as possible before the pencil becomes too short. * **Color Switching (Optional but recommended):** Occasionally pass through "Color Gates" that change the pencil's color, forcing the player to target different collectibles. ### 4. Mobile Controls & Interaction * **Control Scheme:** **Swerve Mechanics**. The pencil moves forward automatically. The player uses a single finger to drag left or right on the screen to steer the pencil laterally (X-axis). * **Screen Orientation:** **Portrait Mode** (Vertical) is mandatory for one-handed play. * **Responsiveness:** The lateral movement must be 1:1 with the finger swipe but clamped to the edges of the paper track so the pencil doesn't fall off. * **Feedback:** * **Haptic:** Trigger a short vibration (using `navigator.vibrate`) when collecting items or hitting obstacles. * **Visual:** Screen shake effect slightly when hitting an obstacle. * **UI Overlay:** * A minimalist "Length/Score" counter at the top center. * A "Restart" button that appears only on Game Over (min size 44x44px for touch accessibility). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Color Pencil Run is a uniquely creative racing game that combines the joy of drawing with exciting gameplay mechanics. Unlike traditional racing games, you control a colorful pencil that draws its path while racing forward. Your mission is simple yet challenging: grow your pencil as long as possible by collecting matching colors while skillfully dodging obstacles along the way.

The game features vibrant graphics with a clean, minimalist design that focuses on the colorful pencil mechanics. As you guide your pencil forward, it leaves a beautiful trail behind, creating an artistic element that sets this game apart from conventional racing titles.

Core Features

Dynamic Pencil Growth System

The heart of Color Pencil Run lies in its innovative growth mechanics. Start with a tiny pencil and watch it grow dramatically as you collect matching colored segments. Each successful color match adds length to your pencil, making it more impressive but also more challenging to maneuver through tight spaces.

Obstacle Challenge System

Navigate through carefully designed obstacle courses that test your reflexes and strategic thinking. The obstacles become more complex as your pencil grows longer, creating an escalating difficulty curve that keeps the gameplay engaging.

Coin Collection and Upgrades

Earn coins during your runs and use them to purchase powerful upgrades for your pencil. These improvements help you achieve longer lengths and better performance in subsequent attempts, adding a progression element that encourages replay.

Cross-Platform Compatibility

Enjoy seamless gameplay across all devices. Whether you're playing on a desktop computer, smartphone, or tablet, Color Pencil Run delivers the same smooth and responsive experience.

Gameplay Mechanics

The core gameplay revolves around precise movement control and color matching strategy. As you guide your pencil forward, you'll encounter various colored segments scattered throughout the track. Collecting segments that match your pencil's current color will increase its length, while avoiding mismatched colors prevents penalties.

At the end of each level, your pencil faces the ultimate test as blocks attempt to slice it down. The longer your pencil, the better your score and coin rewards. This creates a risk-reward dynamic where players must balance growth with survival.

Operation Guide

Color Pencil Run features intuitive controls designed for players of all skill levels:

  • Mobile Devices : Swipe left or right on your screen to steer the pencil
  • Desktop/Laptop : Use the A and D keys, or left and right arrow keys for precise control
  • Touch Controls : Tap and drag for smooth movement on touchscreen devices

The responsive control system ensures that your pencil moves exactly where you want it, allowing for precise navigation through challenging obstacle patterns.

Why Play Color Pencil Run?

Unique Creative Concept

Color Pencil Run stands out in the crowded racing game market with its artistic approach. The pencil-drawing theme creates a nostalgic connection while offering fresh gameplay mechanics that feel both familiar and innovative.

Perfect for All Ages

The game's simple controls and colorful visuals make it accessible to players of all ages. Children enjoy the bright colors and easy mechanics, while adults appreciate the strategic depth and challenging obstacle patterns.

Free and Accessible

No downloads, no payments, no registration required. Simply open your browser and start playing immediately. This accessibility makes it perfect for quick gaming sessions during breaks or extended play sessions.

Stress Relief and Entertainment

The smooth, flowing movement of the pencil combined with the satisfying color-collection mechanics creates a relaxing yet engaging experience. It's perfect for unwinding after a long day or enjoying a fun break.

Competitive Element

Try to beat your previous best length record or compete with friends to see who can grow the longest pencil. The scoring system encourages multiple playthroughs and skill improvement.

Frequently Asked Questions (FAQ)