Posted September 29, 2019 by budha
New Update!
In this update, there are no new features, but I've made the game more deterministic. Let me explain: In the past, bullet hits were based on physics & collisions. When a player lagged, had high latency or an unreliable connection, the bullet would sometimes not update fast enough over the network. The result would be that the bullet would pass through ships, and collisions wouldn't happen. The result was that boats for the player with a reliable connection are invincible! No good.
Now, bullets trajectory & collisions are based on time, rather than physics. Meaning that if a boat shoots, it pre-calculates the time it takes for a bullet to do it's journey to the target, and the hit happens after that time. Way more reliable!
The down-side is that it removes the mechanic of having fast ships being able to avoid shots from ships that are far away. I'll revisit this by adding a miss-chance based on distance in a future update.
Enjoy!