Black FridayGame templates at Black Friday pricesEnds in See the deals

Strategy · HTML5

Starfort

Space merge tower defense with 30 waves, 3 worlds and 3 bosses

by Polar GamesVersion 1.0.0Updated Nov 10, 2026

  • Source code
  • Live demo
  • Documented
Perpetual licence$59 $50.15 -15%Buy now
Title screen with the robot captain: Play, Continue and Reset progress.First-game tutorial: the robot captain shows how to merge two equal turrets.A wave in Bright Orbit: turrets fire along their rows at the pirate fighters.Asteroid Belt: stronger turrets, cryo pulses and guided swarms.Violet Nebula: electric arcs, plasma orbs and the pirate fleet.Boss wave: the Ram Destroyer with its health bar in the HUD.Star Base: turret levels and upgrades (Recruitment, Power Boost, Strong Barrier, Quick Patch).Wave held: perfect wave, merge combo bonus and coins flying to the counter.Pause and settings: sound, language and main menu.

Starfort: recruit, merge and defend the star base.

Starfort is an HTML5 merge tower defense template with full source code, set in deep space. Recruit cannon turrets, drag two equal turrets together to build a stronger one, and place your best turrets in the front column so they fire at the pirate ships flying at the star base barrier. Easy to start, with real decisions later: which turrets to merge, when to call the next wave and what to buy in the Star Base.

Starfort: the robot captain saluting on the star base while gold cannon turrets fire lasers at space pirate fighters.

12 turrets, each with its own weapon

Cadet shots, twin blasters, bursts, a turbo gatling, meteor shells, solar piercers, cryo pulses, guided swarms, electric arcs, plasma orbs, a star lance and a vortex core. Merge two equal turrets to reach the next level; merge combos pay a bonus.

Starfort: two level 1 cadet cannons merging in a blue burst into a level 2 twin-barrel turret.

30 waves, 3 worlds and 3 bosses

Bright Orbit, Asteroid Belt and Violet Nebula, with pirate fighters, drones and gunships and a boss every 10 waves (Ram Destroyer, Star Corsair, Void Driller), each with its own entrance and boss music. After the campaign, Endless mode keeps going.

Starfort: 30 waves and 3 epic bosses, the Ram Destroyer, the Star Corsair and the Void Driller.

Juicy, and kind to the player

Engine flares, laser trails, merge bursts and flying coins, all tuned in one file. A first-game tutorial with the robot captain, retry that resets the wave when the barrier falls, Squadron and Overdrive powers, supply pods, 1x/2x speed, and calmer effects when the system reduce-motion setting is on.

Starfort features: plain HTML, CSS and JavaScript, 14 languages, upgrades, powers and Endless mode, illustrated offline guide.

Your game, your hosting

Upload the contents of the game folder to static HTTP(S) hosting. No PHP, database, account or Node.js is needed on the server, and the game makes no requests to ranking, advertising, tracking or payment services. Landscape layout for phones, tablets, desktop and ultrawide screens, with mouse, touch and keyboard.

What this edition does not include

Native apps, hosting and custom development are not included, nor are cloud saves, an online ranking, real-money purchases or an advertising SDK.

Who this template is for

Site and portal owners who want a sci-fi strategy game, freelancers and studios building a branded game for a client, and developers who want readable plain JavaScript to learn from or reskin.

Customise it

All balance numbers live in src/game/data.js (turrets, enemies, waves, bosses, prices, rewards) and all game-feel numbers in src/render/feel.js. All player-facing names are in src/i18n/starfort-theme.js. The engine is shared with a garden-themed template, so some internal code keys keep neutral names; the README maps each one to its space name.

Technical details at a glance

  • Stack: HTML5, plain JavaScript ES modules (no compile step), Canvas 2D and Web Audio.
  • 14 interface languages; offline illustrated guide in English, Portuguese and Spanish.
  • Node.js 26.13+ only for the optional tools: tests, build copy and local server.
  • Local Fredoka font with its OFL licence; no third-party code in the game.

Screens from this edition

Captured from the edition sold here.

Included

  • 12 turret levels with their own weapons, 30 campaign waves in 3 worlds (Bright Orbit, Asteroid Belt, Violet Nebula), pirate fighters, drones and gunships, 3 bosses and an Endless mode. Star Base upgrades, Squadron and Overdrive powers. 14 interface languages.
  • Ready-to-host game/ with local artwork, music, sound effects and font
  • Editable plain-JavaScript source (no compile step), tests, a table of the internal code names and the font licence
  • Illustrated offline buyer guide in English, Portuguese and Spanish

Not included in this edition

  • Native apps, hosting and custom development
  • Online ranking, real-money purchases and advertising SDK

What is in the ZIP

The real folder structure of the package you download, with names and sizes read from it.

starfort-1.0.0-complete.zip640 files · 65.3 MB
  • starfort-static-1.0.0/639 files · 65.3 MB
    • documentation/HTML guide, open it before you buy1 file · 1.3 MB
      • index.html1.3 MB
    • game/Ready to host: upload this folder312 files · 32 MB
      • assets/Art, audio and fontsJSON · MP3 · PNG · TXT · WEBP · WOFF2 · 275 files · 31.5 MB
      • css/CSS · 2 files · 74 KB
      • src/Source modulesJS · 33 files · 389 KB
      • DOCUMENTATION.txt1 KB
      • index.html1 KB
    • source/Readable source code321 files · 32 MB
      • assets/Art, audio and fontsJSON · MP3 · PNG · TXT · WEBP · WOFF2 · 275 files · 31.5 MB
      • css/CSS · 2 files · 74 KB
      • src/Source modulesJS · 33 files · 389 KB
      • test/Automated testsJS · 3 files · 9 KB
      • tools/Build and check scriptsMJS · 2 files · 3 KB
      • .prettierignore1 KB
      • .prettierrc.json1 KB
      • index.html1 KB
      • package-lock.json1 KB
      • package.json1 KB
      • README.md7 KB
    • THIRD-PARTY-LICENSES/Licence notices to keep with your game2 files · 5 KB
      • fredoka-OFL.txt4 KB
      • README.txt1 KB
    • CHANGELOG.txtVersion history1 KB
    • DOCUMENTATION.htmlOpens the guide1 KB
    • START-HERE.txtQuick start1 KB
  • POLAR-MARKETPLACE-START-HERE.txtStart here: licence, support and first steps1 KB

Item details

Edition
Standalone Browser Edition
Version
1.0.0
Released
Nov 10, 2026
Updated
Nov 10, 2026
Category
Strategy
Languages
English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean, Simplified Chinese
Files included
HTML, CSS, JavaScript, JSON, WebP, PNG, MP3, WOFF2
Built with
HTML5, JavaScript (ES modules, no build step), Canvas 2D, Web Audio
Browsers
Modern browsers with WebGL2
Documentation
Documentation

Author

Polar Games

Brazilian studio making browser games. Every template here is a game we built and published.

See our games

Requirements

  • A current browser with JavaScript, Canvas 2D and Web Audio
  • Static HTTP(S) hosting; no database or author account required
  • Node.js 26.13+ only for the optional tools (tests, build copy, local server)

Support covers technical questions and reproducible defects in the supplied game. Installation and customisation are separate services.

Changelog

  1. 1.0.0Nov 10, 2026

Questions

Do I need to build the game?

No. Upload the contents of game/ to HTTP(S) hosting. The source is plain JavaScript; npm run build only copies it to dist/.

Can I change the balance?

Yes. Turrets, enemies, waves, bosses, prices and rewards are all in src/game/data.js; run npm test after a change.

Why do some code names mention plants and pests?

The engine is shared with a garden-themed template, so internal keys stay neutral. All names the player sees are in src/i18n/starfort-theme.js, and the README maps every key to its space name.

Does it work on phones?

Yes, in landscape, with touch. A tap-to-start screen makes sound work on iPhone and iPad.

Where is progress saved?

Locally in the current browser.

What licence applies?

The Polar Games Marketplace terms shown at checkout apply.

Read the full licence, support, refund and privacy terms

Before you buy: guides and reviews

From Brazil to the world

Buyers in 25 countries

License a ready HTML5 game, with source code, for your website, app or brand.

  • 900+sales
  • 25countries
  • 2016selling since
Countries where we have sold: Brazil, United States, United Kingdom, Germany, Canada, Australia, France, India, Netherlands, Spain, Italy, Japan, South Korea, Poland, Mexico, Sweden, Switzerland, Singapore, United Arab Emirates, Saudi Arabia, Indonesia, Türkiye, Portugal, Philippines, Vietnam.

More from Polar Games

Starfort$59 $50.15 -15%
Buy now