{"author_link":"\/users\/gtrogers","author_name":"gtrogers","author_uid":"gtrogers","comments":[],"epoch":1532903765,"event":"LD42","format":"md","ldjam_node_id":100222,"likes":2,"metadata":{"p_key":"115767","p_author":"gtrogers","p_authorkey":"1059952","p_urlkey":"331737","p_title":"Code snippets for LD42 -  Click to move","p_cat":"LDJam ","p_event":"LD42","p_time":"1532903765","p_likes":"2","p_comments":"0","p_status":"WAYBACK","us_key":"1059952","us_name":"gtrogers","us_username":"gtrogers","event_start":"1533859200","event_key":"73","event_name":"LD 42"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD42","removed_author":false},"_superparent":97793,"_trust":1,"author":59952,"body":"There a couple of things I keep forgetting when coding games. To help myself (and other people!) remember I'm going to open source a bunch of code snippets over the next few days. I like using Love2d for this kind of stuff but the concepts should work anywhere.\n\nHere's one on basic click to move style movement for a 2d game: https:\/\/gist.github.com\/gtrogers\/0a224b46381f4084e72bcbaee533e08f","comments":2,"comments-timestamp":"2018-07-30T09:35:09Z","created":"2018-07-29T22:32:41Z","files":[],"files-timestamp":0,"id":100222,"love":2,"love-timestamp":"2018-07-30T07:33:41Z","meta":[],"modified":"2018-07-30T09:35:09Z","name":"Code snippets for LD42 -  Click to move","node-timestamp":"2018-07-29T22:36:05Z","parent":100221,"parents":[1,5,9,97793,100221],"path":"\/events\/ludum-dare\/42\/trispace\/code-snippets-for-ld42-click-to-move","published":"2018-07-29T22:36:05Z","scope":"public","slug":"code-snippets-for-ld42-click-to-move","subsubtype":"","subtype":"","type":"post","version":292376},"node_metadata":{"n_key":"100222","n_urlkey":"331737","n_parent":"100221","n_path":"\/events\/ludum-dare\/42\/trispace\/code-snippets-for-ld42-click-to-move","n_slug":"code-snippets-for-ld42-click-to-","n_type":"post","n_subtype":"","n_subsubtype":"","n_author":"59952","n_created":"1532903561","n_modified":"1532943309","n_version":"292376","n_status":"WAYBACK"},"source_url":"https:\/\/ldjam.com\/events\/ludum-dare\/42\/trispace\/code-snippets-for-ld42-click-to-move","text":"There a couple of things I keep forgetting when coding games. To help myself (and other people!) remember I'm going to open source a bunch of code snippets over the next few days. I like using Love2d for this kind of stuff but the concepts should work anywhere.\n\nHere's one on basic click to move style movement for a 2d game: https:\/\/gist.github.com\/gtrogers\/0a224b46381f4084e72bcbaee533e08f","title":"Code snippets for LD42 -  Click to move","wayback_source":[]}