{"author_name":"BretHudson","cat":"LD #30","comments":[],"epoch":1408771440,"likes":0,"metadata":{"p_key":"28211","p_author":"BretHudson","p_authorkey":"8684","p_urlkey":"63662","p_title":"LD30: Six hours in","p_cat":"LD #30","p_event":"LD30","p_time":"1408771440","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"8684","us_name":"BretHudson","us_username":"brethudson","event_start":"1408665600","event_key":"24","event_name":"LD30"},"text":"<p>Whelp, it&#8217;s 3 AM and we&#8217;re six hours into the jam. I think I&#8217;m going to be heading to bed pretty soon, but here&#8217;s the results of the first 1\/12 of the jam.<\/p>\n <p>Team: <a href=\"http:\/\/www.brethudson.com\">Bret Hudson<\/a> (me), and <a href=\"http:\/\/danfessler.com\/\">Dan Fessler<\/a><\/p>\n <p>We didn&#8217;t start until about 2.5 hours after the jam started, since we had a bit of a difficulty coming up with an idea (which I&#8217;ll go more into tomorrow), and then both of us decided to grab some food. Here&#8217;s my work thus far: (click the links to watch 6 second vine videos of the thing in motion!)<\/p>\n <p><a href=\"https:\/\/vine.co\/v\/MLpFMe5YrUi\">Centripetal motion<\/a><\/p>\n <p>This was a bit interesting to get working, as I went through a few iterations. I wanted to make sure I didn&#8217;t do my typical Cos\/Sin method with an angle, because the planets are going to be affected by outside forces, so it was important to make sure we were using real physics. I ended up using the cross product of two 3D vectors to get the result.<\/p>\n <p><a href=\"https:\/\/vine.co\/v\/MLDveaTzZuv\">Chain physics<\/a><\/p>\n <p>I had never tackled chain physics before, but understood the basic concept. You need points and then the springs between them. The points have a mass and it determines how the springs interact. Thanks to a tutorial by NeHe (<a href=\"http:\/\/nehe.gamedev.net\/tutorial\/rope_physics\/17006\/\">link here<\/a>), I was able to get it up and going rather quickly.<\/p>\n <p>There&#8217;s something else I&#8217;ve been working on regarding the chain physics, but it&#8217;s buggy, and requires me to do some more thinking on how exactly it all interacts. I&#8217;ll be uploading a video of the final result when I&#8217;m done. That&#8217;s about it!<\/p>\n <p>Also, Dan is still working on concept art as we speak. No pretty pictures for you yet, but soon!<\/p>","time":"August 23rd, 2014 12:24 am","title":"LD30: Six hours in"}