Commit graph

16 commits

Author SHA1 Message Date
d39a55e20e Remove server reconciliation in favor of pure client prediction
The reconciliation system caused visible teleportation at high latency
(e.g. 250ms Germany→Korea): position corrections snapped the local
player and thrown items back to stale server states.

- Drop the inputAck/seq tracking, InputBuffer, and applyReconciliation.
  The client predicts locally and the server stays authoritative via
  the existing worldUpdate broadcast; own-doll updates remain ignored.
- Override Item.setUpdateData on the client so in-flight items run free
  on local Box2D physics (client and server share the same throw
  impulse) and only sync when stationary or far out of sync. This keeps
  grab-sensor contact accurate while eliminating mid-flight snapping.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-28 23:35:22 +00:00
logsol
3cb2e39a18 Makes singleton variable name of NotificationCenter lowercase
When we require a singleton, its instance name should be named
by lowercase, since it is not a class.

Relates to #128
2016-10-10 22:11:55 +02:00
logsol
8641a2dc0b On destroy unsubscribe missing GameObjects from render event
fixes #71
2016-10-01 16:51:43 +02:00
logsol
07dad646cf new system for synchronizing game objects. fixes #74 2015-06-22 00:14:17 +02:00
logsol
2b186be8af use strict; fixes #83 2014-12-22 01:43:21 +01:00
logsol
a70ca6d8fb working layers - still needs parallax support 2014-08-31 17:50:55 +02:00
Jeena
222fd09f3f non working layers 2014-08-30 16:27:05 +02:00
logsol
cacd5d74c0 finished nc merge 2014-03-17 22:07:57 +01:00
Jeena
96bf9bffbd NC refactoring 2014-03-17 21:45:40 +01:00
logsol
672a46efa8 replaced NotificationCenter with Nc 2014-03-01 11:07:23 +01:00
Jeena
e488beb203 added ragdoll with one limb 2014-02-12 00:30:09 +01:00
Jeena
00807da632 changed modes 2014-01-12 16:59:16 +01:00
Jeena
3edd664412 implemented level restart 2014-01-12 04:33:08 +01:00
Jeena
fa9a0d5d22 added washing machine, fixed grabbing and rotation and position 2014-01-10 18:22:59 +01:00
jeena
3aa89fc8d6 moved Protocol and NotificationCenter to Lib/Utilities 2013-12-27 01:36:01 +01:00
jeena
93e8133c89 fixed problems with first world update 2013-12-25 04:35:51 +01:00