RSS

Monthly Archives: November 2013

AAA: The Game (Development Diary #4)

This week I really concentrated on adding sound into the game so there isn’t too much to write about. I have to say sound really has a huge impact on the apparent quality of a game. In my last project “the wandering wizard” I had no sound effects due to time/ability constraints but since this game is so much simpler it wasn’t too hard. It really does a lot to bring the experience together. Anyway sit back and Just watch the awesomeness!!!

 
1 Comment

Posted by on November 19, 2013 in Developer Diary

 

AAA: The Game (Development Diary #3)

Optimization:

I’ve spend the better part of this week working on optimizing the game to run much smoother. It’s incredible how many things you can find in your code to improve if you really look for them. When I went in to this I had only one real thing in mind, that was to implement object pooling (I’ll describe this in a second) but once I got started I realized that no one thing was going to give me the dramatic performance boost I wanted. As a result I spent hours and hours finding where the bottlenecks were and how to fix them and learned a lot of cool things that will carry over into future projects 😀

After some digging on the Unity forums I found out about a best practice known as object pooling. You see in my game (and most games) there is a lot of creating and destroying of objects. You have to do this with modular level pieces, projectiles, particle effects, and basically anything that isn’t constantly present. Previously how I handled this was to just create them and destroy them. This works fine but since things are constantly being added and removed from memory it can cause the garbage collector to fire often and cause slight jitters in the game.

Instead of adding and deleting objects you simply create a “pool” of them. When you need one you pull if from the pool, activate it, and put it where you need it. Then when you’re done you disable it and add it back to the pool.

Although this is helpful it has the disadvantage of a longer level load time since all objects have to be created at the start of the scene.

Tangible Changes:

Once I was mostly satisfied with the performance I went on to implement a few very important aspects of the game content itself.

Fly-out Announcements:

First I created fly-out announcements. Basically just text that fly’s out when you pick up a powerup. This is important since the game is centered around humor and if you don’t know what the powerup is you will not get the joke. I haven’t yet decided if I want these to fire the first time you get the powerup or every time.

Tutorial:

Next I added an in-game tutorial which will always appear until you complete it. It pauses the game and gives you instructions for each type of obstacle. It’s very simple but effective.

Story Comic:

The last change I made was to implement a sort of animated comic that gives a bit of simple storyline behind the game. It’s not flashy and reflects my underdeveloped art/animation skills but it gets the point across. Seeing as this is something people will probably see only once if at all I think it is sufficient for now.

 
1 Comment

Posted by on November 12, 2013 in Developer Diary

 

Tags: , , , , ,

AAA: The Game (Development Diary #2)

It hasn’t been long since the last time I posted but I’ve made some significant updates that I wanted to share!!!

Pickups:

The first thing was to change the jewels into android os themed desserts. A lot of people on Google+ suggested this and it was such a no brainer that I’m embarrassed I didn’t think of it in the first place. But no matter you will now see cupcakes, donuts, and eclairs!!!

Speed:

I made it so that the game speed increases the longer you play (up to a maximum). Later I will add a powerup that resets the speed back to it’s starting value.

Terrain:

I made a lot of subtle changes to the modular pieces of terrain that can spawn.

  • I added more variations of obstacles
  • I gave each powerup it’s own object (before it was a single object that would pick a powerup randomly). This makes the pickup placement more appropriate for the nature of each powerup.
  • I added a few objects that had no obstacles, just big clusters of desserts!!!

TROLOLOLOL:

Someone on Google+ (or a couple people) mentioned something about patent trolls which gave me an awesome idea! Now once you hit certain score milestones (200 point intervals for now), you will be faced with a mean green patent troll armed with deadly gavels and a mac pro jetpack!!! WATCH OUT!!!!!!!

 

What’s Next:

The features are coming along nicely and unfortunately the next logical step is to either mess with sound effects or start optimizing (BOOOOORING!!!). But yeah stay tuned…

 

 
Leave a comment

Posted by on November 5, 2013 in Developer Diary

 

Tags: , , , , , ,

AAA: The Game Development Diary #1

Recently I’ve been working on a new game based on one of my favorite podcasts, All About Android. This game is a 2d infinite runner with a fun Android theme!

The story for the game is not fully fleshed out yet so I’ll just focus on the game play for now. Your goal is to dodge rocks by jumping and ducking while collecting as many jewels as you can. Along the way you will collect various Android themed power ups to help you! You tap the left side of the screen to jump and the right side to jump. It is simple and fun!

My goal was not to make anything terribly groundbreaking but something simple and fun that would be appreciated by fellow Android nerds such as my self 🙂

 
1 Comment

Posted by on November 3, 2013 in Developer Diary