Endless Runner Template | Infinite Runner/Endless Runner/ Mobile Runner Template


Production-ready Endless Runner with lanes, combos, jetpack, magnet, procedural segments, UI, audio & star rating system built after successful mobile games.


by Golem Kin Games


Price History +

Endless Runner Template is a full-feature Unity framework for building polished 3-lane endless runner games with a clean, modular architecture and fast setup. It’s designed to help you prototype quickly, iterate safely, and ship a production-ready runner without rebuilding the same systems from scratch.

This package includes a complete gameplay loop, scoring/meta hooks, power-ups, procedural world spawning, UI, audio, and optional NPC utilities — all organized into clear folders and built under the GolemkinGames namespace for clean integration into existing projects.


What You Get

Core Endless Runner Loop

  • 3-lane movement (left / center / right) with responsive lane switching
  • Jump system with grounded detection
  • Slide system that dynamically shrinks the CharacterController capsule height (perfect for low obstacles)
  • Obstacle hits trigger Game Over through the GameManager
  • Distance-based scoring (configurable score-per-distance)
  • Speed increases over time (optional) with:
    Enable/disable acceleration
    Increase rate per second
    Maximum speed cap

Everything is tunable in the Inspector, making it easy to adjust difficulty and pacing.


Coins + Combo Multiplier System

Coins are more than collectibles — they tie directly into the scoring loop.

  • Coin pickup system with trigger colliders
  • Optional bob/spin motion for visual polish
  • Combo multiplier system:
    Collect coins within a configurable time window to grow multiplier tiers
    Multiplier affects both coin value and distance score
    Adjustable time window, coins-per-tier, max multiplier
    Event: OnComboChanged(int multiplier) for UI/audio hooks

This system makes it easy to create “flow state” gameplay and reward skilled play.


Star Rating (0–3 Stars)

A complete star-rating system for the game over screen:

  • Score thresholds for:
    1 star
    2 stars
    3 stars
  • UI-ready star image array assignment
  • Configurable earned/unearned colors
  • Optional star text output (ex: “2 / 3”)

Perfect for progression, level-like goals, or mobile meta tuning.


Power-Ups Included

Magnet Pickup

  • Simple trigger pickup
  • Configurable duration
  • Coins in a radius get pulled toward the player
  • Works using coin layer detection for clean filtering

Jetpack Pickup

A fully featured jetpack gameplay mode:

  • Player launches upward to a configurable fly height
  • Temporary invincibility above obstacles
  • Configurable rise speed + descent speed
  • Optional speed multiplier while flying
  • Automatically spawns coins across all lanes during flight:
    Assign your coin prefab once
    Set coin spacing
  • Animator support:
    Jetpack bool active
    Land trigger on touchdown

This creates a strong “featured moment” in the run and gives you a premium-feeling power-up out of the box.


Endless World Generation (Segment Spawner)

A recommended procedural pipeline for infinite worlds:

  • Drop in segment prefabs (floor + coins + obstacles + décor)
  • Spawner handles:
    Initial segment loading
    Spawning ahead of the player
    Destroying behind the player
  • Optional EndlessRunnerSegment component for:
    Length definition
    Weighting for spawn selection

This enables a professional workflow where designers can create content purely through prefabs.


Smooth Follow Camera

Includes a dedicated runner camera script:

  • Smooth follow behavior
  • Auto-find player support
  • Adjustable offsets and smoothing for different art styles and camera vibes

UI (HUD + Full UI Flow)

You can choose between:

  • EndlessRunnerHUD (lightweight HUD + game over)
  • EndlessRunnerUI (full UI flow including start/pause/game over)

Supported UI elements:

  • Score, Coins, Distance (TextMeshPro)
  • Combo panel + combo text (“2X”, “3X”…)
  • Optional magnet timer panel
  • Optional jump bar fill UI
  • Game over panel with restart button
  • Star images + optional star count text

Everything is reference-based (no magic scene dependency), so it’s safe to move between scenes and projects.


Audio System (6 Dedicated Audio Sources)

EndlessRunnerAudio auto-connects to gameplay events and provides clean mixing using separate AudioSources:

  • Music source (loop + fade on game over)
  • Player SFX (jump, slide, lane change, land)
  • Coin SFX (pitch randomization for variety)
  • Game SFX (hit, fall, game start, game over)
  • Power-up SFX (magnet, jetpack start/end)
  • Jetpack engine loop (while flying)

Runtime controls:

  • PlaySFX(clip, volume)
  • SetMasterVolume(0–1)
  • SetMusicVolume(0–1)
  • ToggleMute()

This gives you pro-level audio separation without extra setup work.


NPC Patrol (Optional)

Populate your world with lightweight NPCs using EndlessRunnerNPCPatrol:

  • PingPong or Loop waypoint travel
  • Adjustable speed + wait time per waypoint
  • Optional facing direction behavior
  • Animator integration (Speed float)
  • Gizmos in scene view to visualize paths

Great for background life, crowds, or animated scenery.


Utility Scripts

Includes small helpers like:

  • EndlessRunnerRotator (spin coins/pickups/decor in local or world space)
  • Obstacle marker component for consistent tagging

Clean Folder Structure

Scripts are organized by responsibility:

Core, Camera, Collectibles, Environment, Obstacles, NPC, UI
All scripts are under the GolemkinGames namespace to avoid collisions and keep your project clean.


Ideal For

  • Mobile endless runners
  • Hyper-casual runner prototypes
  • Rapid iteration + A/B tuning
  • Teams needing a reliable base layer
  • Designers who prefer prefab-driven pipelines

What You Supply

  • Models / characters / animations (optional)
  • Audio clips (optional)
  • UI styling / sprites (optional)

Everything else is included and ready to go.