Skip to content
This repository was archived by the owner on Jan 24, 2019. It is now read-only.
This repository was archived by the owner on Jan 24, 2019. It is now read-only.

Fun with friends! #3

@gcornut

Description

@gcornut
  • Removing WebSocket and HTTP server
  • Connect players using Peer.js (with free developer server; up to 50 connections)
    • Ask player for nickname (used as unique ID)
    • Create a game (named with his nickname)
  • Add "join player" button in UI (using player's nickname as game ID)
    • If the joined player is in an other player's game, join this game (named with the other player's name)
    • Else join him in his game (named with his nickname)
  • Synchronize game data across peers
    • Create a master peer (the first peer to which players connect to join a game)
    • Synchronize entity spawn (bullets and players)
    • Synchronize player actions (moving, firing, aiming and eventually position correction)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions