BananiumLabs / AtomBlast.io

Multiplayer arena game which takes place at the molecular level.
MIT License
1 stars 0 forks source link

No collision detection when player is not focused #38

Closed 64bitpandas closed 6 years ago

64bitpandas commented 6 years ago

Expected Behavior

Player should tick normally even when switched out.

Actual Behavior

When player is not focusing the window, atoms are not collected and player does not process collision.

Steps to Reproduce the Problem

  1. Get 2 people to join the same room on different teams
  2. One of those people must minimize the window or alt-tab to focus another window/tab
  3. Profit

Specifications

Screenshots

How to Fix

Move collision detection to server side.

64bitpandas commented 6 years ago

See #48 for the next steps