{"author_name":"dallonf","cat":"LD #31","comments":[],"epoch":1417967220,"likes":2,"metadata":{"p_key":"23297","p_author":"dallonf","p_authorkey":"44672","p_urlkey":"58685","p_title":"AI is fun.","p_cat":"LD #31","p_event":"LD31","p_time":"1417967220","p_likes":"2","p_comments":"0","p_status":"UPD5","us_key":"44672","us_name":"dallonf","us_username":"dallonf","event_start":"1417737600","event_key":"26","event_name":"LD31"},"text":"<p>Just added more enemies to my game (that is, more than one). Their AI is really simple: <\/p>\n <p>1. Target the player and pathfind directly to them<br \/>\n 2. If, at any point during this process, you are not the closest enemy to the player within a certain radius, pathfind somewhere random, then go back to 1.<\/p>\n <p>And that made the game SO much more awesome! They&#8217;ll corner you in tight spaces and you&#8217;ve really got to watch where you&#8217;re going.<\/p>\n <p>Now the game is super hard, though, so I think I need a better respawn system&#8230;<\/p>\n <p><a href=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/12\/warehouse5.png\"><img src=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/12\/warehouse5-300x219.png\" alt=\"warehouse5\" width=\"300\" height=\"219\" class=\"alignnone size-medium wp-image-415516\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/12\/warehouse5-300x219.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/12\/warehouse5-550x401.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/12\/warehouse5.png 763w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>","time":"December 7th, 2014 10:47 am","title":"AI is fun."}