This Week In Veloren 5
With the netcode in a state that is useable, lots of functionality has been making its way into the refactor. There is also lots of new concept art, so be sure to check that out! This week's blog was written by @Pfau and @AngelOnFira.
With netcode primed and ready, we have started to see other functionality becoming part of the refactor. @imbris has merged in their movement work, and you can now try it out in the main branch of fresh. There have also been some improvements to the netcode, as @LunarEclipse and @Zesterer have been working closely together to make sure that it is up to snuff.
@Zesterer sat down and gave a general idea of the next steps for the programmers. The general gist is as follows. First, we will set up a simple 2-way chat. This is based on the old engine's headless module. We will try to set up all of the core systems required to do this, including initiating connections with the server, exchanging messages, and graceful disconnects. Much of the new networking will be based off the concepts from the previous engine, as it has proven to work well enough. Finally, the synchronization of ECS components will be worked on.
Since the Veloren refactor is centered around an ECS (Entity Component System) architecture, ECS networking is a fundamental foundation for all future multiplayer in Veloren. ECS is an architecture that focuses on building entities with components rather than having entities inherit behaviour. It allows developers to design program architecture in a way that treats the game as a series of interconnected pipelines that process data. This is known as composition over inheritance. Here is a great example of that.
An early version of a piece that @Aeronic is working on.