Closed Joris-van-der-Wel closed 10 years ago
Framework has been made and some methods for making timewarps less obtrusive have been made in:
791585dc7362bd62c19845780cbb82eec2b74b02 9d68142c89a17dfa6cc4efdb4d05b2858d645b4f (fade in a ship after spawn, this also works after a timewarp) 5f1abff445cc43305e13e0abb6b02b0b306f9839 b6df6a44a9e3be1e5e7a027c1fcb88194bb02941 a326572d78581216628b850716d9cfb9fce743e1 136b9eabb729ec30acf83bdf07586489790d6987 536091233843601f98d5cbc05ab7147ba4e413c0 ee3b7bc852b4be7e23f2be14941cb775f108a2c8
98cca34183d6b758d58eb3ec5a76a5e44428aa69 aed9e819967989946788e1bb7706b57b6e170757 4cb6455401d83c4bb729f23fb1fa1e9225b795ea 6f02e979ea07d2e06a6b273b5638d7a79e2f8cf3 7a6706fc469206b8fd3166b7547ea06802ec1c3e f086edde25d30368c0a81f3775180e3309b932ac 79d3ae6deadb6661c3ce77f9afba94a92b3fd6ff
It is very tricky to get the various latency compensation methods working smoothly. Methods include:
These methods have various settings and can also be disabled.
This is mostly about human perception, so unit tests are of very limited use.
What would be more useful is a framework that lets you define a short gameplay scenario, wherein the non local actors are lagged. A scenario includes:
The tester is able to launch a scenario using a button press, which will then play out in a lwjgl window, using as much existing code from aphelion as possible. This tool might also be used by server operators to tweak their latency compensation settings for their specific game settings