Commit History

Author SHA1 Message Date
  Justin Gilman 9e84eb3a86 moving gameapi to be main project in server folder. Removing unused websocket server; adding ability for ship to change it's color in the ship info panel 3 years ago
  Justin Gilman af2a5f0b11 adding connect websocket command to get socket id; janky map-wrap for the player ship; allowing player to change ship color in ship info 3 years ago
  Justin Gilman 8a2148c0a1 adding additional stub command states for websocket; adding main menu camera time drift; adding hacky camera parallax 3 years ago
  Justin Gilman 9219b2a94b changing sector to join 3 years ago
  Justin Gilman d0a0c43c81 ships now report leave when they're leaving a sector 3 years ago
  Justin Gilman b469ccec1a reporting movement position on mouse/touch move; controlling ship thrust by boolean; 3 years ago
  Justin Gilman 7f0522ddaa server side movement calculations 3 years ago
  Justin Gilman 47e5137d8d Adding a 100ms game tick update broadcast 3 years ago
  Justin Gilman 11c5f2c37e adding slow camera drift on main menu 3 years ago
  Justin Gilman f6b46dd8c1 moving main menu to use dom manager; setting up Room to query population by sector 3 years ago
  Justin Gilman 70874a2e8f using api endpoint to get room population; moving ship drawing to room; adding room drawing to main menu 3 years ago
  Justin Gilman 8bf534f66b adding API endpoint to get population of sector 3 years ago
  Justin Gilman 61ad5d506a preventing text select on ui buttons 3 years ago
  Justin Gilman a7e3447346 removing custom canvas for starfield layers 3 years ago
  Justin Gilman 72aef81ad8 Moving HTML ui elements to be controlled by independent managers instead of added and removed all the time 3 years ago
  Justin Gilman d28ee2246e adding better camera bounds to the ship 3 years ago
  Justin Gilman d6843f3b39 switching key to be string; adding MessageAllOtherPlayers for broadcast 3 years ago
  Justin Gilman 1fffd00229 increasing position update interval from 1000 ms to 100 ms 3 years ago
  Justin Gilman 76f0620f0a Switching input from target point to angle and thrust; adding physics information to server-side Player object for calculations; client computing predicted other ship locations/rotation/velocity; moving player client input to PlayerController 3 years ago
  Justin Gilman aa00260cf1 adjusting close enough logic to be more precise 3 years ago
  Justin Gilman 25d6def6e9 adding optional port to websocket; moving starfield to Room object; removing screenwrap from Ship; setting position and target on init in Ship; setting Starfield to match room dimensions; stopping star drift in Starfield; adding camera follow and camera easing in GameState; centering camera to screen 3 years ago
  Justin Gilman 392bc4707d Very ugly hack to see multiplayer positions 3 years ago
  Justin Gilman 2043a08273 adding broadcast move commands using GameState; tracking Players connected 3 years ago
  Justin Gilman e0f6a7e307 Moving commands into separate folder 3 years ago
  Justin Gilman d3cbc99326 adding sector subscribe for websocket 3 years ago
  Justin Gilman 29050ab981 adding websocket broadcast for move 3 years ago
  Justin Gilman a0da423653 adding pingpong command; updating debugging code to use Logger; adding in 30s pingpong keepalive 3 years ago
  Justin Gilman 049a5ae0ed wrapping socket loop with a try catch 3 years ago
  Justin Gilman f711b2bb7c handing off websocket interactions to each state using the FSM; reconnecting on a delay if socket connection is lost 3 years ago
  Justin Gilman 31f8063015 adding some lofi space tunes 3 years ago