Monday, November 26, 2012

on the Xbox

Kind of a short update this week (things are a little hectic as it is the last week of school) but a great update nonetheless.  We were finally able to get the dreamspark + xbox accounts working and Scott got our game playing on his xbox.  It looks great and we are getting great frames.  In other news we are also looking really good for our alpha cutoff, I got the particle FX system in the engine (needs small tweaks) I also have all of the code for our ranged missile shooting enemy, I just need to tie it all together.  Alpha, here we come.

Monday, November 19, 2012

A huge success

What a productive week.  I got our AI working now, rather than floating through the air our small enemies now run at the player and jump at them to attack.  No damage is being done yet, but since Shandice will be done with the attacking and health system tomorrow that will be put in next week.  In addition, I also worked on a particle FX engine.  It is looking very nice, and I will probably be putting out a how to guide next week after the thanksgiving chaos is over and I have a little more time.

Tuesday, November 13, 2012

A Rough week

So the goal of our sprint this week was for the level editor to be in a working state so that Jake could start using it.  My job was to get enemy spawns triggering and to have a basic AI system (so that we could see enemies running at the player).  I had a little bit of success, and a little bit of failure.  After having a lengthy back and forth with Scott over how to implement spawns, I threw out the code I had and was able to come up with a triggering system that allows us to spawn x number of actors at a set frequency.  It needs some optimization as I was experiencing some frame drops on my computer when the first actor was created, but it is a start.  AI is still a work in progress, I haven't dug into the physics engine enough yet so I took some preliminary stabs at implementations.  I was able to get moving enemies, but was having issues with gravity no longer being applied.  Unfortunately at this point my laptop that I am developing on decided that it wanted to die.  The time it took to compile, run, and load the level jumped from ~45 seconds to ~5 minutes.  I continued to try to chug away on it (since I was staying up for the nexus 4 release anyway, which I didn't even get :( ) but after another couple hours it was completely unbearable.

Status for this sprint: Close, but no cigar.

Monday, November 5, 2012

Halfway Update

On Thursday we will be at roughly the halfway milestone for our Alpha, and we still have a lot to do.  When you look at the list it is quite daunting (Particle FX and AI among other things), but the list needs to be taken with a grain of salt.  Many of the features left are much smaller features than massive level editor we have been working on so far.  When you think of Artificial Intelligence, you think of complicated difficult code, but since we are only moving in two dimensions (think Mario  and have separate combat and platforming sections it will be a much simpler system than a full 3D AI.  We also talked with the designers last Thursday and came up with a solution to the music system that takes a lot of pressure off of us, but makes the level design a little more time consuming (not much though).  Furthermore, several of the other items only need to be basic for our alpha in December.  So while it does look grim if you look at the percentage of tasks done, what really needs to be looked at is the percentage of work done, and on that front we are in much better shape.

Tuesday, October 30, 2012

Running a little behind

Well, we have officially completed our first sprint.  Everybody did great work, but we may still be a little behind.  We got a new feature requested (triggers for events/spawning) for the level editor last week and went straight to work on it.  However, we got this request right before the weekend break so we didn't get much time to talk about implementation.  This could be an issue because there are certain aspects of the games(spawning, music, etc.) that haven't been defined yet that the trigger needs to tie into.  So, if we decide to take a different approach the code may need to be redone and we will be slightly behind schedule.  We will need to slightly restructure our second sprint to make up for this.  Other than that, it was a good first sprint and we are making good progress.

Monday, October 22, 2012

Learning from previous mistakes and Scrum


Every time you start a new project, it is a good opportunity to look back on your previous projects and figure out what went well and what didn't. This is my third project as Lead Engineer, so I have a couple of previous experiences to reflect on.

The first project I was lead on was a game called Fat Knight, it was a great little base defense/hack and slash mixture that was worked on in a 6 man team. We didn't use scrum software but we kept and organized list of tasks that needed to be done. In addition, we also kept a reasonable scope throughout the project, cutting when need be. The final project, while not having all the features we wanted originally was polished, fun, and something I am proud of.

The second project that I was lead on was called National Photographic. This game was supposed to be an educational game created as if we were a client for National Geographic. The concept of the game was free roaming Pokemon Snap. You would travel to an area (in our case Yellowstone) and would wander throughout the environment trying to take pictures of animals and learn about photography and animals at the same time. We even had National Geographic interested in coming to see the game, but the final product was nowhere near good enough for us have National Geographic come look at it.

On this project we had a 9 man team to start (with 2 extra artists coming on at the end), with enough talent to actually make a good game, but it went wrong along the way. The project was over scoped from the start, and with something as ambitious as our original idea, we needed to be really organized (but we weren't). I am not here to blame the other leads, but to learn from what I did wrong to make sure it doesn't happen again.

I started off with the right ideas, I created a scrum spent 4 hours populating it with what needed to be done from an engineering standpoint, invited my team members, and even put in some example tasks that the art lead could start with when he started using it. Things were going great for the first week, the engineers were all marking the tasks they were working on and when the finished them, but by the second week nobody was using it anymore, at which point I made a couple of mistakes. The first that rather than forcing people to use the scrum tools I asked if they were interested in using it, to which they replied no. I should have said we were going to use the software regardless, but I really didn't like how time consuming it was (free software is unintuitive at times) so I put it up to a vote. So the scrum software was out and I made my second big mistake, rather than keeping my own physical copy of tasks and progress I just kept it in my head. In hindsight, I should have kept my own spreadsheet of tasks, it doesn't take as long as setting up the tasks in the scrum software we were using, but it still would give me an estimate on how much still needs to be done.

This early mistakes hurt us later on in the project, because we had no list of what needed to be done and what had been done, it was hard from a management standpoint to make sure everyone was moving at the correct speed. It is easy to make the argument that people weren't getting their jobs done so that is why our finished project wasn't that good, but the reality is that it was my job to make sure people were getting them done, and I did a not so great job on that front.

Now that I have made myself look like a horrible leader, lets look at options to make sure both yours and my future projects go along without as many bumps along the way. I am going to talk about Scrum for agile development. If you look up on scrum on Wikipedia it says, “Scrum is an iterative and incremental method for managing software projects and product or application development.” Scrum tools allow you to create tasks (user stories) of a given priority with an estimated time till completion. At the beginning of your sprint (A short period of development time ranging from 1 – 4 weeks), you pick unaccomplished tasks and assign them to people on your team. You are able to use the previously mentioned time estimate and priority to make sure everyone has reasonable goals and that you are working on the most important features first. Recently scrum tools and agile development have caught on and now there are hundreds of software suites that you can spend a decent chunk of change on. These suites provide a lot of nice tools, that on a indie or student project, you will most likely not use, so don't spend the money. Burn down graphs and all the fancy stuff are nice, but when you boil it down the really helpful parts of scrum tools are:
-A list of what still needs to be done for the project (tasks).
-How much time it will take to complete each task.
-Who is working on which part.
-The priority of the task.

There are a lot of free ways to do this: a google spreadsheet, a whiteboard, sticky notes, etc.  Even if you are the only person working on the project I suggest you do some kind of task list. The reality is that you can't keep everything that needs to be done in your head, and if you are working with a team that can't see the list in your head. When people get done with their job early and want to work on something else you want them working on something that helps you make your current deadline, not working on a main menu you don't need for another year. Another thing that the prioritized list helps with is scoping/cutting. Cutting from your project is always a somber moment, but it will happen with most every project. If you have a prioritized list it become easy to figure out what features are not integral to the game and cut those. Even more important is that if you are cutting items that are of lower priority, and you have properly assigned tasks, you may be able to cut items that haven't been worked on yet. The only thing that sucks more than cutting a cool feature, is being the person who has been working on that cool feature for several weeks (I know, I have been on both sides).

When your working on a project you need to be organized from the start. The longer you wait the more difficult it becomes to get back on track (believe me). I know populating the list isn't as fun as programming, but in the long run the time you spend organizing will make for a better finished product than getting the AI system done 30 minutes earlier.

Sunday, October 14, 2012

All Aboard, next stop awesomeness

So it is Fall Break, which is why this blog post is a little later than it normally is.  However, that doesn't mean we have stopped working.  Our new team has been together a week and already we have changed the game drastically.  It was pitched as a music infused platformer (see BIT.TRIP runner), but we have decided that we want the game to be more combat based.  There are a couple of reasons for this, the first is that we felt that it would be more fun to rock out through combat than through platforming.  The second is that the guitar controller isn't precise enough to make a non frustrating platformer experience.

At the same time, we are still in the first couple stages of the project in terms of art and code.  Artists are hard at work concepting characters, and the engineers are still reading through the massive code base that Scott had from the prototype (the man is a machine).  This was a slow week, but it will be picking soon.  Get ready for more news in the near future.