{"author_name":"StephenJacob","cat":"LD #29","comments":[],"epoch":1398569100,"likes":0,"metadata":{"p_key":"31302","p_author":"StephenJacob","p_authorkey":"5806","p_urlkey":"66793","p_title":"Pathfinding and map loading.","p_cat":"LD #29","p_event":"LD29","p_time":"1398569100","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"5806","us_name":"StephenJacob","us_username":"stephenjacob","event_start":"1398384000","event_key":"22","event_name":"LD29"},"text":"<p>I&#8217;d love some feedback on the soldier sprite as I&#8217;ve spent about an hour making it and I don&#8217;t know if any of it is recognizable.<\/p>\n <p>Drawing small stuff is so much harder, I had to have it fit in a 40&#215;40 tile.<\/p>\n <p>He is holding a plasma weapon (hence the green ammo box-thingy) but I don&#8217;t know if people will\u00a0 understand it&#8217;s a weapon because it looks like a black blob with some green on it.<\/p>\n <p>&nbsp;<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/soldier1.png\"><img class=\"aligncenter size-full wp-image-349424\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/soldier1.png\" alt=\"soldier1\" width=\"40\" height=\"40\" \/><\/a><\/p>\n <p>&nbsp;<\/p>\n <p>I got A* and patrolling working.<br \/>\n Entities each have a patrol, a list of waypoints with no obstacles between them, that they follow. When they need to deviate from this patrol they start to use A* until they get back to it.<br \/>\n I&#8217;m loading the map from a png with each pixel corresponding to a 40&#215;40 tile with the color corresponding to the tile type.<\/p>\n <p>The code is not very\u00a0 interesting so far, pretty standard stuff. I&#8217;m gonna get to the stealth part soon which will be more interesting.<\/p>\n <p>Here is a video: <a href=\"https:\/\/www.youtube.com\/watch?v=DQnrSlwS4yg&amp;list=PLNathY3H83mp6hiSWm__ks4yORpl5ce1A&amp;index=46\">A* and patrolling<\/a><\/p>","time":"April 26th, 2014 10:25 pm","title":"Pathfinding and map loading."}