1
0
Fork 0
Space tactical RPG https://thunderk.net/spacetac/
Go to file
2017-05-17 23:36:56 +02:00
.vscode Updated to typescript 2.3 2017-05-02 23:33:58 +02:00
graphics Added 5 ship models: flea, jumper, rhino, trapper and xander 2017-05-17 23:36:56 +02:00
out Added 5 ship models: flea, jumper, rhino, trapper and xander 2017-05-17 23:36:56 +02:00
spec/support Added auto-saving to cloud, and loading cloud saves 2017-05-05 01:19:28 +02:00
src Added 5 ship models: flea, jumper, rhino, trapper and xander 2017-05-17 23:36:56 +02:00
.bowerrc Directory structure 2017-01-03 22:53:36 +01:00
.gitignore Updated README 2017-01-15 12:45:18 +01:00
.gitmodules Added submodule tscommon, shared with Succession 2017-01-27 00:52:45 +01:00
.travis.yml Fixed travis config 2017-01-17 01:07:44 +01:00
bower.json Added auto-saving to cloud, and loading cloud saves 2017-05-05 01:19:28 +02:00
LICENSE Added readme and license from github 2015-04-16 15:34:45 +02:00
npm Fixed build system 2017-02-03 00:47:28 +01:00
package.json Added auto-saving to cloud, and loading cloud saves 2017-05-05 01:19:28 +02:00
README.md Added keybord shortcut for tactical mode 2017-05-17 01:31:23 +02:00
TODO Added equipment overheat / cooldown 2017-05-17 01:12:05 +02:00
tsconfig.json Added auto-saving to cloud, and loading cloud saves 2017-05-05 01:19:28 +02:00
typings.json Started work on remote session saving (WIP) 2017-05-03 00:49:35 +02:00

SpaceTac, a space tactical RPG

Build Status Code Coverage

Disclaimer: this is a work-in-progress technology preview

Play Online

Play directly in your browser, no download or dependency required.

How to develop

If you want to build on your computer, clone the repository, then run:

npm install    # Install dependencies
npm test       # Run unit tests
rpm start      # Start development server, and open game in web browser

After making changes to sources, you need to recompile:

npm run build

Credits

Ships

Level and experience

A ship gains experience during battles. When reaching a certain amount of experience points, a ship will automatically level up (which is, gain 1 level).

A ship starts at level 1. There is no upper limit to level value (except 99, for display sake, but it may not be reached in a classic campaign).

In-combat values (HSP)

In combat, a ship's vitals are represented by the HSP system (Hull-Shield-Power):

  • Hull - Amount of damage that a ship can sustain before having to engage emergency stasis
  • Shield - Amount of damage that the shield equipments may absorb to protect the Hull
  • Power - Available action points (some actions require more power than others)

These values will be changed by various effects (usage of equipments, sustained damage...).

Once the Hull of a ship is fully damaged (Hull=0), the ship engages its ESP, or Emergency Statis Protocol. This protocol activates a statis field that protects the ship for the remaining of the battle, preventing any further damage, but rendering it fully inoperent. For battle purpose, the ship is to be considered "dead".

Attributes

Attributes represent a ship's ability to use its HSP system:

  • Initiative - Ability to play before other ships in the play order
  • Hull capacity - Maximal Hull value (when the battle starts)
  • Shield capacity - Maximal Shield value (when the battle starts)
  • Power capacity - Maximal Power value
  • Initial power - Power immediately available at the start of battle
  • Power recovery - Power generated at the end of a ship's turn

These attributes are the sum of all currently applied effects (being permanent by an equipped item, or a temporary effect caused by a weapon or a drone).

For example, a ship that equips a power generator with "power recovery +3", but has a sticky effect of "power recovery -1" from a previous weapon hit, will have an effective power recovery of 2.

Skills

Skills represent a ship's ability to use equipments:

  • Materials - Usage of physical materials such as bullets, shells...
  • Electronics - Components of computers and communication
  • Energy - Raw energy manipulation
  • Human - Management of a human team and resources
  • Gravity - Interaction with gravitational forces
  • Time - Manipulation of time

Each equipment has minimal skill requirements to be used. For example, a weapon may require "materials >= 2" and "energy >= 3" to be equipped. A ship that does not meet these requirements will not be able to use the equipment.

Skills are defined by the player, using points given while leveling up. As for attributes, skill values may also be altered by equipments.

If an equipped item has a requirement of "time skill >= 2", that the ship has "time skill" of exactly 2, and that a temporary effect of "time skill -1" is active, the requirement is no longer fulfilled and the equipped item is then temporarily disabled (no more effects and cannot be used), until the "time skill -1" effect is lifted.

Equipments

Overheat/Cooldown

Equipments may overheat, and need to cooldown for some time, during which it cannot be used.

If an equipment has "overheat 2 / cooldown 3", using it twice in the same turn will cause it to overheat. It then cannot be used for the next three turns. Using this equipment only once per turn is safe, and will never overheat it.

If an equipment has multiple actions associated, any of these actions will increase the shared heat.

Not done yet : Some equipments may have a "cumulative overheat", meaning that the heat is stored between turns, cooling down 1 point at the end of turn.

Not done yet : Some equipments may have a "stacked overheat", which is similar to "cumulative overheat", except it does not cool down at the end of turn (it will only start cooling down after being overheated).

Drones

Drones are static objects, deployed by ships, that apply effects in a circular zone around themselves.

A drone lasts for a given number of battle cycles. For example, if there are 8 ships in play, a 2-cycles drone will try to activate 16 times, before being destroyed.

All drones activate between two ship turns. At each activation, the drone effects are applied to any ship in the surrounding zone, except if less than a battle cycle passed since last activation for this ship.

Drones are fully autonomous, and once deployed, are not controlled by their owner ship.

They are small and cannot be the direct target of weapons.

Not done yet : They are not affected by area effects, except for area damage and area effects specifically designed for drones.

Keyboard shortcuts

Global

  • S - Quick save
  • L - Quick load
  • M - Toggle sound
  • F - Toggle fullscreen

Battle (arena)

  • 1,2,3...0 - Select action
  • Space - End current ship's turn
  • T - Tactical mode for 5 seconds