Goblin Run - Free Endless Platform Runner Game

Seele01-Flash
By
Goblin Run is a thrilling free endless platform runner game where you control a cute green goblin through challenging jungle terrain. Jump over obstacles, collect coins, and activate special powers in this addictive mobile-friendly adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Goblin Run". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Side-Scroller. Use 3D primitives (Low-poly) with **Toon Shading (Cell Shading)** to mimic the vibrant, cartoonish look of the original 2D screenshot. * **Camera**: Use an **Orthographic Camera** positioned on the side (X-axis movement) to create a flat platformer perspective while maintaining 3D depth for the background. * **Character (Goblin)**: A green, distinct shape (composition of spheres and cubes) with a large nose. Must have a running animation (vertex displacement or simple limb rotation). * **Environment**: * **Foreground**: Infinite scrolling platform consisting of grass (green top) and dirt (brown sides). * **Background**: Parallax scrolling layers with low-poly trees and jungle foliage to create depth. * **Items & Obstacles**: * **Coins**: Rotating gold cylinders. * **Roast Ham**: A distinct "meat on bone" shape (essential power-up). * **Obstacles**: Triangular spikes, rectangular pits (gaps in the floor), and wooden box barriers. * **Performance**: Use `InstancedMesh` for coins, trees, and floor tiles to ensure 60FPS on mobile devices. ### 2. Audio Requirements * **BGM**: A fast-paced, mischievous, and rhythmic track featuring marimbas and light percussion to match the "jungle goblin" theme. * **Sound Effects (SFX)**: * **Jump**: A cartoonish "Boing" or "Whoosh". * **Double Jump**: A higher-pitched, magical "Swish" (only when Ham power-up is active). * **Collect Coin**: A high-frequency "Ding" or "Ching". * **Eat Ham**: A "Chomp" or "Burp" sound. * **Game Over**: A comedic "Splat" or descending whistle followed by a crash. ### 3. Gameplay Loop * **Core Mechanism**: The Goblin auto-runs from left to right. Speed gradually increases over time (Difficulty scaling). * **Controls**: * **Base State**: Player taps to Single Jump. * **Powered State**: After collecting a "Roast Ham", the player unlocks **Double Jump** ability for 10 seconds. Visual cue: The Goblin glows red or emits particles while this mode is active. * **Scoring**: +10 points per Coin, +50 points per Ham. Distance traveled also adds to the score. * **Win/Loss**: * **Loss**: Colliding with a spike, wall, or falling into a pit triggers "Game Over". * **Restart**: Instant restart functionality to keep the "Addictive" loop. ### 4. Mobile Controls & Interaction * **Input Handling**: Use `touchstart` event listeners for immediate reaction (avoid 300ms click delay). * **Tap anywhere**: Jump. * **Double Tap** (when powered up): Double Jump. * **Screen Orientation**: Force **Landscape Mode** logic (adjust camera frustum if user is in portrait, or prompt to rotate). * **UI/HUD**: * **Score Display**: Large, bold white font with a black outline in the top-left corner. * **Power-up Timer**: A visual bar or icon fading out to show remaining "Ham Power" time. * **Game Over Screen**: A large, centered "Replay" button (minimum 80x80px touch area) for easy retrying. * **Feedback**: * **Haptic**: Trigger `navigator.vibrate(50)` on jump and `navigator.vibrate(200)` on death. * **Visual**: Dust particle system at the Goblin's feet when running/landing. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Goblin Run is an exciting endless platform runner game that combines classic jumping mechanics with modern mobile gameplay. Rated 4.4/5 by players, this free HTML5 game puts you in control of an adorable green goblin on an endless jungle adventure. The game features smooth auto-running mechanics, challenging obstacle courses, and rewarding coin collection systems that keep players engaged for hours.

Unlike traditional platform games with defined levels, Goblin Run offers infinite gameplay where your only goal is to survive as long as possible while maximizing your score. The jungle setting provides a rich, colorful backdrop for your goblin's adventure, filled with dangerous spikes, treacherous pits, and valuable collectibles.

Core Features

Endless Running Adventure

Experience unlimited gameplay with procedurally generated obstacles and challenges. Each run is unique, ensuring that no two gaming sessions are identical. The jungle environment continuously scrolls, presenting new challenges and opportunities to test your reflexes and timing skills.

Double-Jump Power System

Collect delicious ham throughout your journey to activate the valuable double-jump ability. This power-up allows your goblin to reach higher platforms, avoid dangerous obstacles more easily, and access previously unreachable coin collections. Strategic use of double-jump can significantly extend your survival time.

Coin Collection Mechanics

Gather golden coins scattered throughout the jungle to increase your score and unlock achievements. Coins are strategically placed to encourage risk-taking and skillful maneuvering, often requiring precise jumps and timing to collect safely.

Cross-Platform Compatibility

Built with HTML5 technology, Goblin Run works seamlessly across all devices. Whether you're playing on desktop, tablet, or smartphone, the game automatically adjusts to provide optimal performance and controls for your specific device.

Gameplay Mechanics

Auto-Running System

Your goblin character automatically runs forward, allowing you to focus entirely on timing your jumps and collecting items. This streamlined control scheme makes the game accessible to players of all skill levels while maintaining challenging gameplay depth.

Obstacle Variety

Navigate through diverse challenges including sharp spikes, deep pits, moving platforms, and various traps. Each obstacle type requires different strategies and timing, keeping the gameplay fresh and engaging throughout extended play sessions.

Progressive Difficulty

As you run further into the jungle, the game gradually increases in difficulty with faster speeds, more complex obstacle patterns, and tighter timing requirements. This progression system ensures that both newcomers and experienced players find appropriate challenges.

Controls and Operation

Desktop Controls

  • Left Mouse Button : Jump/Double-jump (when power-up is active)
  • Automatic Movement : Your goblin runs forward automatically
  • Timing : Click precisely to clear obstacles and land on platforms

Mobile Controls

  • Tap Screen : Jump/Double-jump (when power-up is active)
  • Touch-Friendly : Responsive touch controls optimized for mobile devices
  • Portrait/Landscape : Supports both orientations for comfortable play

The simple one-button control scheme makes Goblin Run incredibly easy to learn but challenging to master. Success depends on developing perfect timing and learning to anticipate upcoming obstacles.

Why Play Goblin Run

Perfect for Quick Gaming Sessions

Goblin Run excels as a pick-up-and-play game that's perfect for short breaks or extended gaming sessions. The endless format means you can play for just a few minutes or challenge yourself to beat high scores over longer periods.

Stress-Free Entertainment

With its colorful graphics, cute goblin character, and upbeat gameplay, this game provides excellent stress relief and entertainment. The simple mechanics allow you to focus on the fun without complicated rules or steep learning curves.

Competitive Scoring

Try to beat your personal best scores while competing with friends and family. The scoring system rewards both survival time and coin collection, encouraging multiple playstyles and strategies.

No Download Required

As a browser-based HTML5 game, Goblin Run requires no installation or downloads. Simply visit the game page and start playing immediately, making it perfect for gaming on shared computers or when you want instant entertainment.

Family-Friendly Content

Rated for all ages, Goblin Run provides clean, appropriate entertainment suitable for players of any age. The cartoon-style graphics and non-violent gameplay make it an excellent choice for family gaming time.

Frequently Asked Questions (FAQ)