{"assets":[],"author_link":"author\/mantis\/","author_name":"mantis","cat":"LD #25","categories":["LD #25"],"comments":[],"epoch":1356578280,"event":"LD25","likes":6,"metadata":{"p_key":"78352","p_author":"mantis","p_authorkey":"0","p_urlkey":"287362","p_title":"7 games in 7 (plus a bit) days finished! \u2013 LD 25\/warmup Post Mortem","p_cat":"LD #25","p_event":"LD25","p_time":"1356578280","p_likes":"6","p_comments":"0","p_status":"WAYBACK","us_key":null,"us_name":null,"us_username":null,"event_start":"1355443200","event_key":"14","event_name":"LD25"},"source_url":"2012\/12\/27\/7-games-in-7-plus-a-bit-days-finished-ld-25warmup-post-mortem\/","text":"<p>Keep in mind that this entry was finished AFTER the LD, and is here only because I wanted to share my thoughts. Also, I didn\u2019t quit even after the deadline ended and worked on the game, because NEVER GIVE UP, NEVER SURRENDER! <img alt=\":)\" class=\"wp-smiley\" src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/icon_smile.gif\"\/><\/p>\n<p><img alt=\"Final game\" src=\"http:\/\/dl.dropbox.com\/u\/48165111\/LudumDare25\/ludumdare25screen014.png\"\/><\/p>\n<p>I have finished it. And on my birthday, too . What a wonderful gift to myself <\/p>\n<p>After not having that much free time on the weekend and during the week, I finally managed to closed the deal (more or less) on the strategy game. This concludes our challenge. Sure, the last game took longer than one day, but I have finished it, which is most important after all. Giving up is never an option.<\/p>\n<p>It\u2019s not fully equipped, there are bugs, there are features missing (intro\/help menu, display of attack range), but the game is playable, from start to end.<\/p>\n<p>So, how did I go around creating it? As this was the biggest game, I had to combine everything I learned to make it happen. I\u2019ve started, as always, by drawing some characters and textures to get me in the mood, trying to figure out what style should I go for:<\/p>\n<p><img alt=\"styles\" src=\"http:\/\/dl.dropbox.com\/u\/48165111\/LudumDare25\/ludumdare25screen001.png\"\/><\/p>\n<p>During that phase, I laid out the game design in my head. I decided that it would be a turn based tactics game, similar to XCOM. For that kind of game I needed couple new things:<\/p>\n<p>-Pathing algorithm (I\u2019m using A*), on which I spent majority of the first day, setting up the tile system, character-tiles interaction. It still doesn\u2019t take into account many things, so opponent units can stack themselves, and the AI is wonky at best, but we\u2019ll come later to that.<\/p>\n<p>-Menu\/notice system: the game was complicated enough that the feedback that can be given by simple icons was just not enough. I wrote a tiny script that displayed overlaying menus and notices, and shaded the screen using dithering (later on I decided that it was shame I didn\u2019t use same thing for the floor hilighting system.<\/p>\n<p>Second day I have spent mostly connecting the pieces I wrote earlier, and adding AI.<\/p>\n<p>Holy shit, the AI.<\/p>\n<p>Now, I had basic pathfinding, but it was written in the wee morning hours, after loooong day, so it was far from perfect. My code started getting more spaghetti like, and I had to write ginormous state machine to govern the AI. The turn based system support was also something that I haven\u2019t had prepared place in code for the start, so it needed to be hacked in by tons of bools and timer variables. The pathfinding worked only on tiles, checking if they were passable or not, didn\u2019t check if there were other units already there. Picking nearest unit to attack also didn\u2019t work that well. The AI would be cruising in same, A*-predicted lines as soon as it saw you, so they\u2019d form nice conga line for your skeletons to shoot.<\/p>\n<p>On the other hand, it worked well enough. It could kill the player, and that was fine enough for me.<\/p>\n<p>Last hours (over the week, like I said \u2013 had to stop developing game over the weekend) were mostly making sure that the game is actually playable and some early polish.<\/p>\n<p><a href=\"http:\/\/dl.dropbox.com\/u\/48165111\/LudumDare25\/LudumDare25.html\">HERE\u2019S THE GAME!<\/a><\/p>\n<p>Little bit about it:<br\/>\n<code>CONTROLS:<\/code><\/p>\n<p>Select unit with left mouse button, move them within their move radius with right mouse button, you can attack units you're next to with your melee warriors, ranged warriors can kill units within their range.<\/p>\n<p>Middle mouse button hold + mouse move or arrow keys move the screen.<\/p>\n<p>Back\/Next icons jump between your units.<br\/>\nDone icon ends your turn.<br\/>\nCast icon lets you summon units and cast Heal.<br\/>\nFloppy disk icon lets you enter options (restart only in this version)<\/p>\n<p>Story fast version:<\/p>\n<p>World is heading downhill in the Fantasyland. Feudal lords are oppressing the common folk, and abusing their power to do 'good' deeds, that are only good for them. One necromancer has had enough, and decided to wage war on the Lords. With his awesome powers he tries to overcome the obstacles and win against the evil knights.<\/p>\n<p>Gameplay:<\/p>\n<p>This is a turn based tactics game. You control a squad of units, each of which has following stats:<\/p>\n<p>-attack, governing damage it can deal<br\/>\n-defence, governing how likely is it to defend the strike and take minimal damage<br\/>\n-health, when this runs out, the unit dies<br\/>\n-speed, governing how far can can it move every turn<\/p>\n<p>You, as the necromancer, have spiritual energy. You start with 20, and can use it to summon more army, and empower the one you have. You replenish the resource by killing enemies.<\/p>\n<p>-knight gives you 1 units of spiritual energy<br\/>\n-goat gives you 2 units<br\/>\n-Lord gives you 10 units<\/p>\n<p>Killing the Lord also ends this version, so that doesn't matter, but in full version, where you would have to defeat many lords, that would be important.<\/p>\n<p>You can summon 3 kinds of units:<\/p>\n<p>1) Ghost, your basic scout unit. Moves quite fast, is cheap, and has average health, but poor attack power.<br\/>\n2) Skeleton Archer, your ranged unit. Can shoot units at a distance of 4 squares. Hits decent, but has poor defences, needs to be kept out of front lines<br\/>\n3) Zombie, your toughest warriors. Slower than other units, but pack quite the punch, and are very tough.<\/p>\n<p>And that\u2019s it for the game.<\/p>\n<p><img alt=\"hidden\" src=\"http:\/\/dl.dropbox.com\/u\/48165111\/LudumDare25\/ludumdare25screen006.png\"\/><\/p>\n<p>And here is a list of the entries in the series:<\/p>\n<p><a href=\"http:\/\/www.gamedev.net\/blog\/704\/entry-2255592-7-games-in-7-plus-a-bit-days-finished\/\">Last Day summary and Challenge Post Mortem<\/a><br\/>\n<a href=\"http:\/\/www.gamedev.net\/blog\/704\/entry-2255571-ludum-dare-25-post-1-let\u2019s-get-rolling\/\">Ludum Dare preparation<\/a><br\/>\n<a href=\"http:\/\/www.gamedev.net\/blog\/704\/entry-2255548-7-games-in-7-days-day-6-finished\/\">Day 6 summary<\/a><br\/>\n<a href=\"http:\/\/www.gamedev.net\/blog\/704\/entry-2255534-7-games-in-7-days-day-5-finished\/\">Day 5 summary<\/a><br\/>\n<a href=\"http:\/\/www.gamedev.net\/blog\/704\/entry-2255531-7-games-in-7-days-day-4-finished\/\">Day 4 summary<\/a><br\/>\n<a href=\"http:\/\/www.gamedev.net\/blog\/704\/entry-2255528-7-games-in-7-days-day-3-finished\/\">Day 3 summary<\/a><br\/>\n<a href=\"http:\/\/www.gamedev.net\/blog\/704\/entry-2255525-7-games-in-7-days-day-2-finished\/\">Day 2 summary<\/a><br\/>\n<a href=\"http:\/\/www.gamedev.net\/blog\/704\/entry-2255513-7-games-in-7-days-day-1-finished\/\">Day 1 summary<\/a><br\/>\n<a href=\"http:\/\/www.gamedev.net\/blog\/704\/entry-2255510-ludum-dare-preparations\/\">Series kick off<\/a><\/p>\n<p>So, how about a little summary of the long week?<\/p>\n<p><strong>7 Games in 7 Days Post Mortem<\/strong><\/p>\n<p>The week was tough. Like, really tough. But I got through it, I managed to refresh my skills, and I am looking happily into my future as a past time game developer. Let\u2019s see what I learned.<\/p>\n<p>General lesson was, as expected, don\u2019t overwork yourself. I could\u2019ve finished the Strategy game if I\u2019ve crunched hard, but I\u2019m happy that I didn\u2019t. 2-4 hours every day of afterwork development is good enough to make a game in short amount of time, and way better for your health and personal life.<\/p>\n<p><strong>The bad:<\/strong><\/p>\n<p>\u2013 When I was really in the zone, I lost track of time. I spent 24 hours straight in front of computer developing the Dungeon Crawler. That didn\u2019t make my girlfriend happy, and when she\u2019s unhappy, that means something\u2019s really wrong. She knew that I was preparing for the LD, but whole week of coming to bed later and later every night did put a strain on the relationship (nothing serious, but really REALLY unnecessary and whatever the earnings, not worth it).<br\/>\n\u2013 The tempo. I had really tough week at work, and the challenge meant I didn\u2019t get even one day of rest, but rather not sleep till 3am+ every night. My sleep schedule started slipping, and last day I pulled an all-nighter, going to sleep at 1pm. I was recovering from that most of this week.<br\/>\n\u2013 Art before coding. Sure, it might\u2019ve helped me stayed focused and interested, but I was supposed to write games, and while first games were fast enough, starting from Adventure Game, the art took WAY too big part of the game development time. Because of that, I had only one drawn screen in Adventure Game \u2013 I noticed how late it was, and I was still playing around with art, not having any gameplay to speak of.<\/p>\n<p><strong>The good:<\/strong><br\/>\n\u2013 I did make 7 games. That\u2019s a massive boost to the self confidence. I haven\u2019t really finished a personal project in ages, so when I look at these games, I feel like I can take on big challenges again. I even feel like picking the games (especially Dungeon Crawler) and expanding on them, possibly turn them into full products.<br\/>\n\u2013 I haven\u2019t given up on the challenge two times: first, when I worked really late in the night and didn\u2019t finish any real game (with the Racer), and second time, with the Strategy, which I had to put off in time, due to work and personal issues. I have continued the challenge after the first, which was really discouraging, and I didn\u2019t give up on the second till I decided it was \u2018good enough\u2019, even though the 7th day (or, indeed, Ludum Dare) was long over. I was rewarded with huge feeling of satisfaction for both of them.<br\/>\n\u2013 I really got from 0 to hero, engine knowledge wise. First game was a really bad clone of Asteroids, and last game was quite complicated strategy game, combining every single lesson learned so far.<br\/>\n\u2013 Art before coding. Sure, it might\u2019ve stopped me from doing awesome stuff, but when I was doing them, my brain was resting, I wasn\u2019t thinking about solving some hard problems with code, but rather looking at happy little pixels.<br\/>\n\u2013 Choosing the VIC-II palette was great. Limitation has turned into inspiration. Less colours make my sprites look better and more interesting. Working on them and trying to figure out how to achieve certain effects was FUN, with capital F, U and N.<br\/>\n\u2013 7 different game genres. Each day new, exciting set of challenges waited for me, and that at least a bit alleviated the challenge fatigue.<br\/>\n\u2013 Tools. As the days progressed, I got more and more skilled in using GraphicsGale and Blender. That helped me every next day, when I had to do more complicated stuff in same percentage of development time.<br\/>\n\u2013 Simplicity. Each game was designed to be as simple as possible, and for the most part it worked out really well. I rarely if ever had to cut features, and there was enough time to implement full games.<br\/>\n\u2013 SUPPORT OF THE PEOPLE: thanks to people that were interested and commenting, I found strength each day to sit in front of computer and continue coding, for the 16th+ hour that day. Without you guys, I would have never managed. Thanks! Really, that meant a lot to me.<\/p>\n<p>And on this, I will end. But keep your eye out on the lookout for more projects that I\u2019ll be working on. I hope you\u2019ll enjoy them as well.<\/p>","time":"December 27th, 2012 3:18 am","title":"7 games in 7 (plus a bit) days finished! \u2013 LD 25\/warmup Post Mortem","title_was_empty":false}