Missiles and more!
I’ve coded quite a bit during the past few days. The roughly 700 touched lines have introduced many changes, which of perhaps the most visible is the addition of missiles (that was a sudden impulse, I planned to include them much later). In other words, the players are now able to shoot torpedo-thingies and other players see them. The system is not yet complete as I plan to make the missiles follow their target, but it is a good start.
Other changes include a still on-going renovation of the communication protocol, moving particles support (explosions!), early anti-lag system (which actually made things worse for now) and time-based movement. The latter means that a speed is now measured and implemented in tiles per second. That has the effect of everybody moving at the same velocity, regardless of frame-rate (greater FPS gives smoother movement).
There are still a few things broken from the changes and the server is very unstable with more than one clients. I’m trying to focus on fixing bugs next, but it’s hard because I have so many great ideas and implementing them is so much more fun! ![]()
Related posts:
French