{"id":2939,"date":"2016-05-25T03:15:14","date_gmt":"2016-05-25T02:15:14","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=2939"},"modified":"2016-05-25T03:15:14","modified_gmt":"2016-05-25T02:15:14","slug":"p-152-virtual-world-concept-update-121-multiplayer-support","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p-152-virtual-world-concept-update-121-multiplayer-support\/","title":{"rendered":"P-152: Virtual World Concept Update 121: Multiplayer Support"},"content":{"rendered":"<p>I have added\u00a0multiplayer support to the spherical terrain project.<\/p>\n<p>This actually turned out to be easier than I thought, most of the code was completely multiplayer safe anyway, I just needed to make some minor changes to pack\/unpack update and everything seemed to work ok.<\/p>\n<p>I have multiplayer collision working, and as can be seen from the below images, the terrain looks identical from the perspectives of each player, which means I don&#8217;t have to do any work with the guts of the code at all. I was concerned that I would have to work with sychronising seed values, etc, this seems not to be necessary.<\/p>\n<figure id=\"attachment_2938\" aria-describedby=\"caption-attachment-2938\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-02_16_30-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-2938\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-02_16_30-AM-300x195.jpg\" alt=\"P152_DEBUG 24\/05\/2016 , 02:16:30 AM Torque 3D MIT - P152\" width=\"300\" height=\"195\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-02_16_30-AM-300x195.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-02_16_30-AM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-02_16_30-AM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-02_16_30-AM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-2938\" class=\"wp-caption-text\">P152_DEBUG<br \/>24\/05\/2016 , 02:16:30 AM<br \/>Torque 3D MIT &#8211; P152<\/figcaption><\/figure>\n<figure id=\"attachment_2937\" aria-describedby=\"caption-attachment-2937\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-02_16_34-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-2937\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-02_16_34-AM-300x195.jpg\" alt=\"P152_DEBUG 24\/05\/2016 , 02:16:34 AM Torque 3D MIT - P152\" width=\"300\" height=\"195\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-02_16_34-AM-300x195.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-02_16_34-AM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-02_16_34-AM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-02_16_34-AM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-2937\" class=\"wp-caption-text\">P152_DEBUG<br \/>24\/05\/2016 , 02:16:34 AM<br \/>Torque 3D MIT &#8211; P152<\/figcaption><\/figure>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-01_37_17-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-2936\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-01_37_17-AM-300x195.jpg\" alt=\"P152_DEBUG 24\/05\/2016 , 01:37:17 AM Torque 3D MIT - P152\" width=\"300\" height=\"195\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-01_37_17-AM-300x195.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-01_37_17-AM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-01_37_17-AM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/05\/PhoenixGameDevelopment-24_05_2016-01_37_17-AM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have added\u00a0multiplayer support to the spherical terrain project. This actually turned out to be easier than I thought, most of the code was completely multiplayer safe anyway, I just needed to make some minor changes to pack\/unpack update and everything seemed to work ok. I have multiplayer collision working, and as can be seen [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,17,10,11],"tags":[],"class_list":["post-2939","post","type-post","status-publish","format-standard","hentry","category-astral-realms","category-p-0","category-software-and-games","category-spiritus-astrum","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/2939"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=2939"}],"version-history":[{"count":1,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/2939\/revisions"}],"predecessor-version":[{"id":2940,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/2939\/revisions\/2940"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=2939"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=2939"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=2939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}