11 Commits

Author SHA1 Message Date
Mister_Nebula
37ffecdd06 finished wake up 2020-08-09 20:46:02 +01:00
AmazingAlek
df5404aa72
fixed the generic issue (#140) 2020-08-09 11:11:45 +02:00
AmazingAlek
18a520bc78
cleanup (#99)
* cleanup
2020-07-28 14:59:24 +01:00
Ricardo Lopes
e690958f0f
Fast forward speed proportional to client / server time diff (#74)
* Remove wake up dependency from transform sync

* Remove wake up dependency for all synced transforms

* Remove comments

* Remove obsolete QSBBehaviour component

* Remove wakeup dependency in RespawnOnDeath

* Prevent errors on MessageHandler and RespawnOnDeath when network not initialized

* Add RespawnOnDeath only after network is initialized

* wip

* Prevent trying to add animator components multiple times

* Reset sectors on scene load

* Reset transform sync on scene change

* Remove comment

* Remove wakeup event dependency from WakeUpSync

* Sync loop count

* Fast forward speed dependent on difference between client and server time

* Lerp on update

* Change fastforward condition

* Update WakeUpSync.cs
2020-03-14 15:42:51 +01:00
Ricardo Lopes
49227bf5c9
Remove dependency on "wake up" events (#68)
* Remove wake up dependency from transform sync

* Remove wake up dependency for all synced transforms

* Remove comments

* Remove obsolete QSBBehaviour component

* Remove wakeup dependency in RespawnOnDeath

* Prevent errors on MessageHandler and RespawnOnDeath when network not initialized

* Add RespawnOnDeath only after network is initialized

* wip

* Prevent trying to add animator components multiple times

* Reset sectors on scene load

* Reset transform sync on scene change

* Remove comment

* Remove wakeup event dependency from WakeUpSync

* Sync loop count
2020-03-13 20:44:32 +01:00
AmazingAlek
dda55ee842
Alek/max connections (#45)
* maxconnections = 128
2020-03-02 17:25:37 +01:00
Ricardo Lopes
1f7e0b9c9b
Time scale instead of sleep (#43)
* Time scale instead of sleep

* Cleanup

* Prevent client from ruining time scale

* Disable input while waiting after wakeup

* Disable input only at start of game

* Inver isInputDisable var name
2020-02-29 22:12:09 +01:00
AmazingAlek
7d6f9d0a37
removed wake up prompt (#38) 2020-02-29 10:28:21 +01:00
AmazingAlek
3f80846988
hiding the meditation button (for server and clients) (#34) 2020-02-29 09:39:15 +01:00
AmazingAlek
188bbad5e7
Alek/sleep sync (#29)
* syncing time
* clients auto-sleep or pause to reach server's time
* disabled manual sleep/pause for clients
2020-02-28 22:07:39 +01:00
AmazingAlek
c804058ec5
Alek/cleanup (#28)
* timesync folder
* fixed wakeupsync isserver thing
2020-02-24 19:55:16 +01:00