Home / Companies / Daily / Blog / Post Details
Content Deep Dive

Running a 2D world for video call participants to traverse (Part 3)

Blog post from Daily

Post Details
Company
Date Published
Author
Liza Shulyayeva
Word Count
3,119
Company Posts That Month
8
Language
English
Hacker News Points
-
Post removed?
No
Summary

This world is set up using PixiJS as its rendering framework, allowing for efficient rendering of 2D graphics. The World class is instantiated when a room is joined, and it sets up the basic structure for the world, including a frame that will be visible to users, and several containers for holding user sprites and focus zones. The World's update loop processes texture queues, updates robots (Daily's automated WebDriver instances), and processes the local user's interaction with other users in the world. Navigation is handled through an update method that checks for movement, collision with objects, and updates the local user's position accordingly. When the local user moves, their new position data is sent to other participants using a broadcast function. Users can receive this data and move themselves to the same coordinates if they are in the global zone or if they have zonemates in specific zones such as desks or broadcast spots.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 1 989 295 109 +4%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.