Skip to content

πŸ§šπŸ½β€β™€οΈ Pulse and players

Compare
Choose a tag to compare
@davay42 davay42 released this 23 Nov 21:47
· 1100 commits to master since this release

The server puts it's own timestamp as a pulse to the game graph and it's the major tool to monitor the connection to the GUN relay. And also any visitor can join the game and get a floating avatar, whose position is synced across all visitors. The scale of the avatar is determined by the 'age' – the difference between the player's pulse timestamp and current client time.

The system is set up to build rather big apps with Gun and Vue with Vite as a bundler - the p2p synced game engine is just 65 kiB gzipped! Very nice start!