3D game experiment for real world data. Boom!
Node, GraphQL, Angular, CesiumJS, Angular Cesium
- Go to project directory
- install
yarn
- run server & client:
yarn start
- enjoy: http://localhost:4200
- Go to
packages/client/src/environments/environment.ts
and 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
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
- 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
- Go to
packages/client/src/environments/environment.ts
and change the flagloadTerrain
to true. - Then run the command
TERRAIN=true yarn start
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
to modify credits, open assets/credits/credits.json and add\delete\change destinated credit