Posts Tagged ‘LD22’
For those that get stuck, can’t play the game, or just don’t have the patience to experiment… I’ve created a game guide / mini walkthrough for my Ludum Dare 22 game, Ab-Alone.
You can check it out and rate the game HERE.
I’m also working on compiling a list of some of my favorite LD22 games for a future post.
Due to the fantastic packaging advice post now stickied to the page, I created a web applet wrapper for my game so that it could be played in browser, for those who don’t want downloads cluttering up their desktop.
I tested it in Chrome and in Firefox, please let me know if another browser is having trouble.
It is a little buggy because it is just a wrapper and is still trying to process the executable code, had I had this in mind from the start I could have segmented it better. Something to keep in mind for the next one.
Blurry, stupidly sped up, and crazy alt tabbing so you can’t see anything. Enjoy.
This is the time lapse of the full 48 hours of development, trimmed slightly so you don’t have to wait 30 seconds while I’m sleeping.
I like the concept of a timelapse, it makes it look like I know what I’m doing when I code something, as opposed to making it up as I go.
And again, if you could please play and rate my game, as well as leave any constructive criticisms, that would be greatly appreciated. Thanks
The last man on Earth sat alone in a room. There was a knock on the door…
When I heard Alone was chosen as the theme, a set of bizarre ideas immediately appeared in my mind. I really wanted to explore about the feeling of being alone, about the psychological effect of it. Also, I had read The Knock recently so I wanted to explore more about that subject.
The tools I used included:
- Adobe Photoshop
- Adobe Lightroom
- Adobe Flash
- Flashdevelop / ActionScript 3
- as3sfxr »
- Aviary »
- A standard Digital Camera
- Some burned papers
- A friend (lol)
The art is rather simple, I took some photos of my house and I asked a friend to model for me. We did some shots of him walking, but because I lack equipment (tripod, marks, etc) the result looks a little bad. I did my best to correct the photos in Photoshop. The room is a part of my house, that isn’t even a room, but I couldn’t take a picture of a real room because the camera angle was too short. I applied Exposure and Posterize to all the images.
The programming was done entirely in ActionScript 3, using some features of my own library, but the vast majority was to be made from scratch. I used Flashdevelop because I’m really fast with it… Just press Ctrl+Shift+1 and it’s like magic!
I think I’ll work more time on this game. I’ll add more puzzles, make an easy mode, add language support, and maybe more rooms to explore, or explore more about the story. For example, what happened upstairs?
This was my second time on Ludum Dare, and I think it was a really good experience. I don’t think there’s something that went wrong, maybe next time I’ll add more features to my framework, like effects, sound support and embedding support; but at the end I managed to do what I intended to do.
Developers often do a “Post-Mortem” after completing a project, exploring the things that went right and wrong. This helps them keep track of what they’ve learned and also help other people who are going to try the same thing.
What went right
“Alone” is really a mood theme, rather than a mechanics one, and that had me a bit stumped at first. All the neat “physics” and “sim” ideas I had in my head needed to be thrown out. The gameplay was to be a slave to the story, which is pretty much the inverse of how I usually think.
Right from the beginning, I had toyed with the idea that the protagonist is not literally alone — just that he feels alone. Paper Town takes that the next level and places the player in the mind of someone who is psychologically damaged and is living in a world where he perceives himself to be alone and can’t recognize the presence of people around him who are trying to help.
I believe it’s an idea that can resonate with a lot of people. You may feel lonely, but at the same time you pull away from other people and avoid talking to strangers. This explores the extreme outcome of that: The character will in one line of dialog lament the fact that everyone has left him, but in another line of dialog scream “LEAVE ME ALONE” to the nebulous entities that sometimes appear.
It’s through the development of the story via note pickups that the character finally gets a chance to recognize that his solitary universe is self-inflicted and that he can break out of it through a true desire to be with other people.
For a lot of people, the spirit of Ludum Dare is to build everything from scratch — or as much as is possible without implementing your own programming language and basic library of functions. However, I very much wanted to build a complete game and starting with a fully functional gaming engine went a long way towards ensuring that. Being able to drop in primitives and start programming behaviour 5 minutes after deciding on an outline for my game was incredible. Not having to worry about how to load images and sound, nor do physics, was likewise amazing. Also, having access to some great pathfinding middleware was also exceptionally helpful, though it brought its own problems (see below).
On the other hand, since my challenge wouldn’t be about the base engine, it means that I had to make certain that my execution of the theme was top notch. I wanted to tell a complete story, and I wanted to make sure that there was a way to win and to lose the game. I think it takes about 10 minutes to win.
I didn’t have the time or the ability to do any 3d modelling, but I did as much as I could using pure primitives (cubes, planes, spheres, and capsules). I’m also pretty keen on my moody lighting effects.
While there are certainly things I would have liked to have gotten done if I had more time, I actually didn’t feel very rushed during the 48 hours, and I think a lot of it had to do with having a solid time plan right from the beginning.
The theme announcement and start of the competition was at 9:00 PM my time on a Friday, so that evening was all about coming up with the idea for the gameplay and story, and to setup the initial environment in Unity (terrain, character, a simple building, and the ability for the player to click/pathfind around the obstacle).
Saturday was planned to be “gameplay” day. I generally didn’t worry about the actual looks/art. The game just had to be playable, and by the end of the day all the major gameplay features were present:
- Randomly generated city, including 4 types of buildings, streets with intersections, lightposts with actual lights
- Enemies that would spawn, patrol around, and chase the player if they saw him — dealing damage if they got close.
- Pickups for the player, which would be stored in inventory
- The ability to create a “paper doll” with the right items. A “paper doll” is a turret that shoot bullets at enemies.
Sunday was planned to be “story development”. I know it may seem weird to play on having 50% of your time to do all the “real” features and 50% of the time to do “fluff” and polish, but in practice the big features don’t take that much time. They’re often far more straightforward and easier to understand. It’s the fine-tuning that can be really time-consuming, but it’s also the thing that truly sells your product in the end.
I think my final story is a bit cliche and maudlin, but still works to really sell the theme. This time allocation meant that I was also comfortable spending time making sounds and intro/end screens, which I think are an important part of the “complete” package but often get overlooked in the face of adding more gameplay features.
Things I did on the final day:
- Redid city generation (it was crap and the road/fence were very crap)
- A dialog system, allowing the story to be told during gameplay (and also to explain gameplay mechanics as they come up)
- Added a new pickup type: Notes. These are used for the victory condition and also trigger lots of dialog.
- Changed player to WSAD/Mouse movement
- Fiddled with the pathfinding multiple times
- Rebalanced the enemies and pickups multiple times
- Added a day/night cycle, which looks good and controls enemy spawning
- Intro screen!
- Win and loss screens!
- Sound effects!
Food and Drinks
Lots of good, satisfying food at my disposal. No junk food, and nothing that would leave me with messy fingers. Also, everything could be prepared in just a few minutes, minimizing downtime.
- Bacon and Eggs
- Avocado with Sriracha hot sauce (sooooo goood)
- Tuna salad
- Leftover ground beef/veggie casserole
Note that these are low-carb, high fat foods that fit into my Keto diet. If someone on a standard diet ate like this for 48 hours, they’d probably feel a bit foggy-headed, which wouldn’t be ideal for the competition.
This was by far the single best choice I made with regards to Ludum Dare. Having hundreds of people watching me all weekend kept me motivated and entertained and provided me with a veritable army of beta-testers! I had to create all the game code and content myself, but having people provide immediate feedback was invaluable.
Many Ludum Dare games don’t have any sound, or at best just include a few bloops and bleeps generated with a tool like BFXR – which was absolutely my plan too. However, in practice I really wasn’t happy with these sounds. I felt like their arcadiness took away from the mood of the game, and I’d just about given up on the sound (which was already an Final Hour job)…but my stream viewers made a case for the importance of sound and music. And I’m happy they did!
So I went to Plan B for sound, which was simply to use my microphone. Sound effects for item pickups came from flipping pages in a book (Python & XML in a Nutshell), and music came from something I’ve never done before: Me playing an instrument in front of an audience. I played a few bars of some badly off-tempo blues scale on my harmonica and then slowed down the recording (which also lowered the pitch). The result is a haunting soundtrack (with two songs) that – while far from good – is way better than no sound at all.
What went wrong
One of the resources that was in my toolbox even before the theme was announced was the great A* Pathfinding middleware by Aron Granberg. It’s a very simple drop-in solution that makes it pretty easy to add basic pathfinding to a project. I like to use it by attaching an empty “pathfinding target” gameobject to my units and just moving that target around to make things happen.
Unfortunately, I ran into some limitations with the default way of using the middleware that caused to pretty serious problems and almost wrecked my whole idea. I wanted a fairly large city for the player to explore, but the combination of a large area with the need for a fairly fine pathfinding grid (to be able to maneuver around furniture around buildings) meant that we were generating far too many nodes and Unity would crash. After some fiddling, I was able to find a compromise between city size (3×3 blocks with 2×3 buildings each, for a total of 54 buildings) and grid resolution. At that point, things seemed to work pretty well until I started balancing the game.
It quickly became apparent that I needed quite a few enemies to appropriately populate my relatively large city space, but as I increased the number of units my pathfinding system started to lag. Luckily it’s pretty intelligently designed, so the actual game performance was unhindered, but the pathfinding request queue was taking longer and longer to get through. This wasn’t necessarily a problem for the AI, since it’s not the end of the world if it takes them half a second to change to a new path in response to stimulus (it just makes them a tad easier to juke).
For the player’s mouse-controls, however, it was a big problem.
One of the first things I added to the game was a click-to-move functionality. Reasons for this were varied, but a big part of it was a drive for simplicity. I wanted a game that was utterly intuitive for anyone to play.
My initial approach was to do a raycast from the screen to the ground when the mouse was clicked, which worked great. Unfortunately, Unity doesn’t provide a simple way to eat mouseclicks when the player hits the GUI, so interacting with it meant the player was moving unintentionally.
The second approach was to have the ground react to OnMouseClick events, which worked just as well but wouldn’t be triggered when the user was clicking on the UI. Unfortunately, it also does not trigger if the user is clicking on another model, including my road segments and building floors, so I had to ensure that my “HandleMouseClick” behaviour existed on all relevant objects, including pickups. This worked okay. Until I ran into my pathfinding issues.
During the day, everything was pretty good (minus a little funniness due to the pathfinding grid resolution), but at night when enemies showed up, there was a noticeable delay when clicking due to the pathfinding queue being pretty full.
In the end, I gave up on mouse controls and switched to WASD/Arrow controls, leaving the player feeling very responsive.
I’d decided pretty early on to make the building outer walls quite low, that way the player could easily click on the ground inside and also not worry about the player being hidden behind a wall (due to my fixed camera angle). This lead to me having to fiddle a bit with my line-of-sight tests with enemies, because they shouldn’t see the player through a wall. I had to make sure that my raycast was low enough to be blocked by the short walls, but high enough to not get screwed up by the lip around the road or the strange mesh deformity on the player’s capsule model. It ended up being kind of fiddly.
It would have been nice to put an invisible wall around the buildings and have them block enemy LOS rays, but between the UI, the “shade” block inside the buildings, and the invisible walls I couldn’t figure out a way to allow mouse-click raycasts to get through while blocking enemy raycasts.
Of course, that was all moot by my switch to WASD/Arrow movement, but that change happened way too late in development to save me any trouble with the enemies.
Randomly generated content
This always SOUNDS so cool, but for a game like this I’m not sure it does anything for the gameplay, nor am I sure that it saved me any time. Yes, placing individual buildings would have been a pain, but I spent so long having to tweak the system so that the buildings and roads all ended up in the correct location that I think it took longer than doing it manually would have. And it’s still not perfect! There’s slightly more space on one side of the blocks than on the other.
Even things like Pickup spawns were totally random at first, but sometimes pickups would land on top of objects and be inaccessible to the player. Ultimately, I placed empty gameobjects to act as spawn points and that worked so much better (I also did this with enemies).
So if I *did* want randomized buildings, without having to worry about getting my placement math right, I should have manually positioned building placeholders and just have them be populated at program start.
Note that I had intended to make my city bigger (which is why I felt that random generation was the way to go), but I had to scale down my plans due to pathfinding contraints. I do think my final city is a good size for the actual game.
The idea that the protagonist has devolved to making paper dolls in order to combat his loneliness came about very early and was meant to be a major part of the gameplay, adding in a “tower defense” component. However, this never came to be and as a result the act of creating the paper dolls and their use in gameplay is rather secondary. It’s still better than not having them at all (and having the game just be about exploration and hiding), but I think more could have been done with them.
To a certain extent, the weakness of the doll theme is a result of the time limitations with regards to creating more enemy types and behaviours and just general game balance. I also think that the dolls are dependent on a certain amount of art development — I think they deserve a cutscene for their creation, to add real emotional depth.
Another contributing factor to not further developing the paper dolls idea was the conflict between static, unmoving, tower-defensive gameplay and the need to explore to find notes to advance the story (and win the game). Making the dolls secondary (and have very limited ammo) turned them into something that was just a tool to help you survive a bit longer and facilitate your exploration (and thus completion of the story).
I consider this project to have been a HUGE SUCCESS! I program all the time, but usually I’m making business-oriented web applications. I have started many games, but I’ve never finished one before. Paper Town may be rough, but it is a complete game and that makes me extremely happy.
Also, even if the game hadn’t worked out, we still had a stream that averaged 100 people for an entire weekend. That’s amazing!
I absolutely hope that I can participate in the next Ludum Dare, but I also hope that I can find more time to make games in general.
You can find ALONE with K.I.T.T.I. here: http://www.ludumdare.com/compo/ludum-dare-22/?action=rate&uid=7263
What went wrong?
There was an unexpected family emergency that took up the better part of 10 hours. The emergency was unavoidable, and unforeseen. It was unfortunate, but I absolutely do not regret missing the 10 hours.
That said, 10 hours is a lot of time in a 48 hour competition. After sleeping for about 10 total hours and the family emergency, I was left with about 28 hours of total work time. Not bad, but it was not evenly distributed, requiring some energy drinks and long periods without sleep. If I had had the 10 hours, about 4 of it would have been for sleeping on Saturday night, and the rest would have been time spent on polish.
My first time sync when working on the project was going with the sprite.js library — it’s an amazing library, but I hit a wall when I realized the support for Tiled, which I was banking on, was not really all that complete. I was going to use melonJS from the outset, but then a couple of days before the competition, I decided sprite.js would offer a better experience. I had tested it out before the competition, and thought I could get everything to work based off of one of the libraries examples, but you know how that goes.
I ended up switching everything over to melonJS, which has faculties for reading Tiled maps directly. In the end, I think this was beneficial to the overall project, but it did eat up time. If I had just used melonJS from the beginning (like I had originally planned), I would have had at least another 3 hours of work time.
My second time sync was maps. I initially built a small test map, and iterated features over that map. The test map was an excellent strategy I think, but coming off of that I jumped into a really large map — bigger than I needed by several factors. I wasted a lot of time just trying to fill it in and make it playable. I eventually shrunk the map down, but I spent an awful lot of time with a map that I ended up throwing away.
I think if I would have just did a little more level design up front on a piece of paper, I could have avoided this time sync, and probably got several more hours to work on polish and other levels.
More experience with the Tiled editor would have helped to, but it’s pretty easy to pick up.
What went right?
The things I didn’t know well were sprite.js, melonJS, sfxr, Tiled and the music generating python script that GreaseMonkey posted about: http://www.ludumdare.com/compo/2011/12/13/if-you-find-it-hard-to-make-music-read-this/
However, I did practice using these tools before the competition, so I was comfortable using them, and they didn’t offer any surprises, or set backs (other than plain inexperience).
melonJS was fantastic to work with, and really easy to pick up with the great examples on their website.
Tiled is an amazing editor — combined with melonJS I think it really saved the project after the 10 hours I spent away from the competition.
And, of course sfxr really added a little something to the game. I’m no sound engineer, but having absolutely no sounds in a game is almost as maddening as eating at a restaurant without background music. sfxr is amazing. On top of that, it’s really easy to use!
And the Autotracker-Bu script from GreaseMonkey gave me something I thought I wouldn’t have. Perhaps the music isn’t perfect for the game, but it does add something.
My experience? Positive. I’ll definitely be doing this again. Next time I’m going to hopefully avoid emergencies, pass on the energy drinks, get some nice evenly distributed sleep, and know exactly what my libraries/frameworks are capable of going into the competition.
Happy Hacking, and I’ll see you all in April! (and possibly before that for the MiniLD’s!!)
I had a lot of issues since the end of the 48h challenge and the game wouldn’t work correctly for obscure reasons. But now it does.
You can play it here: http://www.ludumdare.com/compo/ludum-dare-22/?action=preview&uid=6638 (I strongly recommend Firefox to play it best online)
This was my first Ludum Dare and I must say that I enjoyed every moment of it. I rarely see my projects through to the end so having a time limit and some competition was very useful for motivation.
What went right?
- Time. I had plenty of time to work on this game, an empty house and no plans for the weekend meant that I could dedicate every moment I was awake/not eating to working on the game.
- Pre-planning. I planned every aspect of the game on paper and planned out exactly what order I was make everything in before I wrote a single line of code. Not a single feature in the final version wasn’t planned on paper first, a lot of features from my original plans were removed though.
- Knowledge. Every feature in my game had been made at some point or another, in some form or another, by me. The problem was trying to remember how I made them and then put them all together into a game that actually works.
- Notch. That man’s livestream had some great music. Plus, the rhythmic tapping of his keyboard was great motivation to keep typing.
- Gameplay. The idea was that my game would be hard. I wanted people to feel under pressure while they were trying to disarm the bombs, I thought that the time-limit, lack of a reset button and having to start the game from the beginning if they failed was a good way of achieving this. Plus, if no one can finish the game, no one can complain that it’s too short.
What went wrong?
- Gameplay. Apparently players don’t like to be infuriated by high difficulty levels and over-the-top punishments for making just one mistake, who knew?
- Over-estimation of my programming speed. A lot of stuff from the original plans were never in the final game, this is purely because I didn’t realize just how long it takes me to code even the most basic of features.
- Lockpicking. As a result of not having the foresight to realize how long these features would take to add, lockpicking wasn’t started until a few hours before the deadline. This resulted in lockpicking turning from the Tetris style puzzle that it was originally supposed to be and becoming a “Bash the buttons as fast as you can” minigame with awful graphics. It also meant that the option to place a previously disarmed bomb in the lock to explode it open, had to be cut completely.
Overall, I’ve learned that difficulty is not a good substitute for longevity and that believing my programming skills to be god-like is never a good idea, especially before I attempt to make something against the clock and something that other people will play.
That was a blast! This was my first Ludum Dare, but will defiantly not be my last. Thank you to everyone involved.
Before the competition started, I had designs in mind, wrote some stuff down, and was testing out a million 2D platform game mechanics. I’ve been doing primarily 3d stuff over the last year, so I began to question why I was entering a realm I wasn’t comfortable with for a 48 hour competition. At the last minute I decided to switch to a 3D approach.
The whole process was really organic, I let the game design itself. I didn’t take time to write out a plan or design document. Design documents are great, and serve their purpose… but they are no fun to play and I can use that time to add cat powered mega bullets.
What went right…
I got the full support of my wonderful and loving family. Every minute I wanted to work on the game, I had, distraction free. Can’t express the importance and appreciation of that small fact.
I completed the game. By using a definition of ‘complete’ that really only applies to games made in 48 hours. There is a hint of a story. Win/Loss conditions, mechanics, sound… The basics are there.
The game is fun. I enjoy it at least. Once I turned it in last night and the LD website went kaput, I spent a while playing it… not play testing it, but playing it. It was nice.
I believe I did a really good job with my coding time management. I worked a short time on each mechanic then really took a step back and decided if it “just didn’t feel right”, or flat out just didn’t work. Rather than beat a dead horse, I was able to drop them and move on to the stuff that did work. What I was most concerned about, generation of the antagonist and controlling it’s growth actually just worked out with minimal issues. In the beginning, it reproduced so fast it would kill the framerate after a minute or two playing… I ended up calling that “hardcore” mode, with a warning, but optimizations and balancing added later killed the fun in that
The hardcore mode “bloom attack”. The visual and sound… It just works for me.
What could have gone a lot better
I resorted to lazy coding a bit too quick. Played the “public” and “static” cards way too early. Some last minute bug fixes were a challenge, (and there are still a few minor ones lurking that I believe are tied into the above).
I got in a good chunk of time in to work on balancing and difficulty levels but it wasn’t nearly enough. A few more hours to work on balancing would have helped a lot.
The “art”, if you can call it that needed some more love. Some may find the color shifting thing a bit obnoxious… but then again, others will want more. All the modeling was done in code and consists solely of cubes. Some more interesting powerup and bullet shapes would have been nice.
Some of the sounds just don’t work for me. Except for the “bloom”… did I mention the bloom? I like the bloom.
The jealous side of me is trying to decide if next time I should go for a web game. Probably going to lose a lot of plays and votes for being a Windows-only application. Lose several more for XNA’s outside requirements. It may not be right, but it is what it is.
In the end though.. I didn’t do it for votes… I did it for the fun and the experience. And by those measures, I already won Ludum Dare.
Well, Finally got the video all rendered up! I hope you enjoy it. I certainly enjoyed the 29 hours of it! ;’D
Ok so I crashed for some sleep after submitting my compo entry and I figure now is the best time to do a postmortem.
In traditional game projects people usually go off on vacation or put off post mortems long enough to forget about the details
Forever Alone Kitten
Play / Rate it here:
Made with: Unity3d / Photoshop / BFXR / Maya
Points of frustration
- Indecision about Dialogue/Story, after the theme was announced I was at a loss for what to do. So I went through the motions of creating the game engine shell while being nagged by this. I originally wanted to make a shmup, but tried to do something moody to fit with the ‘Alone’ theme and sort of flailed around for several hours trying to define it.
- I’m still new at learning unity and wanted my entry to be made with it, so consulting the documentation repeatedly or trying to figure out proper script code to control material properties or other things slowed me down bit.
- No time for visual polish/build a proper environment. At the end I lied to myself and said its supposed to look bleak and empty anyways.
- No game restart. I realized early that worrying about adding/testing restart functionality would have slowed me down considerably, so I abandoned it even though there is some fragments of it in the game.
- Based on the player input, its possible to not see all the game narration paths, so if someone plays it only once, there is stuff I put time into that they may not see and the length or mood impact can vary. The lack of #4 (restart), or communicating that there is ‘another path’ in the game content is also problematic. This is why I don’t like permanent branching games as a game player, and prefer ‘networked world’/sandbox games because all content is explorable at anytime or multiple times. I’m not convinced story heavy games really hold up to replayability since they all seem to suck at this issue (you played this before, but this menu option here will show you something different, a hint like that would be kind of spoilerish or break immersion).
Things I was happy with
- I learned a lot. I’m a ‘learn by doing’ type of person, so forcing myself to deliver something in 48hrs made from scratch in the time limit = learn + do fast. I used version control even for this short-term project so i could document its construction in the commit messages and would stop worrying about ‘accidents’ where i would lose work or mangle things so badly and could rollback.
- Some people commented on liking the mood in the game, which is what I decided to focus most on. Someone despaired that when they played there seemed to be no “happy ending”. My goal of toying with the player’s emotion = ‘mission accomplished!’
- I came up with a neat little forcefield behavior around character that affects the things that swarm and come for you, the enemies still face+approach you, but when the shield is up it holds them back and they get pushed around fairly smoothly when you forcibly move into them. I’ll have to re-use that for another project….
- Although the code is absolute spaghetti, there is alot of it with some lengthy comments sprinkled in it so I could remember what I was doing along the way, so its not a complete throw-away game shell for something in the future. For the curious: Link to source/assets/unity project are here: http://db.tt/eJOJT6Dx
In reference to point #4 above, I call my rapid code prototyping style ‘Freestyle Spaghetti / Chaos Coding’. People that care about ‘coding style’ or ‘designing clean systems’ will be outright offended by what they see here haha
The basic rules of ‘Freestyle Spaghetti / Chaos Coding for rapid prototypes+game jams:
- Extra Comments, you need them. You need more comments than you think you do. I write comments as a way of ‘talking out loud’ about what i’m doing. It makes things more clear, and when I come back to the code later, I can more easily remember where I left off.
- Extra Verbose variable/object names. you want every variable name to make it painly obvious as to what its scope and contents are. Between #1 + # 2, I rarely ever need to step through code using a debugger because I can work out what is going on following these 2 rules.
- New ideas may often come to you while writing code for other things, jumping to act on that new idea is okay, as long as everything still runs you’re cool. Unfinished things = comment verbosely what is going on. Before you jump to the new thing, always write a note in code about what you were just doing+need to do next there, then jump to the new thing while the idea is fresh to you.
- Everything can look to a base (GameBase.cs) to figure out what is going on (access a global value state) to gate/ungate a script that doesnt work or isnt complete.
- Take the path of least resistance in implementation. Data driven? Code Driven? Do I need a tool? Do I need a file format? Could you just hack it in code and be done with it?
- The person playing your game doesn’t see your code when they play it. Stop worrying about what your code looks like and focus on the results that people will play. You can pretty up your code and ‘refactor it’ later if you need to build on it.
Things that took more time than I expected:
- Audio – I spent a lot of time with bfxr trying to get sounds out of it that matched the mood I wanted (trying to get a sad kitten+spooky type sounds out of a synth). There’s a lot of extra sounds in the source that I didnt use which fit the mood target but i didn’t get to implement due to the time limit+needing more supporting graphics+code to go with them.
- Art/Tweaks – I went crazy with the particles. I liked the square/fine grain look of the particles so i kept the particles untextured to save time. I fussed with the colors of everything several times to keep it the right ‘mood’ as well as all the other particle effect sliders. I lost time modeling a few other things that didnt make it into the game and realized that there wasn’t going to be enough time to texture+rig+animate them so I trashed that given the time pressure.
- Dialogue/Narration – changed multiple times after playtesting through it over and over and over…. Having a premade system to handle complex dialogue/interaction would have been much better. hacking something from scratch+testing it with time pressure was painful.
- Setting up+modifying my game in unity. To save time I did some things in the unity editor instead of explicit code, which i’m still getting the hang of. The editor workflow method has little quirks like nuking connections or values on scripts if you change the variable name in the class to something new ended up biting me several times, breaking the game. Trying to find a balance of initializing/setting script values hardcoded or in the editor view on an instance of something with a given script slowed me down and I should have more clearly defined this.
Things to do next time:
- Setup and do a timelapse next time. In retrospect i’m even more sad I didnt do this. Ideally I would do record this for 3 screens since I work across 2 screens on my mac (playtest+code+ photoshop on cintiq), + geo modeling pc.
- Do something that doesn’t waste so much time with unique dialogue flow with one-off internal triggers/unlocks that the player might not ever trigger.
- Continue to write code fast+freely for the sake of progress, and don’t be so worried about what people think of your code that you hacked together over the weekend. (I write much better code for normal games I swear! )
- Build out a more of traditional game to play?
- Worry less about story/playtesting dialogue flow. Focusing the first half of the compo time on this was good/bad since it ate up a ton of time – it was uncharted territory for me in terms of content+code implementation.
- Better schedule my time and set time limits on doing a feature/asset.
- Start visual polish phase and test deployment earlier so there is less of a frantic rush at the end.
I may not have been able to put in all the things I wanted to, but it is a game and it has an ending, so I’m pleased with it. The most fun I had was creating the death animation/sound/messages, so if you have some spare time try to get all the different deaths. I’ll add a proper postmortem later, and put up a timelapse when it finished building. And check out the entry page here.
So, what is my secret? Or how did he do it? Well, Read on. This log tells about how I designed and created my 48 hour game and what choices I made.
I started by brainstorming on a piece of paper and with a good breakfast (soup and bread). The brainstorming resulted in a large web of words and lines. Afterwards I started to scrape all unrelated words and lines until a small part was left. From the readable words I picked the best and started sketching. The concept ended up being:
The player is stranded in an unknown world (other dimension?) and needs to get away before he dies from starvation. While doing so he should try to contact others while being annoyed by robots/drones.
The sketching brings us to the game design. I started with a simple sketch and made it into a 3d design tool. The sketch ended up with showing a dessert with a crash landed space ship. The main objective got: Activate the beacon (middle of image).
But the question remained, how did the player get there? To solve this, the player doesn’t know either, she just wakes up. To give the game more feel about the strange place I created two separate environments. The player would wake up in her own bedroom and once she gets outside the room, there is no hallway but a dessert.
So the level and setting where done, the only thing left was the robots and drones. Trying to keep it simple I choose a floating sphere like drone who float somewhere around. It was time to think about the technical design. I worked in C++ using the tool Irrlicht and Irrklang. So I opend Visio and started to place the objects I had: Drones, Level, Beacon, Player and the scene itself. It resulted in this:
Ofcourse, much is changed during the game development, but note, this is a useful “work to” point. I ended up with:
- Player must survive (he always survives)
- Player must activate the beacon
- Player must keep the drones away by picking them up and throwing them away
- The beacon is activated by clicking on the launch button.
I started to develop the things I sketched and put them together into a simple game. The prototype was done before the 18 hour mark. The prototype seemed good but lacked a bit of humor and feeling.
One of the results of the prototype showed that the game lacked humor and that one machine to activate was too easy to handle. The extra things I planned for the game itself became:
- The beacon can be activated after the power generator is activated, activate by clicking on the launch button.
- The power generator is activated by clicking on the launch button.
- The Drones make a noice when picked up
- The Drones receive damage after being thrown, after which they move slower and start to smoke
- Adding more subtitles and “ particles! “
A very important step! Think about how to test your game before you finish it! I used Visual studio so I was able to do variable manipulation, but, otherwise I would have added cheats. Make sure you can easily test your game on bugs. Watching a story over and over again is awful, settings states and recompiling is bad, real bad. So, make a plan, how do I test the start, middle and end? (without replaying the game every time). I just manipulated the games variables with the Visual studio debugger, changing enumerations and time variables.
On 22:00 CET I started with the game. The first things added where voices and sounds to the drones, a background music track and recorded some sounds for the power generator. How did I record the sound for the generator? Well, quite easy, taking my microphone and putting it behind my computers fans, lowered the pitch and lowered the speed and viola! Done. In the prototype, the bedroom and spaceship were left without detail, it was awful. The ship had to look broken, to do this I first modeled the ship and when that was finished I broke it. Cutting holes, lines and adding more panels. The advantage of doing so is that you have a good looking ship. Breaking it and adding debris is a much easier process. When the new models where done, I just replaced them in the prototype. The same detailing process is done for the drones, power generator, debris, terrain and the music track.
I kept track of 2 folders, one for debugging and one for the release and I setup special defines for the debug and release. Once a debug version was bug free I tried the Release version in the release folder. The source code was placed inside a separate folder. At the end, I was capable of just clicking the source and release folder for archiving them. On monday 02:40 CET ( 20 minutes before the deadline) I submitted my work. Barley before the site went down! Got lucky Time used: 32 hours Sleep: 15 hours Tools:Autodesk 3dsmax, Adobe Illustrator, paintToolSai, Audicity, Anvil Studio, Visual Studio 2010, D3d MeshViewer, Irrlicht and Irrklang.
Tips and do’s:
- Set up 2 folders, one for a clean release test, one quite clean for debugging.
- Write down the games basics and rules,
- Sketch the technical design
- Build a simple prototype on which you can later improve the games visuals.
- Take regular breaks! Work 60~90 minutes with a small break, like: running through your house, going outside for 10 minutes, they improves your motivation and precision!
- Always make sure to write it down, it makes it easier to decide if its possible
- Chat on the IRC channel with others, use your time and chat later, in small breaks or afterwards.
- Sleep less, when you have less sleep it will lower your creativity, bug tracking and other skills.
Thank you for reading the “How Did I Do it”.