Ana Sayfa / Uygulama Şablonları / Neon Dodge - Unity 2D Endless Runner

Neon Dodge - Unity 2D Endless Runner

AdMob, IAP, günlük meydan okumalar ve 200 birim testi içeren eksiksiz Unity 2D sonsuz şerit kaçınma oyunu. Tam C# kaynağı.

  • Yayın tarihi4 Kasım 2026
  • Son güncelleme4 Kasım 2026
Neon Dodge - Unity 2D Endless Runner

Overview

Neon Dodge is a finished portrait arcade game, not a prototype. Three lanes, a ship that slides between them on a critically damped spring, and a scoring system built around the dodge you almost didn't make. It installs, plays, monetises, and passes both stores' checklists — and every line of C# is yours, unobfuscated, with no attribution requirement and no runtime fees.

What makes it different from the other runner templates

Most game templates are a scene with scripts attached. This one is built the way a shipped game is built, and you can see it from the first file you open:

  • Every game rule is pure C# with no UnityEngine reference. RunSimulation does not know the engine exists. That means four minutes of play runs in milliseconds in a test, a bug reproduces from its seed alone instead of from a video, and the renderer physically cannot change the outcome of a run — a dropped frame is a visual event, never a death.
  • 200 unit tests, and they run two ways: in Unity's Test Runner, or from the command line without Unity at all, against a hand-written stand-in for the engine. The headless runner is included. You can prove a change is sound in seconds instead of waiting on a domain reload, and you can put the whole suite in CI on day one.
  • ###strong/strong### One menu item builds the art, the audio, the tuning asset, the prefab, the scene, and every serialized reference — and checks that no two UI elements overlap while it does it. A hand-built scene is a binary blob that cannot be reviewed in a diff or repaired after a bad merge. This one can be rebuilt from scratch, or repaired in place, by clicking a menu item.
  • Two build gates refuse to ship a misconfigured release. One checks the platform settings (target API, architecture, scripting backend, orientation). The other checks monetisation: no AdMob app id, still on Google's test placements, a missing iOS tracking-usage string, or a privacy-policy URL that is still a placeholder — each of those is silent at runtime and expensive afterwards, so the build stops and says which one it is.
  • It ships with no account identifiers at all. No AdMob publisher id, no bundle id of mine, no name of mine anywhere in the project. Out of the box it runs on Google's public test placements, so you see real ad fills before you have an account, and a release build refuses to proceed until you have put your own ids in.

###strong/strong###

Rows spawn at the top and scroll down, and the free lane in each row is always within one lane of the previous free lane — so every row is reachable by a single lane change. That is a rule in the spawner, not a tuning value, and it is the whole line between hard and unfair. Speed and spacing ramp over 150 seconds; a second blocked lane appears at 25. Passing a row tightly is a near miss, which raises a multiplier that decays after 2.75 seconds without one — and clearance is measured at the closest point of the whole pass, so a late dodge scores and sitting safely in the next lane does not.

On top of that: coins, shields and banked spare ships; four run modifiers that change the tuning rather than the code; a seeded daily challenge with current and longest streaks, where revives and purchases are disabled so the result means something; an achievement ladder with toasts; a stats panel; a tutorial coach for the first run; and a personal-best line that tells you how close you came.

Ready for both stores

A splash screen with your name, logo and version, gated on real loading stages. Google's UMP consent flow for EEA/UK/Switzerland and Apple's App Tracking Transparency prompt, each asked exactly once and each failing closed — unresolved consent means no ads, not non-personalised ads. AdMob rewarded and interstitial behind a policy object that enforces every cadence rule in code: 90-second interstitial cooldown, three natural breaks between showings, never in the first three sessions, never during play, never during a countdown, never in the tutorial. One rewarded continue per run, always player-initiated, and a revive that clears the track ahead so you are never dropped back onto the obstacle that killed you. Remove Ads with restore-purchases, which overrides every other rule and survives a progress reset. An iOS review prompt that only asks at a good moment and never records a request the system declined. And a privacy policy and terms of use written for ###em/em### game — the actual data, the actual third parties, the actual Play Families and Apple answers — not a generic template with your name pasted in.

And it respects the player

Reduce motion kills all camera shake. Left-handed layout mirrors the tap halves. Text scaling, a colour mode, separate music and SFX volumes, and safe-area insets so nothing interactive sits under a notch or a gesture bar. The entire game is completable with zero spend and zero ads.

Fully offline. No backend, no accounts, no analytics, nothing to host and nothing to pay for. That is also what keeps the privacy policy short and the store review easy.

Features

Three-lane endless dodger, portrait, designed for one-handed play

  • Spring-damped lane changes; tap either half of the screen
  • Near-miss multiplier measured at the closest point of the pass, with a visible decay meter
  • Guaranteed-fair spawner: every row reachable with a single lane change
  • Coins, shields and banked spare ships
  • Four run modifiers — Standard, Fast Start, Glass Ship, Slow Burn
  • Seeded daily challenge with current and longest streaks; no revives, no purchases
  • Achievement ladder with toasts and a browsable panel
  • Stats panel and a lifetime profile
  • Personal-best shortfall ("420 short of your best")
  • Tutorial coach on the first run
  • Camera shake, impact bursts, speed lines, parallax, adaptive music intensity
  • Splash screen with publisher, logo and version, gated on real loading stages
  • AdMob rewarded + interstitial, with every cadence rule enforced in code
  • Remove Ads in-app purchase with restore-purchases
  • Google UMP consent flow and iOS App Tracking Transparency, each asked once, both failing closed
  • iOS in-app review prompt with a policy that will not pester
  • Atomic save/load with a checksum, a migration seam and a tested corrupt-save path
  • Accessibility: reduce motion, left-handed layout, text scaling, colour mode, safe-area insets
  • Two build gates that refuse a release build configured wrong
  • Privacy policy and terms of use written for this game, ready to fill in and upload
  • Art and audio generated from code — regenerate at any resolution, or drop your own into the same paths
  • Scene built and repaired by a menu item; no hand-wired references to lose
  • 200 unit tests, runnable in Unity or headlessly from the command line (runner included)
  • 115 C# files, ~18,500 lines, commented throughout
  • No backend, no accounts, no analytics, no paid asset-store dependency

Requirements

  • Unity 6000.3.23f1 (6.3 LTS). Built and tested on this exact version.
  • Android Build Support with the SDK and NDK modules (for Android builds).
  • iOS Build Support, Xcode and an Apple Developer account (for iOS builds).
  • A Google AdMob account, and a Google Play Console and/or App Store Connect account, to earn from it. None of these are needed to open the project and play.
  • All packages (AdMob, Unity IAP, ATT support, URP, Input System) are declared in the project and resolve through the Package Manager. No paid asset-store package is required.