WarriorJS Docs
  • Player
  • Maker
  • 社区
  • 中文
    • English
    • العربية
    • Català
    • Čeština
    • Deutsch
    • Ελληνικά
    • Español
    • Français
    • Italiano
    • Polskie
    • Русский
    • Српски језик (Ћирилица)
    • Svenska
    • Türkçe
    • 繁體中文
    • 帮助翻译
  • GitHub

›游戏

游戏

  • 概述
  • 目的
  • 游戏玩法
  • 视角
  • 得分
  • 史诗模式
  • Towers

概念

  • 单位
  • 勇士
  • 技能
  • 空格

玩家 API

  • 空间 API
  • 单元 API
  • 转变 API

提示&技巧

  • 一般
  • JavaScript
  • 人工智能
  • 命令行界面

命令行界面

  • Install
  • Options
Translate

Towers

A tower is a WarriorJS world. In addition to defining levels, towers can also add new abilities, effects, and units to the game.

WarriorJS CLI ships with an entry-level tower built-in. You'll need to install any additional tower you want to play.

Installing Towers

Towers are automatically loaded if you have them installed in the same node_modules directory where @warriorjs/cli is located. This means that if you have installed the game globally, you'll need to install additional towers globally. If, on the other hand, you're running the game from a local installation, you'll need to install additional towers locally.

Tower package names start with @warriorjs/tower- for official towers, or warriorjs-tower- for community towers.

Official Towers

  • @warriorjs/tower-baby-steps
  • @warriorjs/tower-tick-tick-boom (beta)

Community Towers

Have you made a tower? Add it to the list!

Making Towers

Follow this guide.

← 史诗模式单位 →
  • Installing Towers
    • Official Towers
    • Community Towers
  • Making Towers
WarriorJS Docs
Docs
PlayerMaker
Community
SpectrumTwitterFollow WarriorJS on Twitter
More
DonateGitHubStar