{"author_link":"\/users\/mundell","author_name":"mundell","author_uid":"mundell","comments":[],"epoch":1493655216,"event":"LD38","format":"md","ldjam_node_id":29476,"likes":2,"metadata":{"p_key":"92270","p_author":"mundell","p_authorkey":"1013526","p_urlkey":"305188","p_title":"What I learned..","p_cat":"LDJam ","p_event":"LD38","p_time":"1493655216","p_likes":"2","p_comments":"0","p_status":"WAYBACK","us_key":"1013526","us_name":"mundell","us_username":"mundell","event_start":"1492732800","event_key":"69","event_name":"LD 38"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD38","removed_author":false},"_superparent":9405,"_trust":1,"author":13526,"body":"- Brushed up on laws of gravity. I'm using a rigidbody2d with auto mass so gravity scaled nicely with planet size.\n- Trajectory prediction. This took awhile to get right and I think it's still a little off. Basically get velocity + calculate all gravitational forces to create a point. Step forward by a set amount and calculate with the current position and velocity again. Then draw a line between all the points.\n- Gravity on particles. I wasn't sure if this would be too cpu intensive but it seems to be running fine on most machines.\n\nMy first LDJam I wasn't sure if I should stick with what I know or try something new. I went with try something new, definitely got a lot more out of the jam as a result.\n\n![title small.gif](\/\/\/raw\/6d4\/3\/z\/23b0.gif)\nhttps:\/\/ldjam.com\/events\/ludum-dare\/38\/universal-journey","comments":1,"comments-timestamp":"2017-05-01T17:23:42Z","created":"2017-05-01T15:52:56Z","files":[],"files-timestamp":0,"id":29476,"love":2,"love-timestamp":"2017-05-10T09:16:36Z","meta":[],"modified":"2017-05-10T09:16:36Z","name":"What I learned..","node-timestamp":"2017-05-01T16:13:36Z","parent":18388,"parents":[1,5,9,9405,18388],"path":"\/events\/ludum-dare\/38\/universal-journey\/what-i-learned","published":"2017-05-01T16:13:36Z","scope":"public","slug":"what-i-learned","subsubtype":"","subtype":"","type":"post","version":74686},"node_metadata":{"n_key":"29476","n_urlkey":"305188","n_parent":"18388","n_path":"\/events\/ludum-dare\/38\/universal-journey\/what-i-learned","n_slug":"what-i-learned","n_type":"post","n_subtype":"","n_subsubtype":"","n_author":"13526","n_created":"1493653976","n_modified":"1494407796","n_version":"74686","n_status":"WAYBACK"},"source_url":"https:\/\/ldjam.com\/events\/ludum-dare\/38\/universal-journey\/what-i-learned","text":"- Brushed up on laws of gravity. I'm using a rigidbody2d with auto mass so gravity scaled nicely with planet size.\n- Trajectory prediction. This took awhile to get right and I think it's still a little off. Basically get velocity + calculate all gravitational forces to create a point. Step forward by a set amount and calculate with the current position and velocity again. Then draw a line between all the points.\n- Gravity on particles. I wasn't sure if this would be too cpu intensive but it seems to be running fine on most machines.\n\nMy first LDJam I wasn't sure if I should stick with what I know or try something new. I went with try something new, definitely got a lot more out of the jam as a result.\n\n![title small.gif](\/\/\/raw\/6d4\/3\/z\/23b0.gif)\nhttps:\/\/ldjam.com\/events\/ludum-dare\/38\/universal-journey","title":"What I learned..","wayback_source":[]}