{"id":1237,"date":"2013-01-12T21:35:58","date_gmt":"2013-01-13T03:35:58","guid":{"rendered":"http:\/\/www.galcon.com\/news\/?p=552"},"modified":"2013-01-12T21:35:58","modified_gmt":"2013-01-13T03:35:58","slug":"galcon-2-now-with-4000-planets","status":"publish","type":"post","link":"https:\/\/www.philhassey.com\/blog\/2013\/01\/12\/galcon-2-now-with-4000-planets\/","title":{"rendered":"Galcon 2: Now with 4000 planets!"},"content":{"rendered":"<p>Ahoy there!  Thanks again for supporting the Galcon 2 Kickstarter!  I&#8217;ll be sending out progress updates as the development progresses, and here&#8217;s the first!<\/p>\n<p>Day 1: First I got the basic &#8220;black screen&#8221; up and running.  I&#8217;m using C++ and Xcode as the primary development tools of Galcon 2.  I developed iPhone Galcon and Galcon Fusion with C++ as well as Dynamite Jack. <\/p>\n<p><a href=\"http:\/\/www.galcon.com\/news\/2013\/01\/12\/galcon-2-now-with-4000-planets\/finderscreensnapz001-2\/\" rel=\"attachment wp-att-553\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.galcon.com\/news\/wp-content\/uploads\/2013\/01\/FinderScreenSnapz0011-300x222.png\" alt=\"\" title=\"FinderScreenSnapz001\" width=\"300\" height=\"222\" class=\"aligncenter size-medium wp-image-553\" \/><\/a><\/p>\n<p>Day 2: I decided black screens were boring and I added a handful of planets.<\/p>\n<p><a href=\"http:\/\/www.galcon.com\/news\/2013\/01\/12\/galcon-2-now-with-4000-planets\/galcon2screensnapz001\/\" rel=\"attachment wp-att-554\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.galcon.com\/news\/wp-content\/uploads\/2013\/01\/galcon2ScreenSnapz001-300x238.png\" alt=\"\" title=\"galcon2ScreenSnapz001\" width=\"300\" height=\"238\" class=\"aligncenter size-medium wp-image-554\" \/><\/a><\/p>\n<p>Since there were overlapping planets, I worked on the collision code in Galcon to fix the overlaps automatically.<\/p>\n<p><a href=\"http:\/\/www.galcon.com\/news\/2013\/01\/12\/galcon-2-now-with-4000-planets\/galcon2screensnapz002\/\" rel=\"attachment wp-att-555\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.galcon.com\/news\/wp-content\/uploads\/2013\/01\/galcon2ScreenSnapz002-300x238.png\" alt=\"\" title=\"galcon2ScreenSnapz002\" width=\"300\" height=\"238\" class=\"aligncenter size-medium wp-image-555\" \/><\/a><\/p>\n<p>This was looking good, no planets were overlapping.  So I decided to take it up a notch and try out 4000 planets!<\/p>\n<p><a href=\"http:\/\/www.galcon.com\/news\/2013\/01\/12\/galcon-2-now-with-4000-planets\/galcon2screensnapz004\/\" rel=\"attachment wp-att-556\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.galcon.com\/news\/wp-content\/uploads\/2013\/01\/galcon2ScreenSnapz004-300x238.png\" alt=\"\" title=\"galcon2ScreenSnapz004\" width=\"300\" height=\"238\" class=\"aligncenter size-medium wp-image-556\" \/><\/a><\/p>\n<p>This worked on the first try, but it took forever for the layout of the planets to stabilize.  I spent the rest of the day improving the collision code so that it could handle this amount of collisions at high speed.  By being able to support this many items, at any scale, I&#8217;m already designing Galcon 2 to work smoothly on any screen size, and possibly with games that are larger than a single screen.  <\/p>\n<p>Here&#8217;s video of the collision code in action, actual speed:<\/p>\n<p><iframe loading=\"lazy\" width=\"420\" height=\"315\" src=\"http:\/\/www.youtube.com\/embed\/MpOu4VcJZpw\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>I plan on sending these updates out pretty frequently, but if you want even faster news on the development of Galcon 2, please <a href=\"https:\/\/twitter.com\/philhassey\">follow me on twitter<\/a>.  My name there is philhassey.  Also, there&#8217;s lots of fun Galcon 2 discussion in <a href=\"http:\/\/www.galcon.com\/forums\/55\/56\/\">the forums<\/a> too.<\/p>\n<p>Thanks!<br \/>\n-Phil<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ahoy there! Thanks again for supporting the Galcon 2 Kickstarter! I&#8217;ll be sending out progress updates as the development progresses, and here&#8217;s the first! Day 1: First I got the basic &#8220;black screen&#8221; up and running. I&#8217;m using C++ and Xcode as the primary development tools of Galcon 2. I developed iPhone Galcon and Galcon [&#8230;]<\/p>\n","protected":false},"author":44,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[121],"tags":[],"class_list":["post-1237","post","type-post","status-publish","format-standard","hentry","category-galcon2"],"_links":{"self":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/1237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/users\/44"}],"replies":[{"embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/comments?post=1237"}],"version-history":[{"count":1,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/1237\/revisions"}],"predecessor-version":[{"id":1240,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/1237\/revisions\/1240"}],"wp:attachment":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/media?parent=1237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/categories?post=1237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/tags?post=1237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}