{"author_name":"nhydock","cat":"LD #25","comments":[],"epoch":1355677860,"likes":2,"metadata":{"p_key":"48253","p_author":"nhydock","p_authorkey":"0","p_urlkey":"83918","p_title":"LD #25 \u2013 Update #6: The End","p_cat":"LD #25","p_event":"LD25","p_time":"1355677860","p_likes":"2","p_comments":"0","p_status":"UPD5","us_key":null,"us_name":null,"us_username":null,"event_start":"1355443200","event_key":"14","event_name":"LD25"},"text":"<p>It&#8217;s rather late in the project and I&#8217;m just encountering quite the short coming for the libraries that I&#8217;m using.\u00a0 Fizzy abstracts away quite a bit for the collision detection, plus there&#8217;s not a lot of documentation on it.\u00a0 How my game currently works is the edges of the screen have static walls on them to prevent your player from going out of bounds.\u00a0 Asteroids spawn off screen and pass through.\u00a0 Currently the only way that works is if the asteroids are kinematic bodies.\u00a0 The bullets were going to be dynamic, but because they spawn where the player is they could bounce into infinity and break the game if they were dynamic, plus they too would bounce off the walls if they would work anyway.\u00a0 So I tried making them Kinematic because then they wouldn&#8217;t be effected by the player, but wait, the asteroids were Kinematic as well so the bullets and asteroids would never detect collision with each other.<\/p>\n <p>I went and looked into a way to fix this, all I needed was a way to allow one-direction\/side pass through for kinematic\/dynamic collisions as well as a way to ignore certain dynamic\/dynamic collisions.\u00a0 Sadly, however, Fizzy blocked most of that kind of access, or so it seems, so I can&#8217;t get bullets working at all.\u00a0 There&#8217;s only 7 hours left, and this problem is way too big of one that I want to solve, so I&#8217;m just going to post one last screenshot and bid this competition farewell.\u00a0 It was a nice run<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/2012\/12\/16\/ld-25-update-6-the-end\/screenshot3-66\/\" rel=\"attachment wp-att-209268\"><img class=\"alignnone size-full wp-image-209268\" alt=\"screenshot3\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/12\/screenshot35.png\" width=\"646\" height=\"507\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/12\/screenshot35-300x235.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/12\/screenshot35-550x431.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/12\/screenshot35.png 646w\" sizes=\"(max-width: 646px) 100vw, 646px\" \/><\/a><\/p>","time":"December 16th, 2012 12:11 pm","title":"LD #25 \u2013 Update #6: The End"}