A-Frame scenes run conveniently within a web browser thereby permitting all clients to explore virtual environments published by an organization. However, it is sometimes desirable for a company to meet with clients or business partners inside the environment in real time. In addition, company employees can increase productivity by collaborating remotely within the same environment. Therefore, it is essential that A-Frame scenes contain multiuser capabilities for users to interact and communicate with one another. Since A-Frame scenes are not multiuser by default, these features must be implemented using JavaScript. In the previous chapter, JavaScript was used to add client-side functionality to enhance usability. However, JavaScript also supports server-side development using a runtime environment called Node.js, thus allowing JavaScript programs to run outside of a web browser. Using Node.js, a server can be built that accommodates multiple client applications thus functioning as a multiuser server for an A-Frame scene.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Multiuser Support

  • William Sause

摘要

A-Frame scenes run conveniently within a web browser thereby permitting all clients to explore virtual environments published by an organization. However, it is sometimes desirable for a company to meet with clients or business partners inside the environment in real time. In addition, company employees can increase productivity by collaborating remotely within the same environment. Therefore, it is essential that A-Frame scenes contain multiuser capabilities for users to interact and communicate with one another. Since A-Frame scenes are not multiuser by default, these features must be implemented using JavaScript. In the previous chapter, JavaScript was used to add client-side functionality to enhance usability. However, JavaScript also supports server-side development using a runtime environment called Node.js, thus allowing JavaScript programs to run outside of a web browser. Using Node.js, a server can be built that accommodates multiple client applications thus functioning as a multiuser server for an A-Frame scene.