Black FridayGame templates at Black Friday pricesEnds in See the deals

益智 · HTML5

Train Escape

Complete HTML5 toy train tap puzzle game with 100 levels

作者: Polar Games版本號 1.0.1更新於 2026年11月29日

  • 原始碼
  • 線上展示
  • 附帶文件
永久授權US$59 US$50.15 -15%立即購買
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

本版本的遊戲畫面

擷取自此處販售的版本。

包含

  • 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

本版本不包含

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

ZIP 檔裡有什麼

您下載的套件的真實資料夾結構,名稱和大小均直接讀取自套件內。

train-escape-1.0.1-complete.zip360 個檔案 · 13.5 MB
  • train-escape-static-1.0.1/359 個檔案 · 13.5 MB
    • documentation/HTML 指南,購買前請先開啟35 個檔案 · 3.9 MB
      • img/JPG · PNG · 20 個檔案 · 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 個檔案541 KB
    • game/可直接部署:上傳此資料夾即可154 個檔案 · 4.8 MB
      • assets/美術、音訊和字型MP3 · PNG · TXT · WEBP · WOFF2 · 105 個檔案 · 4.5 MB
      • css/CSS · 2 個檔案 · 43 KB
      • src/原始碼模組JS · 45 個檔案 · 190 KB
      • DOCUMENTATION.txt1 KB
      • index.html12 KB
    • source/可讀的原始碼163 個檔案 · 4.8 MB
      • assets/美術、音訊和字型MP3 · PNG · TXT · WEBP · WOFF2 · 105 個檔案 · 4.5 MB
      • css/CSS · 2 個檔案 · 43 KB
      • src/原始碼模組JS · 45 個檔案 · 190 KB
      • tests/自動化測試JS · 3 個檔案 · 13 KB
      • tools/建置與檢查指令碼MJS · 4 個檔案 · 12 KB
      • index.html12 KB
      • package-lock.json1 KB
      • package.json1 KB
      • README.md4 KB
    • THIRD-PARTY-LICENSES/需與遊戲一併保留的授權聲明3 個檔案 · 10 KB
      • Fredoka-OFL.txt4 KB
      • LilitaOne-OFL.txt4 KB
      • README.txt1 KB
    • CHANGELOG.txt版本紀錄2 KB
    • CUSTOMIZATION.html1 KB
    • DOCUMENTATION.html開啟指南1 KB
    • START-HERE.txt快速入門2 KB
  • POLAR-MARKETPLACE-START-HERE.txt從這裡開始:授權、支援與上手步驟1 KB

商品詳情

版本
Standalone Browser Edition
版本號
1.0.1
發行於
2026年11月29日
更新於
2026年11月29日
分類
益智
語言
英文, 葡萄牙文, 西班牙文, 法文, 德文, 義大利文, 荷蘭文, 波蘭文, 土耳其文, 俄文, 印尼文, 日文, 韓文, 簡體中文
包含的檔案
HTML, CSS, JavaScript, WebP, MP3, WOFF2
技術架構
HTML5, Vanilla JavaScript, ES Modules, Canvas 2D, Web Audio
瀏覽器
支援 WebGL2 的現代瀏覽器
文件
文件

作者

Polar Games

來自巴西、專注於瀏覽器遊戲的工作室。這裡的每個範本都是我們自己開發並發行的遊戲。

查看我們的遊戲

執行需求

  • 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

技術支援涵蓋技術問題,以及所提供遊戲中可重現的瑕疵。安裝與客製化屬於另行收費的服務。

更新日誌

  1. 1.0.12026年11月29日
  2. 1.0.02026年11月29日

常見問題

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.

閱讀完整的授權、支援、退款與隱私條款

Before you buy: guides and reviews

從巴西走向世界

買家遍布 25 個國家

為你的網站、應用程式或品牌授權一款附原始碼的現成 HTML5 遊戲。

  • 900+次銷售
  • 25個國家
  • 2016開始銷售
我們售出過的國家: 巴西, 美國, 英國, 德國, 加拿大, 澳洲, 法國, 印度, 荷蘭, 西班牙, 義大利, 日本, 南韓, 波蘭, 墨西哥, 瑞典, 瑞士, 新加坡, 阿拉伯聯合大公國, 沙烏地阿拉伯, 印尼, 土耳其, 葡萄牙, 菲律賓, 越南.

Polar Games 的更多作品

Train EscapeUS$59 US$50.15 -15%
立即購買