Skip to content

Laastine/tile-fighter

Repository files navigation

Tile-fighter

Build Status

Hobby project for testing pixi.js capabilities with Typescript.

Test it

TODO

  • random map generation with grass, road and water
  • More terrain elements
  • Render character unit
  • Animate character movement
  • Shortest path functionality
  • Keyboard camera movement (WASD)
  • Buildings
  • Z-index calculation
  • "Height differencies"
  • Replace placeholder graphics
  • LOS calculation and visualization
  • Turn based gameplay
  • UI buttons (and shortcuts) for gameplay [crouch, turn, target]
  • Enemy AI

Controls

WASD - camera movement

Build & run app:

npm install

npm run watch - Compile browser code

npm start - Start server

open http://localhost:4000

Linter: npm run eslint

Implementation resources & references:

A* implementation: Github repo
Algorithms generally: home page
Graphics: character tiles