Skip to content

0xstardust/powerplay-threejs

 
 

Repository files navigation

Powerplay RTS Three.js Prototype

Full source code to the Powerplay RTS prototype, including game, engine, and editor.

Thumbnail

Play it live

Live Prototype

Setup instructions (Windows 11)

  1. npm install

  2. cd editor ▶️ npm install

⚠️ Open a terminal in administrator mode

  1. cd editor/public ▶️ create-symlinks.bat or ./create-symlinks.sh if you have mingw

This will allow the editor to access the game data located in game/public, through sym links.

Run the editor

  1. npm run build:watch

⚠️ Keep the above command running and open a new terminal. It will allow hot reload of the game library within the editor.

  1. cd editor ▶️ npm run dev

open http://localhost:5173 in a web browser

Press the play button! 🎮

Run the game

Coming Soon 🔜

About

Powerplay RTS original Threejs prototype

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.2%
  • JavaScript 0.9%
  • CSS 0.6%
  • HTML 0.2%
  • Rust 0.1%
  • Batchfile 0.0%