We had our Alpha presentation. Both Bryan and I were pretty bummed afterwards. There was a bug in the map triggers which left the collision for the physics of a wall that disappeared. Luckily, Bryan's physics was still buggy, so it allowed the Kudos to slip through some awkward gaps. Justin either really had problems with merging files with SVN or he didn't finish the AI movement, so we couldn't command the kudos to move anywhere. Bryan also experienced problems in getting to Bart the Bear, the boss of the forest, during the presentation. He kept on dying because he was losing some kudos that were getting stuck on the invisible collision. Matt also seemed to have too many "um"s and pauses while presenting our game.
Spring Break came and I did almost nothing on the game. In fact, I played Team Fortress 2 for most of the time. I even played this one map that had no winning or losing conditions for about 5 hours straight. Earlier in the week I had friends over, and we were all out in my living room with tables set up. After they left I stayed out there with my computer until I moved it back in my room once the break was over.
Our Focus Group session was coming up in a few weeks after Spring Break was over. We wanted to have a tutorial level that players could go through to learn how to play the game. Bryan was going to create a simple "scripting" system for the tutorial so that players would see messages, react, then advance to the next message or area. Since I was in charge of the UI, it was my job to create speech bubbles that would display messages. The idea was that multiple kudos would be standing around and the speech bubbles would appear over their head when the player got near. I also made it so that the speech bubble would smoothly fade away if Oscar or the mouse cursor were close to it.
Justin finally uploaded his fixed AI movement code two weeks after Alpha. This would mark the beginning of a stream of "fixed" messages on SVN until the end of the project. We all noticed it was still a little awkward/buggy. Kudos seemed to try to go straight towards their destination then stop if anything was blocking the path right in front of them. During the Focus Group session, two weeks after his grand AI movement fix, we learned that this was his intention. If I remember correctly, after he joined our team we told him he would be doing pathfinding for the kudos. From the word pathfinding, you can most likely assume that you would be finding a path. He was finding a straight line until an obstacle, not a path. What really boggled my mind was that he said was using A*. He even wrote a function that determines if a kudo is trying to move but hasn't moved for a full second. This was used to tell a kudo to give up trying. A simple intersection test would have worked.
One week before the Focus Group session Justin uploaded code. He didn't work during the week to improve things for Focus Group where people would be playing our game, nor did he upload anything for two more weeks. Justin did not upload anything to SVN for an astonishingly long three weeks. There was no break or days off of school either (which really should not be an excuse). He did do some work after the Focus Group session. Since he was the Product Manager it was his job to whip up an evaluation and analysis for the Focus Group. On the Monday before our Thursday GAM class, he e-mailed the three of us his analysis and asked for comments/suggestions. Being the editor that I am, I spent almost two hours working through the paper and writing up four pages of corrections and suggestions for improvement. One of the glaring issues was a misspelling of "definitely". He had about 9 cases of "defiantly". I made mention of every one. As I arrived at school that day, I passed him at the front entrance and told him about it in a jokingly way. On Thursday, he seemed distant and didn't even respond to my "hello". The three of us left class early, after the lecture and producer reports, and Justin stayed to finish up on the analysis. A week later Moore e-mailed feedback and a score for it. I checked it out and saw that Justin had not used any suggestion that I gave whatsoever. It was the exact same version he had previously sent to the three of us. On the copy Moore sent, he highlighted in red all of the "defiantly"s. Justin still got a descent score, but the fact that he didn't even fix the "defiantly"s pissed me off. Granted he may have thought I was being an ass, but I truly just wanted the best paper possible. This is the sort of thing I try to do with formal papers. Towards the end of the semester I would realize he does not take criticism well.
Our Saturday sessions were fairly successful. Justin appeared to actually work, and we could all do tasks efficiently and with the help of others, if needed. Yet there seemed to be a problem between each of our Saturday coding sessions towards the later part of the semester. It was a lack of motivation. I first started to feel it when I realized that Justin wasn't submitting anything, and when he was, nothing really seemed to change from his code. The amount of work from our team seemed to be down, and the hours logged were low. Overall I was still logging in the most time and doing the most work, but because everyone else was doing less I felt bad. I couldn't seem to work well on a team project that the rest of the team wasn't putting the same effort into. It got worse when Matt asked to stay over after Friday's classes because of bad traffic. To try to influence working on the game, I just stayed on my computer the entire time he was over and worked on Kudos. For 5 hours he just laid on my bed reading books. On the following Tuesday, I told him off then sat at my computer for hours later that night just staring at the screen. I skipped the first two classes the next day just to make up work. On the last two Saturday sessions Bryan kept on asking if he could go home because he did not want to work on Kudos.
We had our Beta presentation on the first week of April. It was my turn to present, but I didn't think the game was up to snuff. We clearly did not have a game that was all done besides a few bug fixes. Leading up to the time we were going to present, I kept on feeling bad about the game. There were many more games in better condition than ours. I finally got myself together and brought the team to the front of the room. We did not have a great or complete game, but I lead the audience through Kudos and Beta improvements while Matt controlled the game. I spoke with no awkward pauses or "um"s (that I am aware of), and I tried to tell enough information in a nicely packed amount of time, leaving no rooms for questions that I did not want to answer. It went pretty damn well.
We still had a problem. The final game was due in three weeks and we still needed two more levels, along with some key gameplay elements. Justin had actually fixed his AI movement for Beta. It was incremental A*, so the Kudos would always have to walk along obstacles after hitting them to find a path, instead of avoiding them completely with a good path finding algorithm. At this point Justin started asking Matt and I for new things to code during the Saturday sessions. Both of us were sort of weirded out from this new experience and had to think for a while for things he could do. I couldn't really think of any programming tasks for him, so I suggested that he should create the final level. Yet Justin was really eager to program something rather than create content. I think at this point Justin realized just how much code he had done. After some suggestions from the GAM TA, I had split up files and specifically split up the AI file into three separate files. Justin's AI movement was all contained in one file with less than 900 lines of code. We had over 20,000 lines of code in the project. Do the math. For two Saturday sessions I encouraged him to do content, but somehow he ended up doing useless things. He "improved" his pathfinding to get rid of useless nodes, but this introduced some nasty bugs. He spent the rest of the time fixing it. One major problem with the pathfinding that Justin never addressed was the fact that Kudos could only travel on the nodes and the horizontal, vertical, or diagonal lines that connected the nodes. This leaves the kudos traveling on crooked, instead of fluid, lines. The kudos also travel in a single-file line. Justin said formations would be easy to do when he first started out. Now we can send kudos in one-by-one to their death. Bryan ended up creating the final level, but Justin was going to finally create content and do the tiles for the it. He was supposed to create ice, but the outcome was some messed up psychedelic mixture that didn't tile well. Bryan made his typical criticizing comment, and Justin seemed to be really defensive about it. As usual, motivation was low, along with hours logged, for the last few weeks of development.
A week before our final submission Justin was to show off our marketing materials. As a Product Manager, he could have asked Bryan or I to create artwork for the box art. He chose to do it himself. After seeing all of the presentations for the marketing materials, I could clearly say that his was the absolute worst, even more than the boxes that were not even completed. I had a hunch it would be the worst when I saw it the night before on SVN. For the front cover he took a screenshot and put it dead center. There was no enlarging or cropping. The whole screenshot was on it. You could barely see Oscar or the kudos. There was even the FPS counter in the upper corner, which should only be on for debugging. This is not box art. It looked like he even stole the PC CD strip from EA to put at the top. The back side was a continuation of the front, but with bad text. At the bottom was a "Know Your Kudos" section, but he couldn't even properly extract the kudos from the sprite sheets. A few were cut off a bit short. The background was completely white and all the text was black and Times New Roman. He even messed up on our team name. We are "Bryan & Sons" not "Bryan And Sons". He shouldn't have even capitalized the "And". It was a complete mess. The manual wasn't much better. It had a front page saying that it's a manual, an inner page for the table of contents, an inner page with all the information that is pointed to by the table of contents, and an back page with a team list. He forgot the press release, so Bryan whipped it up late at night after his e-mail.
During the last two days Bryan was able to completely redo the forest map and create an intricate desert. They are actually quite amazing compared to what we previously had for the forest. I managed to get Mortimer, the final boss, and a saving and loading interface in the game along with tons of various tweaks and fixes. We sent it off to Moore, and I hadn't actually played the full game until a few days ago. I just realized we had two major saving and loading issues. Hotkeys disappear after each level, and all the Kudos that are dazed are added to your party for the next level. Kudos also crashes after defeating Mortimer.
Our game lacked nearly half the elements in the GDD. We had half the kudos, no creatures, no town, no kudo points, no treasures, no non-linear gameplay, half the bosses, and half the size of the levels. It's sort of disappointing. I had hoped that my sophomore game would be pretty good. I learned two things. One: I am a very bitter person. Two: Justin was a terrible teammate who took forever to not accomplish much. He did not accept criticism, did not work when needed, and did not comment his code (except for one measly line).
5/6/08
2/11/08
Alpha Worries
In my previous entry, I discussed Brandon leaving the team. His replacement was Justin, who would be the main person in charge of AI movement. He joined our team at the end of the first week of school, and it is now the start of the sixth week. Our Alpha presentation is on Thursday and the deliverables are due on Friday.
We gave Justin a week to get familiar with our code base, but because we each have defined roles, he would have to look no further than the AI module and objects. The time needed to understand the structure of the code he would be working off of would be fairly quick. Mostly we were waiting until he was granted SVN access from IT. He utilized this time by preparing a path finding algorithm. I am not entirely sure what occurred during the second, third, or even forth week, but I do remember he adjusted the way the Kudos found their targets, making them more efficient killers in the process. We all cheered in glee on that Saturday meeting.
I wasn't cheering at all this last Saturday. I do agree that Brandon's AI movement wasn't the best. Following the main character and staying apart from each other in a fluid manner worked well, very well. Starting and stopping the Kudos was an issue, and this was the main issue that needed to be repaired. We also needed to take in consideration for obstacles, yet even at this point the massive amounts of obstacles we imagined in our heads 5 months ago are severely lacking in implementation. The use of path finding at this point in our map complexity is utterly useless. The terrible thing is that Justin's path finding makes the AI movement roughly 10 to 20 times worse.
The Kudos do not move in the right direction when you command them to move to a particular location. They get stuck dancing in some seemingly random location. If you click too many times the game crashes. Selecting Kudos created memory leaks for a long time (a week is a while in my book). The AI movement is absolutely terrible.
Rant (as usual): What in the world did Justin do for 4 weeks? How did it possibly get that bad? How could it get worse than Brandon's code? Didn't we all think that Brandon was the epitome of all evil code? No. His code is the shit (the good kind) compared to Justin's. Justin's code fails at multiple levels:
If Justin's code does not make the Kudos move and walk better than before, then I will make the executive Technical Director decision to revert back to Brandon's code for Alpha. This gives him 3 days to fix it. He was also supposed to create a stats editor for editing and creating the characters. This is what the xml files were for. Bryan knew that the movement would be most important, so he told Justin to hold off on that until after Alpha.
Bryan has actually surprised me in the last week. Before I was frustrated with him not understanding some code that he had wrote with a huge help from his roommate Sean. I have no problem with helping someone out with a programming concept or problem, but Sean seemed to hold his hand through the entire ride and tell him exactly which key to press and when. A memory leak detector that I like to use was finding leaks in his object allocator. It was a problem with placement new. I didn't know what it was or the syntax but neither did Bryan. This made me uneasy. Yet Bryan came through when updating his physics to work well. In fact it works really well. There actually feels to be resistance when the player is moving through a horde of Kudos. I got him a source that wasn't Sean or a person that would try to help him set up better physics. Bryan also wanted to expand on my UI buttons to make some graphic pop up whenever the mouse was hovering over the button. I showed him a couple of things that are particular for graphics objects in the UI, but he did most of the work and it turned out well.
I'm not entirely sure what Matt has been doing in the past few weeks. He did revamped the parser, which is actually really useful now, particularly for loading in animations from an xml file with ease. He also set up map nodes that Justin uses with his path finding. But he has been doing some odd things with triggers, which I am sort of still unclear about the special attention to. I guess because we tend to focus on our own modules, there is a lack of strong communication for the current tasks and purposes for code that other members are doing. Maybe we should do weekly or bi-weekly code reviews. The one thing that I wished Matt spent a little more focus on is the map editor. Currently it is in the relatively same state as it was on the day of our presentation of the First-Playable Prototype in December. Although somehow switching to a different tile does not work, and when you place a new tile (only in the positive x direction), another tile is deleted. It would be nice if we were able to create a nice map for Alpha.
I am also weary of the overall state of the game. I've got my bases covered with graphics and UI, although I do have to create another animation editor (or edit values manually). But I am not in charge of anything that deals with gameplay. I only display the world, the UI, and all the animations to the player. I only handle the interactions between the UI and tell the gameplay components of certain types of input that occurred. Bryan is in charge of the main character and some AI attacking, Justin's got to nail down the movement and hopefully more, and Matt's got to create the interactive world. Those three are in charge of coding the fun factor of our game. Right now the game is nothing more than one simple hard-coded battle.
I will try to be at the school for extended periods of time during this week. I want to be there for my team and help them out with anything they need. I don't want our Alpha to look the same as it did when we presented the game during the second week of school. I want it to be a least one solid level. Even if we are missing a few Kudo types, it would be nice to start and finish our forest level like normal.
We gave Justin a week to get familiar with our code base, but because we each have defined roles, he would have to look no further than the AI module and objects. The time needed to understand the structure of the code he would be working off of would be fairly quick. Mostly we were waiting until he was granted SVN access from IT. He utilized this time by preparing a path finding algorithm. I am not entirely sure what occurred during the second, third, or even forth week, but I do remember he adjusted the way the Kudos found their targets, making them more efficient killers in the process. We all cheered in glee on that Saturday meeting.
I wasn't cheering at all this last Saturday. I do agree that Brandon's AI movement wasn't the best. Following the main character and staying apart from each other in a fluid manner worked well, very well. Starting and stopping the Kudos was an issue, and this was the main issue that needed to be repaired. We also needed to take in consideration for obstacles, yet even at this point the massive amounts of obstacles we imagined in our heads 5 months ago are severely lacking in implementation. The use of path finding at this point in our map complexity is utterly useless. The terrible thing is that Justin's path finding makes the AI movement roughly 10 to 20 times worse.
The Kudos do not move in the right direction when you command them to move to a particular location. They get stuck dancing in some seemingly random location. If you click too many times the game crashes. Selecting Kudos created memory leaks for a long time (a week is a while in my book). The AI movement is absolutely terrible.
Rant (as usual): What in the world did Justin do for 4 weeks? How did it possibly get that bad? How could it get worse than Brandon's code? Didn't we all think that Brandon was the epitome of all evil code? No. His code is the shit (the good kind) compared to Justin's. Justin's code fails at multiple levels:
- The code execution doesn't work well. The Kudos are supposed to travel to the right when you click there, not to the left then spaz out. Making code that works worse than shit should not have taken a month.
- The code crashes. If you select Kudos too much (a couple of times), the game will crash. This has occurred with more than the last submission by him. Something this severe should be caught and fixed right away.
- The code has extremely awkward tabbing and returns. Sometimes lines are indented twice or even thrice than they should be. He also puts about 2-4 returns in places where there should be none at all.
- The code has some brackets misaligned, which creates a horrible reading environment for any programmer. It's a terrible thing to think a code block ends much sooner than expected.
- The code mixes between spaces and tabs for indenting. Matt has some settings to display a faint dot for a space and a faint arrow for a tab. Justin's code is visually disgusting. The bad thing about tabs is that the code will not be the same on any IDE.
- The code isn't consistent. There is no method to the madness for the random number of returns or awkward indents. In some areas he has a space after the ( in a function call but none before the ). He will name file Actors.xml with an Actors root and Actor children but name the C++ struct to load the information into CharacterInfo. Also, his function for loading the Actors/Characters is called LoadCharacters. So which is it supposed to be? (I know the one that makes logical sense)
If Justin's code does not make the Kudos move and walk better than before, then I will make the executive Technical Director decision to revert back to Brandon's code for Alpha. This gives him 3 days to fix it. He was also supposed to create a stats editor for editing and creating the characters. This is what the xml files were for. Bryan knew that the movement would be most important, so he told Justin to hold off on that until after Alpha.
Bryan has actually surprised me in the last week. Before I was frustrated with him not understanding some code that he had wrote with a huge help from his roommate Sean. I have no problem with helping someone out with a programming concept or problem, but Sean seemed to hold his hand through the entire ride and tell him exactly which key to press and when. A memory leak detector that I like to use was finding leaks in his object allocator. It was a problem with placement new. I didn't know what it was or the syntax but neither did Bryan. This made me uneasy. Yet Bryan came through when updating his physics to work well. In fact it works really well. There actually feels to be resistance when the player is moving through a horde of Kudos. I got him a source that wasn't Sean or a person that would try to help him set up better physics. Bryan also wanted to expand on my UI buttons to make some graphic pop up whenever the mouse was hovering over the button. I showed him a couple of things that are particular for graphics objects in the UI, but he did most of the work and it turned out well.
I'm not entirely sure what Matt has been doing in the past few weeks. He did revamped the parser, which is actually really useful now, particularly for loading in animations from an xml file with ease. He also set up map nodes that Justin uses with his path finding. But he has been doing some odd things with triggers, which I am sort of still unclear about the special attention to. I guess because we tend to focus on our own modules, there is a lack of strong communication for the current tasks and purposes for code that other members are doing. Maybe we should do weekly or bi-weekly code reviews. The one thing that I wished Matt spent a little more focus on is the map editor. Currently it is in the relatively same state as it was on the day of our presentation of the First-Playable Prototype in December. Although somehow switching to a different tile does not work, and when you place a new tile (only in the positive x direction), another tile is deleted. It would be nice if we were able to create a nice map for Alpha.
I am also weary of the overall state of the game. I've got my bases covered with graphics and UI, although I do have to create another animation editor (or edit values manually). But I am not in charge of anything that deals with gameplay. I only display the world, the UI, and all the animations to the player. I only handle the interactions between the UI and tell the gameplay components of certain types of input that occurred. Bryan is in charge of the main character and some AI attacking, Justin's got to nail down the movement and hopefully more, and Matt's got to create the interactive world. Those three are in charge of coding the fun factor of our game. Right now the game is nothing more than one simple hard-coded battle.
I will try to be at the school for extended periods of time during this week. I want to be there for my team and help them out with anything they need. I don't want our Alpha to look the same as it did when we presented the game during the second week of school. I want it to be a least one solid level. Even if we are missing a few Kudo types, it would be nice to start and finish our forest level like normal.
1/21/08
Third Semester - Kudos
Before my second semester at DigiPen ended, I started work on the beginning of a game engine that I thought I could possibly use the following school year. The idea came from the creation of some Windows programming assignment for CS230. I set up classes and relations between handlers and objects, and I thought that I could take out the specifics of the assignment and start creating something that could easily be used for my next game project. I also wanted to have a small 2D demo ready so I could show off an idea that had perking in my mind. I was crazy, but I wanted to make another game with ninjas. My friend Matt did not even want to be on my team for a second time. The object of the game was that you were supposed to be a stealthy ninja who had to infiltrate some Russian missile silo and kill commie bastards. Note: Sadly, I did not end up making this game.
Throughout the summer I improved the game engine. It wasn't much, but at least I could make a character (ninja) jump around. I also played around with some Inverse Kinematics and got one of its arms and hand to reach for the cursor whenever I held down the left mouse button. My only problem was that I had never programmed any 2D graphics before. Back in high school I messed around in 3D with DirectX for my senior project. Sure, this was technically taking a step down in dimensions and should be easier, but there seems to be more management of the sprites and attention to rendering order (this still is biting me in the butt). I also didn't feel the need to work with all the odds and ends of DirectX to show some simple graphics in a window. Matt had used Simple DirectMedia Layer (SDL) in his 2D senior project, so I got some help from him and was able to see results within a day. Later in the summer Matt decided to leave the team he would have been on this year and be on mine (except at the time I didn't have one). He felt that all they were making was a small tech demo.
He and I arrived to our game class without a full team on the first week of our third semester. Luckily two school friends of ours were in the same boat, and we decided to join forces. Unfortunately I was unable to persuade anyone else into creating my ninja game, even though I had an "awesome" demo. Matt and I forfeited any idea of ours to work on Bryan and Brandon's Kudos. It is a game like Pikmin where you play a character that can control various little "puffy/fat" creatures to do various things such as fight to the death or solve fun puzzles. There are about 10 different kinds of Kudos each with their own special abilities. You have to go out into the areas around the main town of Kudo Valley and weaken mind-controlled Kudos. Then you can get them on your own team. The objective is to stop the main evil-doer (Mortimer) and his lackeys from taking over all of the Kudos.
I wanted to be the product manager. The role of the product manager was to create all the marketing materials for the game. I also did not want to be a producer or technical director because those are the top positions on a team. I wanted to save those for my final two years, and I had already been a designer. Being the product manager was my ideal goal; I would be great with it if I was working on my ninja game. Well Brandon was the best artist in our group and he had been working with Bryan with the idea and art direction of Kudos, so he got the job. Bryan had been the main creative thinker for the game design, so he became the designer. I was stuck with the two positions that I did not want to be. From his personality, I figured that Bryan would be demanding and would spiritually take over the role of producer, so I picked to be the technical director. Also, Matt had been the technical director the previous year in The Pirate-Ninja. Since I was the technical director, it would be my job to layout the architecture of the engine for our game.
In game class I learned that we would have 2 weeks for our Game Design Document, 3 for our Technical Design Document, and 3 weeks for our midterm project. We weren't supposed to start programming until our TDD was done, but this ended up being turned in during Week 10. Well, limitations put on by the teacher were not going to stop me. I knew we would be in trouble if we started programming from scratch at that date, although we were encouraged to use our midterm as the foundation for our game. I ended up using the foundation of our game for my midterm. I was also able to use it for my personal project because no one else had touched the code at that point in time. Our assignment was to create a Bejeweled clone with graphics, input, and a game loop. It took me about 6 hours to make it with my existing engine. Note: It did not have any menus or text.
Throughout the first 9 weeks of the semester I had been improving the engine and somewhat changing it drastically. I introduced the concept of processes (idea stolen from Game Coding Complete by Mike McShaffry; I use it for larger things such as modules rather than small things such as timers), created game states, developed the relation of GameObjects and GraphicsObjects, and converted my SDL rendering to use OpenGL. I wanted to use a better graphics system so I didn't have to worry about rendering in the correct order, so I was excited that I would be again programming in DirectX. Well that idea was shot down when Matt wanted to be able to program in Linux (and he still can't due to other reasons not created by me). So I started to learn OpenGL. I had heard about Glut, but I didn't want to use it because it was outdated and some of the lines of code seemed to make me wonder if I would have to restructure the engine, which I did not want to do at that point. Maybe it wasn't the brightest decision to dismiss the wrapper, but I did.
I got OpenGL to work pretty well. We had an isometric game, and handling the different z orders of the GraphicsObjects along with those on the same z value turned out to be easy. My only problem that I faced was rendering text. Since Matt wanted to program in Linux, I had to also make the font rendering work on both platforms. Unfortunately I could not find a font system that was platform-independent and did not use Glut. I ended up spending many frustrating hours figuring out how to render my own text. Because SDL was platform-independent, I was able to use SDL TTF. My first attempt was to try and render the image generated by SDL TTF onto a texture then display it on the screen, but this was taking up 100% of the CPU and slowing down the program because SDL is a software renderer. I got some inspiration from other tutorials and examples, and I decided to create a bitmap of all the characters of the font I was loading in. I then performed a clever use of OpenGL's Display Lists and was able to render text just fine.
Engine Proof was a demonstration of all of our technology, and we had a presentation during Week 11. This, mind you, was one week after we submitted our game (aka: one week to actually work on Kudos). Well I had my graphics (including simple frame-based animations), sound, input, and basic controls. I was set. My only concern was what everyone else was doing. My dream was that we could get Bryan's state machine and physics, Brandon's AI movement, and Matt's soon to be created tile maps integrated into the game. Luckily we did not have to have all the sections integrated. Bryan and Brandon presented their own separate sections, but Matt had a tile map loading in from a file and rendering in the engine I created. The nice thing is that he did not have to touch much of the stuff I had already created. He was able to create his files and a MapProcess that needed a few items such as the GraphicsProcess and have the MapProcess created when the main level was loading.
Our next goal, finally, was to integrate all of our code together (aka: have Bryan and Brandon put their code into my engine). We had a First-Playable Prototype due at the end of Week 14; 3 weeks with Thanksgiving in the middle of it to create a basic game. Nothing much got done by my part for 2 weeks. Byran and Brandon slapped in their stuff and we had a bunch (tested hundreds and thousands) of Kudos following the player around. I then bought Mass Effect and played it all day for a few days and beat it. It wasn't until about a week and a few days before our submission that I started to get back on track.
The major thing lacking at this point was combat and player control over the Kudos. I didn't like so many dependencies with different modules, so I created an events system. With this I was able to send out simple data, which I could expand later on, with just a name of an event attached to it. The event manager would look up the event name and send out the data to various event listeners (functors), and the event listeners who were listening to particular events would handle the data that was sent. With this system in place, the UI was able to handle all input and tell the AI that there was a mouse click on some part of the world. The AI could them figure out which Kudo was selected. The best part was that UI and AI processes did not know about each other.
Before our presentation, I got one more major thing put in place. At that current point in time, the Kudos and the player were always at a fixed angle (looking towards the bottom-right corner of the screen). I wanted to have animations that changed the angle based on the direction the characters were moving. I figured eight different directions were good enough. With my current frame animations and sets, I was able to expand it to create eight-way animations. Whenever a frame is created I specify an angle (0 is default for non-eight-way animations). I can create the multiple angles for the frames and compile them together. I also had fluid transitions between angles while an animation was being played. This made the Kudos feel a lot less rigid.
I wanted everyone to meet to have a long coding session on Monday, but Bryan and Brandon didn't even show up to school. Tuesday went by without any team progress. We had to meet on Wednesday. It was crucial to our presentation; combat was not in the game at this point. We started work around 10 in the morning and kept on working until about 6 or 8 in the evening. We managed to get in combat between Kudos and between the player and Kudos, yet the evil Kudos could not attack the player. It ended up with me programming the player's combat, which I was not supposed to do (according to our project planning timeline). I also added evil-looking Kudos and the ability to switch the animations so the two sides looked different. Our presentation was OK. There were no physics in the tiles and Brandon's code was flawed (some Kudos seemed to be chased when fighting and would run off to infinity). There were definitely better games than ours.
One thing that I was not happy about the game was Brandon's willing to work on the project during the last week. I had asked him to work on the AI movement over the weekend before our game was due. He said on Monday that he was halfway there, and he had uploaded some code which was only a few lines and most were just duplicates. He told me he would be working on it all Monday, when he didn't show up to school. On Wednesday I told him we had to meet to get it done and that I would pick him up later on in the day. He said he would upload the code before I picked him up. He did not upload any new code before we started to work, so it gave me the impression that either he was crazy to start over again or that he wasn't working on the game. Late in the evening he quit what he was doing and wanted to go home. I was his ride and was still working, so he wasn't able to go home. I asked him if he was satisfied with what he did and if he would have no problems showing it to the class. I thought it was lacking, but he was OK with it. I came to the assumption that he was playing Morrowind all weekend and up until this point as he was talking about it with Matt, whom had played it extensively 5 years prior. If this highly probable situation was true, then he poorly lied to me, and I don't like that.
During the winter break I thought I would be using the bonus hours and work on the game a bunch. I spent a week of relaxation, then my brother came home. The rest of the time I was with him or playing BioShock, and I didn't touch the code until 2 days before the new semester. Brandon failed one of his three classes, which was a prerequisite for GAM250, and is now technically off our team. He has still made promises of fixing the AI movement, but has failed to actually do so. If you have read the Assembly post, then you would know I hate repeated false promises. Justin, someone I have known during my entire time at DigiPen, left his team and joined ours. We'll see how that goes, but I am pretty hopeful at this point.
Throughout the summer I improved the game engine. It wasn't much, but at least I could make a character (ninja) jump around. I also played around with some Inverse Kinematics and got one of its arms and hand to reach for the cursor whenever I held down the left mouse button. My only problem was that I had never programmed any 2D graphics before. Back in high school I messed around in 3D with DirectX for my senior project. Sure, this was technically taking a step down in dimensions and should be easier, but there seems to be more management of the sprites and attention to rendering order (this still is biting me in the butt). I also didn't feel the need to work with all the odds and ends of DirectX to show some simple graphics in a window. Matt had used Simple DirectMedia Layer (SDL) in his 2D senior project, so I got some help from him and was able to see results within a day. Later in the summer Matt decided to leave the team he would have been on this year and be on mine (except at the time I didn't have one). He felt that all they were making was a small tech demo.
He and I arrived to our game class without a full team on the first week of our third semester. Luckily two school friends of ours were in the same boat, and we decided to join forces. Unfortunately I was unable to persuade anyone else into creating my ninja game, even though I had an "awesome" demo. Matt and I forfeited any idea of ours to work on Bryan and Brandon's Kudos. It is a game like Pikmin where you play a character that can control various little "puffy/fat" creatures to do various things such as fight to the death or solve fun puzzles. There are about 10 different kinds of Kudos each with their own special abilities. You have to go out into the areas around the main town of Kudo Valley and weaken mind-controlled Kudos. Then you can get them on your own team. The objective is to stop the main evil-doer (Mortimer) and his lackeys from taking over all of the Kudos.
I wanted to be the product manager. The role of the product manager was to create all the marketing materials for the game. I also did not want to be a producer or technical director because those are the top positions on a team. I wanted to save those for my final two years, and I had already been a designer. Being the product manager was my ideal goal; I would be great with it if I was working on my ninja game. Well Brandon was the best artist in our group and he had been working with Bryan with the idea and art direction of Kudos, so he got the job. Bryan had been the main creative thinker for the game design, so he became the designer. I was stuck with the two positions that I did not want to be. From his personality, I figured that Bryan would be demanding and would spiritually take over the role of producer, so I picked to be the technical director. Also, Matt had been the technical director the previous year in The Pirate-Ninja. Since I was the technical director, it would be my job to layout the architecture of the engine for our game.
In game class I learned that we would have 2 weeks for our Game Design Document, 3 for our Technical Design Document, and 3 weeks for our midterm project. We weren't supposed to start programming until our TDD was done, but this ended up being turned in during Week 10. Well, limitations put on by the teacher were not going to stop me. I knew we would be in trouble if we started programming from scratch at that date, although we were encouraged to use our midterm as the foundation for our game. I ended up using the foundation of our game for my midterm. I was also able to use it for my personal project because no one else had touched the code at that point in time. Our assignment was to create a Bejeweled clone with graphics, input, and a game loop. It took me about 6 hours to make it with my existing engine. Note: It did not have any menus or text.
Throughout the first 9 weeks of the semester I had been improving the engine and somewhat changing it drastically. I introduced the concept of processes (idea stolen from Game Coding Complete by Mike McShaffry; I use it for larger things such as modules rather than small things such as timers), created game states, developed the relation of GameObjects and GraphicsObjects, and converted my SDL rendering to use OpenGL. I wanted to use a better graphics system so I didn't have to worry about rendering in the correct order, so I was excited that I would be again programming in DirectX. Well that idea was shot down when Matt wanted to be able to program in Linux (and he still can't due to other reasons not created by me). So I started to learn OpenGL. I had heard about Glut, but I didn't want to use it because it was outdated and some of the lines of code seemed to make me wonder if I would have to restructure the engine, which I did not want to do at that point. Maybe it wasn't the brightest decision to dismiss the wrapper, but I did.
I got OpenGL to work pretty well. We had an isometric game, and handling the different z orders of the GraphicsObjects along with those on the same z value turned out to be easy. My only problem that I faced was rendering text. Since Matt wanted to program in Linux, I had to also make the font rendering work on both platforms. Unfortunately I could not find a font system that was platform-independent and did not use Glut. I ended up spending many frustrating hours figuring out how to render my own text. Because SDL was platform-independent, I was able to use SDL TTF. My first attempt was to try and render the image generated by SDL TTF onto a texture then display it on the screen, but this was taking up 100% of the CPU and slowing down the program because SDL is a software renderer. I got some inspiration from other tutorials and examples, and I decided to create a bitmap of all the characters of the font I was loading in. I then performed a clever use of OpenGL's Display Lists and was able to render text just fine.
Engine Proof was a demonstration of all of our technology, and we had a presentation during Week 11. This, mind you, was one week after we submitted our game (aka: one week to actually work on Kudos). Well I had my graphics (including simple frame-based animations), sound, input, and basic controls. I was set. My only concern was what everyone else was doing. My dream was that we could get Bryan's state machine and physics, Brandon's AI movement, and Matt's soon to be created tile maps integrated into the game. Luckily we did not have to have all the sections integrated. Bryan and Brandon presented their own separate sections, but Matt had a tile map loading in from a file and rendering in the engine I created. The nice thing is that he did not have to touch much of the stuff I had already created. He was able to create his files and a MapProcess that needed a few items such as the GraphicsProcess and have the MapProcess created when the main level was loading.
Our next goal, finally, was to integrate all of our code together (aka: have Bryan and Brandon put their code into my engine). We had a First-Playable Prototype due at the end of Week 14; 3 weeks with Thanksgiving in the middle of it to create a basic game. Nothing much got done by my part for 2 weeks. Byran and Brandon slapped in their stuff and we had a bunch (tested hundreds and thousands) of Kudos following the player around. I then bought Mass Effect and played it all day for a few days and beat it. It wasn't until about a week and a few days before our submission that I started to get back on track.
The major thing lacking at this point was combat and player control over the Kudos. I didn't like so many dependencies with different modules, so I created an events system. With this I was able to send out simple data, which I could expand later on, with just a name of an event attached to it. The event manager would look up the event name and send out the data to various event listeners (functors), and the event listeners who were listening to particular events would handle the data that was sent. With this system in place, the UI was able to handle all input and tell the AI that there was a mouse click on some part of the world. The AI could them figure out which Kudo was selected. The best part was that UI and AI processes did not know about each other.
Before our presentation, I got one more major thing put in place. At that current point in time, the Kudos and the player were always at a fixed angle (looking towards the bottom-right corner of the screen). I wanted to have animations that changed the angle based on the direction the characters were moving. I figured eight different directions were good enough. With my current frame animations and sets, I was able to expand it to create eight-way animations. Whenever a frame is created I specify an angle (0 is default for non-eight-way animations). I can create the multiple angles for the frames and compile them together. I also had fluid transitions between angles while an animation was being played. This made the Kudos feel a lot less rigid.
I wanted everyone to meet to have a long coding session on Monday, but Bryan and Brandon didn't even show up to school. Tuesday went by without any team progress. We had to meet on Wednesday. It was crucial to our presentation; combat was not in the game at this point. We started work around 10 in the morning and kept on working until about 6 or 8 in the evening. We managed to get in combat between Kudos and between the player and Kudos, yet the evil Kudos could not attack the player. It ended up with me programming the player's combat, which I was not supposed to do (according to our project planning timeline). I also added evil-looking Kudos and the ability to switch the animations so the two sides looked different. Our presentation was OK. There were no physics in the tiles and Brandon's code was flawed (some Kudos seemed to be chased when fighting and would run off to infinity). There were definitely better games than ours.
One thing that I was not happy about the game was Brandon's willing to work on the project during the last week. I had asked him to work on the AI movement over the weekend before our game was due. He said on Monday that he was halfway there, and he had uploaded some code which was only a few lines and most were just duplicates. He told me he would be working on it all Monday, when he didn't show up to school. On Wednesday I told him we had to meet to get it done and that I would pick him up later on in the day. He said he would upload the code before I picked him up. He did not upload any new code before we started to work, so it gave me the impression that either he was crazy to start over again or that he wasn't working on the game. Late in the evening he quit what he was doing and wanted to go home. I was his ride and was still working, so he wasn't able to go home. I asked him if he was satisfied with what he did and if he would have no problems showing it to the class. I thought it was lacking, but he was OK with it. I came to the assumption that he was playing Morrowind all weekend and up until this point as he was talking about it with Matt, whom had played it extensively 5 years prior. If this highly probable situation was true, then he poorly lied to me, and I don't like that.
During the winter break I thought I would be using the bonus hours and work on the game a bunch. I spent a week of relaxation, then my brother came home. The rest of the time I was with him or playing BioShock, and I didn't touch the code until 2 days before the new semester. Brandon failed one of his three classes, which was a prerequisite for GAM250, and is now technically off our team. He has still made promises of fixing the AI movement, but has failed to actually do so. If you have read the Assembly post, then you would know I hate repeated false promises. Justin, someone I have known during my entire time at DigiPen, left his team and joined ours. We'll see how that goes, but I am pretty hopeful at this point.
12/10/07
Game Testing
My second semester at DigiPen ended during the last week of April. At this point I knew that I hated living in Everett and commuting down to Redmond every weekday. I wanted to move down in the Fall, but during the Summer I needed to work to gain enough money to live on until student loans kicked in. Probably the best kind of job for me at this point was to become a video game tester. I spent a few days of relaxation then landed two interviews on a Thursday. One was with Nintendo, the other was with VMC.
I arrived at Nintendo at around 9:00am. The interview was not until 10:00am. So I sat and waited for an hour while seeing all of the employees for the 4900 building coming in and out of the front entrance for smoke or lunch breaks. The Aerotek Staffing Agency is located between security and the front door. Sets of chairs are located opposite of the two. Andy Bucher strolled by asking what I was here for. He was the guy who I talked to on the phone the night before. He was surprised at how early I was but had already known I would be. I had sold myself on the phone, which afterwards I knew was probably unneeded, and confessed my good habit of extreme punctuality.
As 10:00am grew nearer, more potential employees appeared in the lobby. I knew they were waiting for the same interview. I could tell just by their faces, attire, and manner of entering the building. Most of them were students at DigiPen like myself, yet I was the only one with a button-down shirt. Andy gathered the lot of us together, about 10 people. He took us out of the building and across the street near our school. Through a backdoor, he led us up a set of stairs and into a poorly laid out conference room. He talked about Nintendo and Aerotek then gave us an old VHS tape to watch. We each had a sheet of paper and a pen. Our objective was to watch a video of N64 and Gameboy games and look for bugs without his interaction. We would document each of the bugs we found on the piece of paper. One DigiPen student had tested at Nintendo during the last summer; she got to press play. The quality of the video was terrible and it seemed like they used it thousands of times. The hour had passed and we were allowed to go.
My next stop would be in 4 hours at Volt. They have a division which deals purely with testing Microsoft's products, VMC. Both buildings, Volt and VMC, were located a few miles north of Nintendo. I arrived with eagerness but somehow immediately felt disappointed. There was not any test of any kind. There was no video to watch. There was not even a simple interview. We signed papers for an hour. In two days I would start working at VMC.
I arrived early on the Saturday morning, almost too early. We were told to go into the last door of the building and at 7:30am we would be directed where to go. The area where everyone met before testing was the main break room. It had various vending machines, tables, chairs, a fully stocked fridge with free beverages, and an Xbox with a few crappy games. I thought to myself, why would anyone want to play games during breaks when they are constantly playing them before and after the given breaks. Later I would realize a distinction between work and play, and I would stop thinking that the people who used that Xbox were out of their minds. Sign-in sheets were spread across a counter. Each one was a different lab and a list of names and signatures. If you did not find your name on the list, you would sign into another list, usually for new people.
They called out names promptly at 7:30am, and each section of testers were led to specified labs. We were told to pick any spot and sit there until further instructions. The testing lead was a fast talker and at first I did not understand fully each thing he said. It was not until the next day when I had fully grasped all the important aspects of testing the games. Our first task was to use a stop watch and record the amount of time it took to turn on and get to the Xbox360 Dashboard. There were about 10 different methods of turning it on, and we all had to do each one 10 times. Once we were done, the testing lead handed out old Xbox games and we were to play them each for half an hour to test backwards compatibility. Whenever the test lead yelled to stop and switch, we would always give our game to the right and receive one from the right.
I was only at Volt for 6 days. The job at VMC was on a day-by-day basis. We were supposed to call in before six on the previous night to ask for certain amount of days to work, and they call back to tell you when you will be working. I didn't call them after the 6th day so I could spend time with my brother. He was coming home for a week from Boston then leaving for California. After his visit, my plan was to return to Volt. I received a call from Aerotek. They wanted me to test games at Nintendo. I figured the atmosphere would be a lot better, and I would also be testing games that were not out yet.
The first day at Nintendo was a huge tutorial. It was long and boring and located in this room with a wimpy fan to cool down the 20+ DigiPen students. The guy leading us through the Bug-Tracking System (Erik) was cool. He was generally a back-up coordinator but always took a day off here and there to lead a bunch of new employees through Nintendo's testing content. Coordinators are people who manage testing a single product. They shuffle through all of the bugs that are reported and approve them to be sent to the game studio. They also converse with the studio on certain issues. My coordinator was Tom. At the end of the day I learned who I was to report to the next day and what game I was going to test: Metroid Prime 3: Corruption.
Super Metroid is one of my favorite games, so being able to test this game was what I hoped to do at Nintendo. I was one of the 5 lucky DigiPen students in my batch of new employees that were put on the Metroid team. The testing phase was not quite in full motion, so they had us play an alpha release for a few days to get us used to the levels and control. My initial playthrough took 3 days to complete. I had to play the game about 40 times through. This was the biggest project at NOA's testing department at the time, and I would be on it for 10 weeks.
After a month into testing, we had to start working on Saturdays and 2 hours extra each weekday. 3 weeks later, we started working on Sundays too. We even had to come in on the 4th of July. I only took one day off, but another time I had to leave early because I was not feeling well. I also was not able to stay later than 10:30 because I was still living in Everett. We were putting in a ton of hours and playing the same game over and over. It got a little aggrivating after a while. Luckily the other DigiPen students and testers in my row were nice people and loved to chat about the weirdest stuff while killing bad guys on the Wii. Even though we talked the most, we were the best testers on Metroid. Whenever a nasty bug had to be found and reproduced, one of the two coordinators would always come to our row to ask for help.
The last day was mostly sitting around and waiting for the higher-ups to approve the game. We were there just in case something went wrong. The team that was present was mostly my row and a few other good testers. Lunch was awesome. Sandwiches, better than usual, were brought into the conference room. We ate them along with cookies and I drank a bottle of Thomas Kemper root beer. Lunch did not seem to stop even after our usual 30 minutes were up. We just sat and talked (with the coordinators) while getting paid for it. It was sort of a sad day, as it would be my last at Nintendo. Yet after all that overtime, I was ready to actually do something besides work.
I played World of Warcraft for a month.
I arrived at Nintendo at around 9:00am. The interview was not until 10:00am. So I sat and waited for an hour while seeing all of the employees for the 4900 building coming in and out of the front entrance for smoke or lunch breaks. The Aerotek Staffing Agency is located between security and the front door. Sets of chairs are located opposite of the two. Andy Bucher strolled by asking what I was here for. He was the guy who I talked to on the phone the night before. He was surprised at how early I was but had already known I would be. I had sold myself on the phone, which afterwards I knew was probably unneeded, and confessed my good habit of extreme punctuality.
As 10:00am grew nearer, more potential employees appeared in the lobby. I knew they were waiting for the same interview. I could tell just by their faces, attire, and manner of entering the building. Most of them were students at DigiPen like myself, yet I was the only one with a button-down shirt. Andy gathered the lot of us together, about 10 people. He took us out of the building and across the street near our school. Through a backdoor, he led us up a set of stairs and into a poorly laid out conference room. He talked about Nintendo and Aerotek then gave us an old VHS tape to watch. We each had a sheet of paper and a pen. Our objective was to watch a video of N64 and Gameboy games and look for bugs without his interaction. We would document each of the bugs we found on the piece of paper. One DigiPen student had tested at Nintendo during the last summer; she got to press play. The quality of the video was terrible and it seemed like they used it thousands of times. The hour had passed and we were allowed to go.
My next stop would be in 4 hours at Volt. They have a division which deals purely with testing Microsoft's products, VMC. Both buildings, Volt and VMC, were located a few miles north of Nintendo. I arrived with eagerness but somehow immediately felt disappointed. There was not any test of any kind. There was no video to watch. There was not even a simple interview. We signed papers for an hour. In two days I would start working at VMC.
I arrived early on the Saturday morning, almost too early. We were told to go into the last door of the building and at 7:30am we would be directed where to go. The area where everyone met before testing was the main break room. It had various vending machines, tables, chairs, a fully stocked fridge with free beverages, and an Xbox with a few crappy games. I thought to myself, why would anyone want to play games during breaks when they are constantly playing them before and after the given breaks. Later I would realize a distinction between work and play, and I would stop thinking that the people who used that Xbox were out of their minds. Sign-in sheets were spread across a counter. Each one was a different lab and a list of names and signatures. If you did not find your name on the list, you would sign into another list, usually for new people.
They called out names promptly at 7:30am, and each section of testers were led to specified labs. We were told to pick any spot and sit there until further instructions. The testing lead was a fast talker and at first I did not understand fully each thing he said. It was not until the next day when I had fully grasped all the important aspects of testing the games. Our first task was to use a stop watch and record the amount of time it took to turn on and get to the Xbox360 Dashboard. There were about 10 different methods of turning it on, and we all had to do each one 10 times. Once we were done, the testing lead handed out old Xbox games and we were to play them each for half an hour to test backwards compatibility. Whenever the test lead yelled to stop and switch, we would always give our game to the right and receive one from the right.
I was only at Volt for 6 days. The job at VMC was on a day-by-day basis. We were supposed to call in before six on the previous night to ask for certain amount of days to work, and they call back to tell you when you will be working. I didn't call them after the 6th day so I could spend time with my brother. He was coming home for a week from Boston then leaving for California. After his visit, my plan was to return to Volt. I received a call from Aerotek. They wanted me to test games at Nintendo. I figured the atmosphere would be a lot better, and I would also be testing games that were not out yet.
The first day at Nintendo was a huge tutorial. It was long and boring and located in this room with a wimpy fan to cool down the 20+ DigiPen students. The guy leading us through the Bug-Tracking System (Erik) was cool. He was generally a back-up coordinator but always took a day off here and there to lead a bunch of new employees through Nintendo's testing content. Coordinators are people who manage testing a single product. They shuffle through all of the bugs that are reported and approve them to be sent to the game studio. They also converse with the studio on certain issues. My coordinator was Tom. At the end of the day I learned who I was to report to the next day and what game I was going to test: Metroid Prime 3: Corruption.
Super Metroid is one of my favorite games, so being able to test this game was what I hoped to do at Nintendo. I was one of the 5 lucky DigiPen students in my batch of new employees that were put on the Metroid team. The testing phase was not quite in full motion, so they had us play an alpha release for a few days to get us used to the levels and control. My initial playthrough took 3 days to complete. I had to play the game about 40 times through. This was the biggest project at NOA's testing department at the time, and I would be on it for 10 weeks.
After a month into testing, we had to start working on Saturdays and 2 hours extra each weekday. 3 weeks later, we started working on Sundays too. We even had to come in on the 4th of July. I only took one day off, but another time I had to leave early because I was not feeling well. I also was not able to stay later than 10:30 because I was still living in Everett. We were putting in a ton of hours and playing the same game over and over. It got a little aggrivating after a while. Luckily the other DigiPen students and testers in my row were nice people and loved to chat about the weirdest stuff while killing bad guys on the Wii. Even though we talked the most, we were the best testers on Metroid. Whenever a nasty bug had to be found and reproduced, one of the two coordinators would always come to our row to ask for help.
The last day was mostly sitting around and waiting for the higher-ups to approve the game. We were there just in case something went wrong. The team that was present was mostly my row and a few other good testers. Lunch was awesome. Sandwiches, better than usual, were brought into the conference room. We ate them along with cookies and I drank a bottle of Thomas Kemper root beer. Lunch did not seem to stop even after our usual 30 minutes were up. We just sat and talked (with the coordinators) while getting paid for it. It was sort of a sad day, as it would be my last at Nintendo. Yet after all that overtime, I was ready to actually do something besides work.
I played World of Warcraft for a month.
10/23/07
Assembly and The "Remote"-Controlled Car
During the second semester at DigiPen, I, along with every other Freshman, took CS105. Professor Duba was a great teacher and he would always write in big letters and sometimes use smiley faces and evil bananas for variables. That trend of odd humor in lectures or homework would not end with just Duba. In this class we learned a bit more about basic circuitry, processors, analog to digital converters, memory, how to operate a basic PIC micro controller with assembly, etc. The final goal of this class was to transform an RC car into a self-driving unit.
We were each randomly assigned to five-person groups and had to complete weekly exercises that would expand our cars. At first, there were some basic steps like setting a port to be output and change the value on it to light up an LED. In later weeks we would be messing around with the speed controller for the motor and even the servo for turning the wheels. Each car came equipped with four sensors. Two long-range sensors pointed at 45 degrees to the left or right, and the other two were short-ranged and aimed directly in front of and behind the car. We had a lab to measure the voltage output of the sensors for different distances from them to an object. The next week we would try to convert the analog voltage to a digital value that would be stored in memory.
All of this was done by programming in Assembly and uploading the program to the PIC. If you do not know, Assembly is sort of an aggravating language to use. The programmer has to explicitly say line by line exactly how the PIC should operate. For instance, in C we have this code:
int a = 0;
In Assembly, it would be more like:
a EQU 0x20 ; establish that "a" is at address 0x20
MOVLW d'0' ; move the decimal value of 0 into the working register
MOVWF a ; move the value of the working register into the address of "a"
Even though this is a minor example of what goes on in assembly, just imagine all of normal C code expanded into multiple lines that just does simple things. We also had to deal with odd proprietary Assembly code for interrupts, mostly for waiting for the analog to digital conversions of the voltages of the sensors to be done.
The worst part about this class was that we could not choose our teammates. We could but it would reduce our final grade of the car by 10%. I was unfortunately stuck with a team with members that seemed to be unwilling to work on the project, other than myself. In fact, two of my other teammates on The Pirate-Ninja faced the same dilemma. For our car, the only other work that was actually done on the car was by the person who just discovered the amount of time for the acquisition of the analog voltage for the conversion and randomly placed certain function calls based on what I told him to do. Other than that, the rest of them just sat down next to me looking at the code while rarely saying anything. The problem was that they sat down with me at the last minute, and because they failed to learn ahead of time, they were not even able to help then. Multiple times I was face with explaining the code in great detail, but they did not use it to the team's advantage.
I had a hard time with false promises of being in the lab at the time stated or even at all. It was either 3 hours late due to a game team meeting or forgetting about it 45 minutes later and staying in the same room for 4 more hours (multiple times). We had a milestone due where the car was supposed to travel through a course on its own. I got the team my score of 90 out of 100. Starting a week before, I came in every day at 7:30 in the morning and usually left at 10:30-11:00 at night, working on it every minute I did not have class. Remember, at this time I did not live nearby and did not have a parking pass. I slept for about 5 hours a day, and I never felt like leaving DigiPen to go to my car and drive somewhere for dinner because that wasted time. I did this routine for a week. When classes were held in the lab I would be in the outside room right by the door. One of my teammates had promised to be there after classes on a Tuesday. He did not show up until about 6pm and did not see me earlier, even though I sat in front of that door with the car where he walked passed twice to go in and out of the room to take a math test.
On the Thursday before the milestone was due, all of them came into the room to work. I do not use the term bastards lightly. This was the one point in my life where I think I actually went a bit crazy. I started doing my usual meowing that I do before performing in a play. It has sort of become my way to express anxiety. I kept on doing it over and over, for over half an hour. Because I had been coding so much in Assembly, I started to think like Assembly. I had thoughts and ideas that I could not quite grasp in my head, so I brought up multiple windows of Notepad and started typing yes-or-no questions and answers, step by step. I used this to communicate to my teammates, whom I did not want to talk to but was sure were reading the screen somewhat intentively. I told them I was going on a 10 minute break to the 7/11 across the parking lot. I got the usual snacks, except I accidentally got peppered beef jerky. I hate the stuff. At certain points I had to plug my ears just to be able to think without all of the noises of the other groups of students huddled in small areas trying to accomplish the same thing. When taking out the car for testing in the halls, I was unable to remember anything. I told each of my teammates something to remember for the time it took to get back to the lab. Yet my efforts were useless; I had remembered everything.
A week later they promised to do the rest of the work on the car. They did not want me to touch the code anymore. I was fine with that. I e-mailed all of them the code and told them to study it. It was not until a week later when one of them actually wanted to look at it where I realized that I had failed to send it a week earlier. No one had told me of this mistake. I kept to their promise and did not touch a thing. I even outlined a list of tasks and what I thought was a reasonable schedule to complete our car. Just for the sake of helping them out in case they needed it, I spent many hours after my classes in the lab during the week that it was due. I did not do anything on the car, just worked on other classes. No one showed up until Thursday. The car was due Saturday. At this point the car had the basic functionality of moving around on its own, but so did every other car. Duba wanted each car to do something special.
Finally one of them, followed by another, came in and tried to work on the car. Unfortunately they had not studied the code and required me to walk them through it again. They were not able to do anything productive and ended up on the wrong track. Barely anything got accomplished. So I broke their promise and started programming the timer and got certain driving routines to be performed. While I worked, one of the teammates that showed up apparently decided that he was probably screwed on this project and started going through practice finals for CS105 and CS230. I would see him get up in the lab and walk around to various people asking them the answers to certain questions. My other teammates were working on their individual CS230 assignments in Pascal as I saw as I walked by from the snack machines. I worked all of Friday and even got to the school at 7:30am on Saturday. My other teammates could not do that early, reasonable reasons, church or sleep or something. Maybe a multitude of car accidents. Yet one of them was able to purchase Barbie dolls to place on the car because they were not able to do anything else. We had our final run graded by Duba, and it did not seem to do terribly great. The battery was fresh and it started banging into walls somewhat violently. One of my teammates seemed slightly frustrated. Did he have a basis for his anger? Probably not.
So I did not have such a hot time with my teammates. What did I learn? I am not going to take crap anymore. I was patient and tried to be helpful, but they did not seem to care too much. They did barely nothing while reaping most of the benefit and made me go crazy to a point where I had not gone before.
We were each randomly assigned to five-person groups and had to complete weekly exercises that would expand our cars. At first, there were some basic steps like setting a port to be output and change the value on it to light up an LED. In later weeks we would be messing around with the speed controller for the motor and even the servo for turning the wheels. Each car came equipped with four sensors. Two long-range sensors pointed at 45 degrees to the left or right, and the other two were short-ranged and aimed directly in front of and behind the car. We had a lab to measure the voltage output of the sensors for different distances from them to an object. The next week we would try to convert the analog voltage to a digital value that would be stored in memory.
All of this was done by programming in Assembly and uploading the program to the PIC. If you do not know, Assembly is sort of an aggravating language to use. The programmer has to explicitly say line by line exactly how the PIC should operate. For instance, in C we have this code:
int a = 0;
In Assembly, it would be more like:
a EQU 0x20 ; establish that "a" is at address 0x20
MOVLW d'0' ; move the decimal value of 0 into the working register
MOVWF a ; move the value of the working register into the address of "a"
Even though this is a minor example of what goes on in assembly, just imagine all of normal C code expanded into multiple lines that just does simple things. We also had to deal with odd proprietary Assembly code for interrupts, mostly for waiting for the analog to digital conversions of the voltages of the sensors to be done.
The worst part about this class was that we could not choose our teammates. We could but it would reduce our final grade of the car by 10%. I was unfortunately stuck with a team with members that seemed to be unwilling to work on the project, other than myself. In fact, two of my other teammates on The Pirate-Ninja faced the same dilemma. For our car, the only other work that was actually done on the car was by the person who just discovered the amount of time for the acquisition of the analog voltage for the conversion and randomly placed certain function calls based on what I told him to do. Other than that, the rest of them just sat down next to me looking at the code while rarely saying anything. The problem was that they sat down with me at the last minute, and because they failed to learn ahead of time, they were not even able to help then. Multiple times I was face with explaining the code in great detail, but they did not use it to the team's advantage.
I had a hard time with false promises of being in the lab at the time stated or even at all. It was either 3 hours late due to a game team meeting or forgetting about it 45 minutes later and staying in the same room for 4 more hours (multiple times). We had a milestone due where the car was supposed to travel through a course on its own. I got the team my score of 90 out of 100. Starting a week before, I came in every day at 7:30 in the morning and usually left at 10:30-11:00 at night, working on it every minute I did not have class. Remember, at this time I did not live nearby and did not have a parking pass. I slept for about 5 hours a day, and I never felt like leaving DigiPen to go to my car and drive somewhere for dinner because that wasted time. I did this routine for a week. When classes were held in the lab I would be in the outside room right by the door. One of my teammates had promised to be there after classes on a Tuesday. He did not show up until about 6pm and did not see me earlier, even though I sat in front of that door with the car where he walked passed twice to go in and out of the room to take a math test.
On the Thursday before the milestone was due, all of them came into the room to work. I do not use the term bastards lightly. This was the one point in my life where I think I actually went a bit crazy. I started doing my usual meowing that I do before performing in a play. It has sort of become my way to express anxiety. I kept on doing it over and over, for over half an hour. Because I had been coding so much in Assembly, I started to think like Assembly. I had thoughts and ideas that I could not quite grasp in my head, so I brought up multiple windows of Notepad and started typing yes-or-no questions and answers, step by step. I used this to communicate to my teammates, whom I did not want to talk to but was sure were reading the screen somewhat intentively. I told them I was going on a 10 minute break to the 7/11 across the parking lot. I got the usual snacks, except I accidentally got peppered beef jerky. I hate the stuff. At certain points I had to plug my ears just to be able to think without all of the noises of the other groups of students huddled in small areas trying to accomplish the same thing. When taking out the car for testing in the halls, I was unable to remember anything. I told each of my teammates something to remember for the time it took to get back to the lab. Yet my efforts were useless; I had remembered everything.
A week later they promised to do the rest of the work on the car. They did not want me to touch the code anymore. I was fine with that. I e-mailed all of them the code and told them to study it. It was not until a week later when one of them actually wanted to look at it where I realized that I had failed to send it a week earlier. No one had told me of this mistake. I kept to their promise and did not touch a thing. I even outlined a list of tasks and what I thought was a reasonable schedule to complete our car. Just for the sake of helping them out in case they needed it, I spent many hours after my classes in the lab during the week that it was due. I did not do anything on the car, just worked on other classes. No one showed up until Thursday. The car was due Saturday. At this point the car had the basic functionality of moving around on its own, but so did every other car. Duba wanted each car to do something special.
Finally one of them, followed by another, came in and tried to work on the car. Unfortunately they had not studied the code and required me to walk them through it again. They were not able to do anything productive and ended up on the wrong track. Barely anything got accomplished. So I broke their promise and started programming the timer and got certain driving routines to be performed. While I worked, one of the teammates that showed up apparently decided that he was probably screwed on this project and started going through practice finals for CS105 and CS230. I would see him get up in the lab and walk around to various people asking them the answers to certain questions. My other teammates were working on their individual CS230 assignments in Pascal as I saw as I walked by from the snack machines. I worked all of Friday and even got to the school at 7:30am on Saturday. My other teammates could not do that early, reasonable reasons, church or sleep or something. Maybe a multitude of car accidents. Yet one of them was able to purchase Barbie dolls to place on the car because they were not able to do anything else. We had our final run graded by Duba, and it did not seem to do terribly great. The battery was fresh and it started banging into walls somewhat violently. One of my teammates seemed slightly frustrated. Did he have a basis for his anger? Probably not.
So I did not have such a hot time with my teammates. What did I learn? I am not going to take crap anymore. I was patient and tried to be helpful, but they did not seem to care too much. They did barely nothing while reaping most of the benefit and made me go crazy to a point where I had not gone before.
10/20/07
The Pirate-Ninja
I nominated myself as the game designer. You see, we had to each pick a separate role (designer, producer, technical director, and product manager) and do certain things throughout the year. DigiPen's goal is to make each student shift through each of them throughout their years at the school. So I chose the role which I thought would be the easiest and least interesting. After finishing the design, none of the people I worked with want to ever create any game that has anything to deal with pirates, ninjas, robots, or zombies. The basic premise of our game was that there was a Pirate vs Ninja War and in the midst of it, a female ninja and male pirate mated to create a half-breed. This child was ridiculed all of his life, born with a peg leg and wearing clothes from both pirates and ninjas, and after turning 18 he would set out for vengeance against all of them. There also happened to be zombies and robots in the game just for the sake of hilarity.
We really should have thought of a different idea, because typing out the descriptions for every single cell that the player could possibly travel to was long and boring. I also disregarded the notion of creating a game that I would think would be fun to play; I am not that big of a fan of text RPGs. Along with the amount of work needed to be done, I procrastinated until about the first week of December to work on the maps (which needed to be fully planned out for the submission of the Game Design Document, a few weeks from then). It wasn't a pleasant combination.
The process of making the game was much more fun to do. I worked on the sound and battle system. It was basic and poorly structured, and overall our game had really ugly code. In my battle code, there was text formatting and display functions, and we called everything and performed certain tasks from within the parser. We didn't spend much time before programming to plan any decent layout of the "engine". Although we really weren't too sure about coding nice engines and game loops at that point. At least it worked in the end.
6/17/07
First Semester
My first semester at DigiPen was a piece of cake. They start everyone with the same basic courses and teach from the ground up. Students who have had no prior programming experience could come here and learn how to make games, and there were far more than I expected. From what I could tell, most of the student had at least dipped into the subject during high school. Those who had no experience probably dropped out within the first few weeks, although there are exceptions. Multiple times during the school year I noticed a decline in students. In my eyes, these were grand moments. I had hoped one of the students had a parking pass, and I could possibly receive one of these golden tickets. Every day I commuted from Everett to Redmond, and it was a bitch when after all that time sitting in my car, I could not park at my own school. Other than goals of receiving a parking pass, I probably would not have wanted to work with students who are not thrilled about programming.
Personally I love programming, and for this reason I go to DigiPen for an extremely focused education (programming and more programming). It may not be the best, but I like it so far. Unfortunately, DigiPen likes to throw a couple curve balls at us. It pained us RTIS students when Art Appreciation was one of the required courses. Now I like art, and I took multiple art classes in high school (both computer graphics and traditional), yet this class was terrible. If you mix together one late, slow teacher, crappy exams that mostly test visual memorizing skills, a dry text book, a projector that breaks down every week with major discoloration issues, and a student who knows no limits to stupid questions, you will get DigiPen's ART105. I learned almost nothing in that class that I had not learned before in high school. Luckily the rest of my teachers were not so disorganized.
The president of our school taught our CS100 class, an introductory course to low-level hardware. I enjoyed waking up at 7 every morning to make his class at 10 and sit in the front row. You can not do much with spoken 1s and 0s early in the morning, but his loud voice and odd humor kept me awake and attentive to the relatively easy topic of binary and logic gates. Professor Claude Comair is a fun and dedicated teacher. He started the school so that there would be sufficient training for 3D animators. His dream then evolved into including the teaching of game programming, and he constantly shows a dedication for making the school even better. Next year’s freshmen will get shafted because Comair has retired from both his position as the head chairman at Nintendo Software Technology and as a teacher at DigiPen. One funny thing about Comair is that his son was also freshmen at DigiPen yet in the other section of CS100. It was interesting (and a little awkward) to hear Comair describe semi-personal stuff about his son, while most of us had no idea if he was in the same room or not. I think his son is now in the Computer Engineering department.
Christopher Erhardt was my teacher for "Game" class. He was an amazing speaker, rarely pausing and never afraid to speak his mind. He bashed into our skulls concepts over and over, and would count the amount of times people would utter fillers. He would show up promptly, almost always dressed in a suit. Five sophomore students even shaved their heads and dressed in suits on a day in February to celebrate Erhardt. The best moment I've ever experienced with him is when he chewed out 3 teams for being late on their Alpha deliverable. He ranted on about time management and described to us the extent in which he was doing, and then we learned there was no excuse to complain. Erhardt was an awesome teacher and a great person to know. He also made us make individual games with a proprietary editor called ProjectFUN and work on a small team to produce a text-based game during the second semester.
Personally I love programming, and for this reason I go to DigiPen for an extremely focused education (programming and more programming). It may not be the best, but I like it so far. Unfortunately, DigiPen likes to throw a couple curve balls at us. It pained us RTIS students when Art Appreciation was one of the required courses. Now I like art, and I took multiple art classes in high school (both computer graphics and traditional), yet this class was terrible. If you mix together one late, slow teacher, crappy exams that mostly test visual memorizing skills, a dry text book, a projector that breaks down every week with major discoloration issues, and a student who knows no limits to stupid questions, you will get DigiPen's ART105. I learned almost nothing in that class that I had not learned before in high school. Luckily the rest of my teachers were not so disorganized.
The president of our school taught our CS100 class, an introductory course to low-level hardware. I enjoyed waking up at 7 every morning to make his class at 10 and sit in the front row. You can not do much with spoken 1s and 0s early in the morning, but his loud voice and odd humor kept me awake and attentive to the relatively easy topic of binary and logic gates. Professor Claude Comair is a fun and dedicated teacher. He started the school so that there would be sufficient training for 3D animators. His dream then evolved into including the teaching of game programming, and he constantly shows a dedication for making the school even better. Next year’s freshmen will get shafted because Comair has retired from both his position as the head chairman at Nintendo Software Technology and as a teacher at DigiPen. One funny thing about Comair is that his son was also freshmen at DigiPen yet in the other section of CS100. It was interesting (and a little awkward) to hear Comair describe semi-personal stuff about his son, while most of us had no idea if he was in the same room or not. I think his son is now in the Computer Engineering department.
Christopher Erhardt was my teacher for "Game" class. He was an amazing speaker, rarely pausing and never afraid to speak his mind. He bashed into our skulls concepts over and over, and would count the amount of times people would utter fillers. He would show up promptly, almost always dressed in a suit. Five sophomore students even shaved their heads and dressed in suits on a day in February to celebrate Erhardt. The best moment I've ever experienced with him is when he chewed out 3 teams for being late on their Alpha deliverable. He ranted on about time management and described to us the extent in which he was doing, and then we learned there was no excuse to complain. Erhardt was an awesome teacher and a great person to know. He also made us make individual games with a proprietary editor called ProjectFUN and work on a small team to produce a text-based game during the second semester.
Subscribe to:
Posts (Atom)