Building real-time games using Workers, Durable Objects, and Unity
Kristian Freeman has built a simple 3D multiplayer world called "Durable World" using Cloudflare Workers and Durable Objects to demonstrate the real-time consistency they provide in applications. The game is deployed entirely on the Cloudflare stack, with Pages for serving the client-side game and Workers as the coordination layer. The server uses Durable Objects and WebSockets to sync player position and other information like randomly generated usernames. This project showcases how Durable Objects can be used in building real-time applications such as games, with potential for further exploration and development.
Company
Cloudflare
Date published
May 26, 2021
Author(s)
Kristian Freeman
Word count
2516
Language
English
Hacker News points
8