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%
立即购买