Five Nations is a sci-fi strategy game that takes place in the far future and follows the events of a galactic battle between five distinct species. The gameplay utilizes traditional real-time strategy elements with introducing modern features.
A traditional RTS that takes place in space with a wide variety of units bringing back the classic atmosphere of strategy games. The player has a total control over micro and macro unit management, production and economy that provides long hours of gameplay and a fully engaging experience.
Unique tech trees and units assure that each race requires a completely different strategy to defeat all hostile forces.
A sequence of campaign maps will be released at regular intervals to keep the audience engaged in a particularly dynamic story of how the battle for the galaxy unfolds.
https://phaser.io/news/2018/03/five-nations
Five Nations is an open source HTML5 game that uses cutting-edge technologies such as ES2015+, Babel, Webpack etc. The project is built on top of Phaser Community Edition and employs P2 physics engine. We employ modern CI flow with Jenkins, TravisCI and Docker.
Since this is an open source project all form of contribution and feedback are welcomed. We are hiring!
-
Join us on Gitter https://gitter.im/fivenations/Lobby (so that we could answer any of your technical questions)
-
Fork the project
-
Pick up an Issue with
good first issueorhelp wantedlabel -
Create a branch named
feature/{issue-number} -
Apply your changes against this branch (when commiting a change, apply the
#{issue-number}as prefix to your commit message.git commit -m"#300 Update functionality of ...") -
Create a Pull Request to the upstream
master -
Set back and have a beer :)
git clone url://to.your.fork
yarnyarn run dev
Once the preloading process is ready, you'll see a blank screen with the GUI activated. In order to populate the game scene with entities you'll have to use the console to execute API commands that are expose to the global scope.
addEntity(entityName: string, playerId: number, ?(x: number), ?(y: number));
// example
addEntity('hurricane', 1, 150, 180);
Available entity Ids:
hurricane, orca, hailstorm, avenger, avenger2, etc.
(for all entity ids check /src/assets/data/units/ subfolder)







