{"assets":[],"author_link":"author\/gbgames\/","author_name":"GBGames","cat":"LD  #18 - Enemies as Weapons - 2010","categories":["LD  #18 - Enemies as Weapons - 2010"],"comments":[],"epoch":1282510980,"event":"LD18","likes":0,"metadata":{"p_key":"77291","p_author":"GBGames","p_authorkey":"0","p_urlkey":"286015","p_title":"Missed the Deadline but Continuing On","p_cat":"LD  #18 - Enemies as Weapons - 2010","p_event":"LD18","p_time":"1282510980","p_likes":"0","p_comments":"0","p_status":"WAYBACK","us_key":null,"us_name":null,"us_username":null,"event_start":"1282262400","event_key":"4","event_name":"LD18"},"source_url":"2010\/08\/22\/missed-the-deadline-but-continuing-on\/","text":"<p>I got to Iteration 3 by scrapping some of the art and animations I had planned for Iteration 2. Those story points go back into the backlog.<\/p>\n<p><a href=\"http:\/\/www.flickr.com\/photos\/29086141@N03\/4917614132\/\" title=\"Iteration 3 by gbgames, on Flickr\"><img alt=\"Iteration 3\" height=\"180\" src=\"http:\/\/farm5.static.flickr.com\/4121\/4917614132_8d010558a3_m.jpg\" width=\"240\"\/><\/a><\/p>\n<p>Iteration 3 was a bear. It was where a lot of the advanced AI had to be implemented. I\u2019ve never done A*. Most of my AI was very simplistic, which went with the simplistic games I\u2019ve done before. This game was going to be different. <\/p>\n<p>Or at least I hoped it would. Entities would bumble about, get stuck, and fly off the world map even though I explicitly told them not to! <\/p>\n<p>I had a quick lunch which was easy to make while I continued to work.<\/p>\n<p><a href=\"http:\/\/www.flickr.com\/photos\/29086141@N03\/4917615486\/\" title=\"Vegan pizza and applce juice by gbgames, on Flickr\"><img alt=\"Vegan pizza and applce juice\" height=\"180\" src=\"http:\/\/farm5.static.flickr.com\/4139\/4917615486_49a30cdc79_m.jpg\" width=\"240\"\/><\/a><\/p>\n<p>Unfortunately, the deadline for the main Ludum Dare compo passed when I finally figured out the A* algorithm (it turned out that there was a greater-than sign when there should have been a less-than sign, which is why the entities were moving so strangely). After the pathfinding, the entities still had to interact. <\/p>\n<p>I had the Hero moving toward targets it sees nearby, although every so often I see that he gets stuck in a certain tile for some reason. Enemies seem to have trouble moving to the Hero like I expect, but they find him soon enough.<\/p>\n<p>But with Iteration 4, they fight! <\/p>\n<p><a href=\"http:\/\/www.flickr.com\/photos\/29086141@N03\/4918783202\/\" title=\"Iteration 4 by gbgames, on Flickr\"><img alt=\"Iteration 4\" height=\"180\" src=\"http:\/\/farm5.static.flickr.com\/4102\/4918783202_e6504a2df3_m.jpg\" width=\"240\"\/><\/a><\/p>\n<p>Do you see how the Hero\u2019s health is down? <\/p>\n<p><a href=\"http:\/\/www.flickr.com\/photos\/29086141@N03\/4918944362\/\" title=\"See enemies put on the hurt! by gbgames, on Flickr\"><img alt=\"See enemies put on the hurt!\" height=\"180\" src=\"http:\/\/farm5.static.flickr.com\/4116\/4918944362_90513100c5_m.jpg\" width=\"240\"\/><\/a><\/p>\n<p>That\u2019s the first time it has been like that outside of arbitrary tests being conducted. One of the dragons did that! Good job, my babies! <\/p>\n<p>Since the main compo is over, the only option I have left is to continue on. I can still try to enter the Ludum Dare Jam, which gives me an extra 24 hours before the submission deadline.  <\/p>\n<p>For now, though, I\u2019m going to bed. These last 48 hours have been grueling, frustrating, and exciting.<\/p>\n<p>Tags: <a href=\"http:\/\/ludumdare.com\/compo\/tag\/foodphoto\/\" rel=\"tag\">foodphoto<\/a><\/p>","time":"August 22nd, 2010 9:03 pm","title":"Missed the Deadline but Continuing On","title_was_empty":false}