• Register

Explore, customize, and build across the world of Spoxel as you fight the otherworlders who have subjugated the land and forced the human race below the surface. Use runes and other materials to construct powerful spells to use in your adventure or infuse weapons and armor with rare resources to create unique items.

Post news Report RSS Networked Input and Spell Effects

One of the biggest changes since the last update is the complete rewrite of how I handle player input. I also worked on some new spell visual effects.

Posted by on

One of the biggest changes since the last update is the complete rewrite of how I handle player input. I was noticing a significant jitter even when I was running on a flat surface with a consistent velocity. The problem was even worse when I connected multiple clients in multiplayer. After dumping all of the simulation data into an excel spreadsheet and putting my graphing skills to use I found a number of bumps in what should have been a straight line. Ouch. So I went back to the drawing board and created a new input system.

The engine now keeps track of all the player input and simulates the input on both the client and server. Each input is tracked and verified once it has been processed on the server. This means the input is much more responsive client side than it was in the past and it feels much more responsive over a network connection.

I also had some time to work on more spell effects. In Spoxel there are a number of different disables that you can build into your spells. You have a complete disable with the ‘stun’ effect as shown below.

Stun Effect

You also have a movement disable with the ‘freeze’ effect.

Freeze Effect

There are a few other disables planned but they haven’t been implemented yet. I also worked on the location targeting shape which applies constant ticks to everything in its area. This targeting shape is affected by the ‘radius’ mutator just like the AoE targeting shape. This targeting shape can be used to do everything from creating a field of constant damage to creating a magical gate to teleport entities to different locations. The visual effects are shown below. First up is the arcane variation.

Arcane Location Target

Then we have a frost location effect putting the chill on your enemies.

Frost Location Target

Or maybe you want to shock your enemies with nature damage.

Nature Location Target

Or you may want to just roast your enemies alive.

Fire Location Target

Post comment Comments
taintedpyro813
taintedpyro813 - - 664 comments

awesome

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: