{"author_name":"brianshaler","cat":"LD #23","comments":[],"epoch":1335043620,"likes":0,"metadata":{"p_key":"57390","p_author":"brianshaler","p_authorkey":"12801","p_urlkey":"93139","p_title":"Lost in space","p_cat":"LD #23","p_event":"LD23","p_time":"1335043620","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"12801","us_name":"brianshaler","us_username":"brianshaler","event_start":"1334880000","event_key":"10","event_name":"LD23"},"text":"<p>I had to make some compromises on how to draw stars. I needed a way to have the background rotate with the rest of the scene, but that creates some issues when thinking about how to scroll and Javascript performance. Ultimately, I decided scrolling wouldn&#8217;t be required, so the background is rendered once and then rotated.<\/p>\n <p>Fortunately, jumping around on planets wouldn&#8217;t really change your perspective of the stars, so leaving them static kind of works. It would&#8217;ve been great to have the stars scroll, as it would make movement more evident and add more depth to the scene. It would also make it feel like you&#8217;re watching from a distance, as the stars wouldn&#8217;t be moving, only your viewport.<\/p>\n <p>Here, our brave hero is lost in space after jumping just a little too high:<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/2012\/04\/21\/lost-in-space\/screen-shot-2012-04-21-at-3-52-04-pm\/\" rel=\"attachment wp-att-127236\"><img class=\"alignnone size-full wp-image-127236\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/04\/Screen-shot-2012-04-21-at-3.52.04-PM.png\" alt=\"\" width=\"283\" height=\"250\" \/><\/a><\/p>","time":"April 21st, 2012 4:27 pm","title":"Lost in space"}