{"author_name":"Tom Gardiner","cat":"LD #30","comments":[],"epoch":1409257200,"likes":0,"metadata":{"p_key":"26399","p_author":"Tom Gardiner","p_authorkey":"20850","p_urlkey":"61829","p_title":"Working on Post Compo Networked Multiplayer!","p_cat":"LD #30","p_event":"LD30","p_time":"1409257200","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"20850","us_name":"Tom Gardiner","us_username":"tombofry","event_start":"1408665600","event_key":"24","event_name":"LD30"},"text":"<p>So, for my game &#8220;Bounty of Corruption&#8221;, I made what was basically a randomly generated shooter game with different themed levels. I&#8217;ve always wanted to make a networked multiplayer game, and you can see that I tried local splitscreen in one of my LD games (see: Dungeon Darkness) before.<\/p>\n <p>The following video might take a bit of explanation as to what&#8217;s going on, and it&#8217;s seriously basic (ie. only movement, with the exception of a couple extra variables):<\/p>\n <p><iframe width=\"500\" height=\"281\" src=\"http:\/\/www.youtube.com\/embed\/-UNKfipbQ94?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n <p>I am player &#8220;TomboFry&#8221; playing and hosting a server using the same executable file. &#8220;Liddles03&#8221; is a friend of mine who joined the server from about 10 miles away from where I live. This test is basically to see how well it performs over a different network (rather than two instances running on the same PC). I&#8217;d say it was greatly successful!<\/p>\n <p>When a player connects, they download the random seed and generate the same level as the host.<\/p>\n <p>The circle in the middle of the player indicates whether the person has their left mouse button pressed down. There is a line extruding the circle indicating the direction their mouse is pointing relative to the player. When you press &#8216;E&#8217;, an &#8220;ammo&#8221; instance is created on both clients, and its speed\/direction is determined by random values, which turn out to be the same on both sides due to the same random seed.<\/p>\n <h3 style=\"text-align: left\">PS. Don&#8217;t forget to rate my full game,<strong><span style=\"color: #3366ff\"> <a href=\"http:\/\/ludumdare.com\/compo\/ludum-dare-30\/?action=preview&amp;uid=20850\u00a0\"><span style=\"color: #3366ff\">&#8220;Bounty of Corruption&#8221;<\/span><\/a><\/span><\/strong><\/h3>","time":"August 28th, 2014 3:20 pm","title":"Working on Post Compo Networked Multiplayer!"}