Posted on August 2nd, 2018
It's hard to believe that Google Summer of Code is almost over!
This week I focused mainly on getting the particle effects for when the player is holding the flag working across multiplayer, so that the host and any joined clients were in sync. One of the problems with the code is that the adding and removing of the particle effects happened in a lot of different places--when the player was attacked, when the player pressed `E` to pick up a flag, etc. I got rid of this redundancy by just hav...
Posted on July 19th, 2018
It's in the last couple of weeks for Google Summer of Code!
This week I worked on improvements for adding and removing particles, and character skinning for players.
For the particle system, I now handle cases where the player drops the flag through placing it into the world, by checking for it in the onInventorySlotChanged event:
// Checks if player puts down flagitem = event.getOldItem();if (itemIsFlag(item)) { removeParticleEmitterFromPlayer(player); player.removeComponent(HasFl...