Webiks / GeoStrike

An online, real time, multi-player First Person Shooter video game, leveraging CesiumJS, 3D-Tiles and GraphQL. (Early Development Phase)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Enable remote users

  • 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

Game Controls

  • Tab - switch FPV/SemiFPV
  • Shift - run
  • Space - switch to shooting mode
  • c - crawling mode
  • w,a,s,d - move
  • mouse_move - look around
  • mouse_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.ts and change the flag loadTerrain to 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>

Credits list - how to modify

to modify credits, open assets/credits/credits.json and add\delete\change destinated credit

About

An online, real time, multi-player First Person Shooter video game, leveraging CesiumJS, 3D-Tiles and GraphQL. (Early Development Phase)


Languages

Language:TypeScript 84.2%Language:SCSS 7.6%Language:HTML 7.0%Language:JavaScript 0.6%Language:Shell 0.4%Language:Dockerfile 0.1%