GeoStrike
An online, real time, multi-player First Person Shooter video game, leveraging CesiumJS, 3D-Tiles and GraphQL. (Early Development Phase)
Install / Use
/learn @Webiks/GeoStrikeREADME
GeoStrike (alpha)
3D game experiment for real world data. Boom!
Technologies
Node, GraphQL, Angular, CesiumJS, Angular Cesium
Getting started
- Go to project directory
- install
yarn
- run server & client:
yarn start
- enjoy: http://localhost:4200
Enable remote users
- Go to
packages/client/src/environments/environment.tsand change server url to your ip with port 3000
serverUrl: 'localhost:3000' // OLD
serverUrl: '[your_ip]:3000' // NEW
- run normally
yarn start
- Now you and other players on the same lan can connect to http://[your_ip]:4200
Game Controls
Tab- switch FPV/SemiFPVShift- runSpace- switch to shooting modec- crawling modew,a,s,d- movemouse_move- look aroundmouse_click- shoot (in shooting mode only)e- enter nearby building
Start a game
- login to client http://[ip]:4200
- choose new game
- select character and user name
- User code is shown (for other player to join your game they should choose "Join game" option and insert your game code)
- Press "start game" and press "ready" when you want to start the game
Start game on terrain
- Go to
packages/client/src/environments/environment.tsand change the flagloadTerrainto true. - Then run the command
TERRAIN=true yarn start
Required global packages for development
install using yarn global add <PACKAGE_NAME> or npm i -g <PACKAGE_NAME>
- server tools for running local server:
- client tools for running angular/cli dev server:
- generate code for GraphQL: graphql-code-generator
Credits list - how to modify
to modify credits, open assets/credits/credits.json and add\delete\change destinated credit
