{"id":2394,"date":"2019-02-04T00:13:58","date_gmt":"2019-02-04T05:13:58","guid":{"rendered":"http:\/\/ninecrows.com\/career\/?p=2394"},"modified":"2019-02-04T00:26:18","modified_gmt":"2019-02-04T05:26:18","slug":"looking-at-building-a-simple-game-with-unity","status":"publish","type":"post","link":"https:\/\/ninecrows.com\/career\/2019\/02\/04\/looking-at-building-a-simple-game-with-unity\/","title":{"rendered":"Looking at building a simple game with unity"},"content":{"rendered":"\n<p>I&#8217;m looking at building a game similar to stellar conquest (without borrowing any copyrighted content) using unity and then setting up a multiplayer capability through an internet connection (likely my hosting with some PHP persisting moves to a MySQL database).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"474\" height=\"356\" data-attachment-id=\"2395\" data-permalink=\"https:\/\/ninecrows.com\/career\/img_20190203_143435\/\" data-orig-file=\"https:\/\/i0.wp.com\/ninecrows.com\/career\/wp-content\/uploads\/2019\/02\/IMG_20190203_143435.jpg?fit=4048%2C3036&amp;ssl=1\" data-orig-size=\"4048,3036\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;2&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;Pixel XL&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1549204477&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.67&quot;,&quot;iso&quot;:&quot;626&quot;,&quot;shutter_speed&quot;:&quot;0.025005&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"IMG_20190203_143435\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ninecrows.com\/career\/wp-content\/uploads\/2019\/02\/IMG_20190203_143435.jpg?fit=300%2C225&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ninecrows.com\/career\/wp-content\/uploads\/2019\/02\/IMG_20190203_143435.jpg?fit=474%2C356&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/ninecrows.com\/career\/wp-content\/uploads\/2019\/02\/IMG_20190203_143435.jpg?resize=474%2C356\" alt=\"\" class=\"wp-image-2395\" srcset=\"https:\/\/i0.wp.com\/ninecrows.com\/career\/wp-content\/uploads\/2019\/02\/IMG_20190203_143435.jpg?resize=1024%2C768&amp;ssl=1 1024w, https:\/\/i0.wp.com\/ninecrows.com\/career\/wp-content\/uploads\/2019\/02\/IMG_20190203_143435.jpg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/ninecrows.com\/career\/wp-content\/uploads\/2019\/02\/IMG_20190203_143435.jpg?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/ninecrows.com\/career\/wp-content\/uploads\/2019\/02\/IMG_20190203_143435.jpg?w=948 948w, https:\/\/i0.wp.com\/ninecrows.com\/career\/wp-content\/uploads\/2019\/02\/IMG_20190203_143435.jpg?w=1422 1422w\" sizes=\"(max-width: 474px) 100vw, 474px\" \/><\/figure>\n\n\n\n<p>I&#8217;ve got the basics figured out for laying out the playing surface and it looks as if prefabs work for creating stars, planets and ships. I can see how the player interface would work in VR (either room scale or three axis) but I&#8217;m going to have to dig in to work out hit-testing for on-screen mouse activity.<\/p>\n\n\n\n<p>I&#8217;m going to be thinking about how to handle star generation. The game that is providing the inspiration used a fixed map with the star located at mostly symmetrical positions. I&#8217;m inclined to have my game place the stars using a random number generator but with a defined distribution of star types to ensure some level of balance.<\/p>\n\n\n\n<p>I&#8217;m going to do the same sort of thing for planets&#8230;not cards from a deck as with the board game but again, randomized with appropriate probabilities to yield the right sorts of planet mix.<\/p>\n\n\n\n<p> I think the next step is probably to build the star cluster and scatter some colored lights about through space&#8230;I&#8217;m really tempted to go with a three dimensional star cluster for the final version if VR is the main target.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m looking at building a game similar to stellar conquest (without borrowing any copyrighted content) using unity and then setting up a multiplayer capability through an internet connection (likely my hosting with some PHP persisting moves to a MySQL database). I&#8217;ve got the basics figured out for laying out the playing surface and it looks &hellip; <a href=\"https:\/\/ninecrows.com\/career\/2019\/02\/04\/looking-at-building-a-simple-game-with-unity\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Looking at building a simple game with unity<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[72,2,22,74],"tags":[],"class_list":["post-2394","post","type-post","status-publish","format-standard","hentry","category-c-topics","category-projects","category-sandbox","category-unity"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7F2Qc-CC","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/posts\/2394"}],"collection":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/comments?post=2394"}],"version-history":[{"count":2,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/posts\/2394\/revisions"}],"predecessor-version":[{"id":2397,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/posts\/2394\/revisions\/2397"}],"wp:attachment":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/media?parent=2394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/categories?post=2394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/tags?post=2394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}