Hyper Space: 3D - Basic lasers

Опубликовано: 17 Июль 2026
на канале: David Longacre
44
1

Testing the first basic laser "projectiles", including a basic on-hit particle effect/sound. These work in multiplayer and function as a bit of a compromise between having very fast projectiles and accurate hits server-side. To do this, I tell the server I want to fire, the server confirms if I can do this, the server creates the projectile and tells me I can do the same locally. I don't synchronize the positions as it's mostly a waste of bandwidth since the effect will be broadcast correctly (i.e. if it does damage or kills something), and the visual effect doesn't have to be perfectly accurate.

Next step will be to incorporate actual damage and some targets.