Black FridayGame templates at Black Friday pricesEnds in See the deals

Puzzle · HTML5

Train Escape

Complete HTML5 toy train tap puzzle game with 100 levels

af Polar GamesVersion 1.0.1Opdateret 29. nov. 2026

  • Kildekode
  • Live-demo
  • Dokumenteret
Tidsubegrænset licens59 US$ 50,15 US$ -15%Køb nu
The title screen: tap to start.The menu: Play, level select, Daily challenge and How to play.Level select: one wooden board per world, with the stars of each level.Tap a train and it rolls out along its rails, loco first. The glowing train is the hint.Sleepy trains (from level 21) need one extra tap to wake up.Wooden bridges (from level 41): what is under a bridge blocks nobody.Golden couplings (from level 61): the joined pair leaves together.Station-clock trains (from level 81) must leave before their number runs out.Many boards are shaped like a picture instead of a plain rectangle.Level complete: 3 stars for a level with no mistakes.Settings: vibration, less motion, wind and leaves, full screen and language.How to play: the rules in four lines, with pictures.

Train Escape: HTML5 Toy Train Tap Puzzle

A tap puzzle for the web with wooden toy trains on top-down clay-and-wood scenery. Colorful trains sit on their rails: tap a train and it rolls out along its track, loco first, unless another train is in its way. Send them all home in 100 levels across 5 worlds, with sound effects, background music and 14 languages. Plain HTML, CSS and JavaScript ES modules: no framework, no npm dependencies and no compile step.

Train Escape: 100 levels in 5 toy worlds

100 levels in 5 worlds

Toy Town, Farm Valley, Snowy Mountains, Seaside Harbor and Night City, 20 levels each, with 3 stars to earn in every level (3 for no mistakes). Boards grow from a few trains to dozens, and many are shaped like a picture. A level select with one wooden board per world shows your stars, and a locked world can be looked at before it opens.

New pieces in every world

Sleepy trains that need one extra tap to wake up (from level 21), wooden bridges where what lies under the bridge blocks nobody (from level 41), pairs joined by a golden coupling that only leave together (from level 61) and station-clock trains that must leave before their number runs out (from level 81). Each new piece gets a one-line help the first time it appears.

Train Escape: sleepy trains, wooden bridges, golden couplings and station clocks

Satisfying to play

The rules and the level generator are original code, with no engine and no library, and every level is checked by automated tests. Undo and hint are free, a Daily challenge brings a new board every day, and the trains puff steam, roll and bump. A mascot cheers you on, the rails light up gold with confetti and fireworks when you clear a level, leaves and snow drift across each world, and combo words and rising notes reward trains that leave in a row.

Every screen, every language, easy to reskin

Layouts for phones, tablets, desktop and ultrawide monitors in portrait and landscape, with touch and mouse. 14 languages: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese. Replace the pictures in assets/, change the colors and every animation number in src/config.js, and build new levels with npm run levels.

Train Escape on phone and desktop, in 14 languages

Ready to host

Upload the contents of game/ to any static host. The complete editable source, the level generator, 25 automated checks and guides in 14 languages come in the package.

Train Escape: upload the game folder and play

Billeder fra denne udgave

Taget fra den udgave, der sælges her.

Inkluderet

  • 100 levels in 5 worlds of 20 (Toy Town, Farm Valley, Snowy Mountains, Seaside Harbor and Night City), with 3 stars to earn in every level, a level select with one page per world and a final screen after level 100
  • Boards shaped like pictures and new pieces by world: sleepy trains (from level 21), wooden bridges (from 41), pairs joined by a golden coupling that leave together (from 61) and station-clock trains that race a number (from 81), each with a one-line help the first time it appears
  • Original rules and a level generator in plain JavaScript (src/game/rules.js and generator.js), with no engine and no library; npm run levels builds a new set of levels
  • Free undo and hint, a Daily challenge on a new board every day, combo words with rising notes, a mascot that reacts, rails that light up gold at every win with confetti and fireworks, steam puffs from the chimneys and toy trains in 6 colors
  • 12 sound effects (a leaving train whistles one of 6 different sounds) and background music, with separate volume sliders; leaves and snow that drift over each world, with a switch to turn them off
  • 14 interface languages; layouts for phones, tablets, desktop and ultrawide monitors in portrait and landscape; touch and mouse; vibration, less motion, wind and leaves and full screen options
  • Ready-to-host game/ folder and the complete editable source (plain JavaScript ES modules, no compile step, no npm dependencies) with 25 automated checks, a preview server, the level generator and npm run build
  • Offline buyer guide in 14 languages and a step-by-step customization guide

Ikke inkluderet i denne udgave

  • Online multiplayer, accounts or leaderboards
  • Native apps, hosting and custom development

Hvad der er i ZIP-filen

Den rigtige mappestruktur i den pakke, du downloader, med navne og størrelser læst direkte fra den.

train-escape-1.0.1-complete.zip360 filer · 13,5 MB
  • train-escape-static-1.0.1/359 filer · 13,5 MB
    • documentation/HTML-guide, åbn den, før du køber35 filer · 3,9 MB
      • img/JPG · PNG · 20 filer · 3,1 MB
      • customization-de.html21 KB
      • customization-es.html21 KB
      • customization-fr.html21 KB
      • customization-id.html20 KB
      • customization-it.html21 KB
      • customization-ja.html23 KB
      • customization-ko.html21 KB
      • customization-nl.html21 KB
      • customization-pl.html20 KB
      • customization-pt.html20 KB
      • customization-ru.html25 KB
      • customization-tr.html21 KB
      • +3 flere filer541 KB
    • game/Klar til hosting: upload denne mappe154 filer · 4,8 MB
      • assets/Grafik, lyd og skrifttyperMP3 · PNG · TXT · WEBP · WOFF2 · 105 filer · 4,5 MB
      • css/CSS · 2 filer · 43 KB
      • src/KildemodulerJS · 45 filer · 190 KB
      • DOCUMENTATION.txt1 KB
      • index.html12 KB
    • source/Læsbar kildekode163 filer · 4,8 MB
      • assets/Grafik, lyd og skrifttyperMP3 · PNG · TXT · WEBP · WOFF2 · 105 filer · 4,5 MB
      • css/CSS · 2 filer · 43 KB
      • src/KildemodulerJS · 45 filer · 190 KB
      • tests/Automatiske testsJS · 3 filer · 13 KB
      • tools/Scripts til build og kontrolMJS · 4 filer · 12 KB
      • index.html12 KB
      • package-lock.json1 KB
      • package.json1 KB
      • README.md4 KB
    • THIRD-PARTY-LICENSES/Licensoplysninger, der skal følge med dit spil3 filer · 10 KB
      • Fredoka-OFL.txt4 KB
      • LilitaOne-OFL.txt4 KB
      • README.txt1 KB
    • CHANGELOG.txtVersionshistorik2 KB
    • CUSTOMIZATION.html1 KB
    • DOCUMENTATION.htmlÅbner guiden1 KB
    • START-HERE.txtHurtig start2 KB
  • POLAR-MARKETPLACE-START-HERE.txtStart her: licens, support og første skridt1 KB

Produktdetaljer

Udgave
Standalone Browser Edition
Version
1.0.1
Udgivet
29. nov. 2026
Opdateret
29. nov. 2026
Kategori
Puzzle
Sprog
Engelsk, Portugisisk, Spansk, Fransk, Tysk, Italiensk, Nederlandsk, Polsk, Tyrkisk, Russisk, Indonesisk, Japansk, Koreansk, Forenklet kinesisk
Medfølgende filer
HTML, CSS, JavaScript, WebP, MP3, WOFF2
Bygget med
HTML5, Vanilla JavaScript, ES Modules, Canvas 2D, Web Audio
Browsere
Moderne browsere med WebGL2
Dokumentation
Dokumentation

Udvikler

Polar Games

Brasiliansk studie, der laver browserspil. Hver skabelon her er et spil, vi selv har bygget og udgivet.

Se vores spil

Krav

  • A current browser with JavaScript and audio support
  • Static HTTP(S) hosting; no database, PHP or author account required
  • Only for editing the source: Node.js 26.13 or newer

Supporten dækker tekniske spørgsmål og reproducerbare fejl i det leverede spil. Installation og tilpasning er separate ydelser.

Ændringslog

  1. 1.0.129. nov. 2026
  2. 1.0.029. nov. 2026

Spørgsmål

Do I need to build the game?

No. Upload the contents of game/ to any static HTTP(S) host. The source/ folder is only needed to run the tests, rebuild or generate levels.

Can I reskin it?

Yes. Replace the pictures in assets/ keeping their names, and tune the colors, the layout and every animation in src/config.js. The customization guide has step-by-step recipes.

Does it use a game engine?

No. The rules, the trains and the drawing are original code in plain JavaScript on an HTML canvas, with no engine and no library.

Can I change the levels?

Yes. Change the recipe in tools/generate-levels.mjs and run npm run levels, or edit the level packs by hand. Each level stores a solution, and npm test plays it to check that the level still wins.

Does it work on phones?

Yes, in portrait and landscape, with touch. It also works with a mouse on desktop.

Where is progress saved?

In the player's browser (localStorage): the stars of each level and the settings. There is no account or server.

What licence applies?

The Polar Games Marketplace terms shown at checkout.

Læs de fulde vilkår for licens, support, refusion og privatliv

Before you buy: guides and reviews

Fra Brasilien til hele verden

Købere i 25 lande

Licensér et færdigt HTML5-spil med kildekode til dit website, din app eller dit brand.

  • 900+salg
  • 25lande
  • 2016sælger siden
Lande, hvor vi har solgt: Brasilien, USA, Storbritannien, Tyskland, Canada, Australien, Frankrig, Indien, Nederlandene, Spanien, Italien, Japan, Sydkorea, Polen, Mexico, Sverige, Schweiz, Singapore, De Forenede Arabiske Emirater, Saudi-Arabien, Indonesien, Tyrkiet, Portugal, Filippinerne, Vietnam.

Mere fra Polar Games

Train Escape59 US$ 50,15 US$ -15%
Køb nu