Pages

Thursday, September 20, 2012

G.I.F.T.

As I promise, I'm going write something about my new game: G.I.F.T. actually new version of the ice cube game. In G.I.F.T. we are controlling a kid and helping him to get his gift. Base mechanics remained same. We are controlling him by sliding on the surface. I've uploaded the game on kongreate and newgrounds. (Kongregate link - Newgrounds link to play the game.)

Here is how I converted an old game to a new one.

First, I started with changing the character. I wanted it to be a kid. And I started to draw something. First, I thought the kid as a stickman figure. But I didn't like that and I changed my idea. Then I applied some colors and I got this result:


This was my first attempt to draw something for my game.

Than I started to make tiles. In my mind, there was winter atmosphere for the game. For that reason, I made snowy tiles. And I used gradient effect for the background image. This is the tileset that I've made:


And a snowball which is an obstacle:


I know that they're not so good. But making them was so fun for me. Also, using them in a game was a great experience.

I also made some jumping sounds. It can be hardly noticed because its volume is low. That's because I recorded them by using a cheap microphone.

Now, some technical stuff:

I made all the levels as a different class which derives from FlxState. I chose this way because reseting was too easy. Just a line of code which is FlxG.resetState(). But I couldn't put a loop music to the game, because when it resets the game, it also resets the music. For that reason, maybe this decision wasn't that useful. I think whole game must be in just one state to fix this problem. Reseting can be done with setting all variables' values to thier first values. Another bad thing is that I wrote almost same things for the all of the levels. In the ice cube project, I wrote a Level class and derived all levels from this class. I think this way is better and more object-oriented.

I hope you have fun while playing G.I.F.T. and please rate and leave comments.

No comments:

Post a Comment