GAMES: GameSpot GameFAQs MOVIES: Metacritic Movietome Comic-Con
Thursday, Dec 21, 2006

A month ago, I was planning on entering the Game Developer for a Day 5 Contest. But then I decided that I would better off if I spend my holiday break expanding my programming knowledge so I can start developing my own game, instead of writing down my ideas of a game for a contest. Afterall, I do want to become a Game Designer.

I started off 2 weeks ago when I finished my fall term (toughest term I ever took). With 6 weeks of no school, it was the perfect opportunity for me to spend my free time learning how to program games. Thus I decided to go with XNA which pretty much is the easiest game development tool out there and it allows you to make games for both the Xbox 360 and the PC. It's fairly new too. Microsoft just released 10 days ago (Dec. 11th).

So thanks to the amazing and helpful XNA community I was able to learn how to use XNA pretty quickly with the many helpful tutorials (including video tutorials). So this is how far I have gotten in 2 weeks of programming on XNA:

Animtation

In this program, I have added a cheap background with an image of the sun moving slowly from left to right. The main animation is of the warrior with the sword where he just swings sword continously forever and ever. Here is the sprite I made for this animation:

As you can see, it's only one image in which I have to write some code that will cut out a piece of that image and display it on screen and do that continously through out the 9 frames of that image. It was a little complicating to program, but with a little help of a video turtorial, I managed to learn with ease.

3D Air Hockey Game

This was pretty darn complicating. This game was completely developed with the help of a series of tutorials. The tutorials provided me with three models (puck, peddle, and the table) and of course a guide to programming a 3D Air Hocky game (Artificial Inteligence not included). I think I spend 3 days on it and it is pretty complicating, but not as complicating as I thought it would be. It's still incomplete though, but my focus is on 2D programming right now, maybe next year I will dwell deeper into 3D programming and perhaps even game Engine development. But for now, I want to take it one step at a time and don't get too ahead of myself.

Collision Detection

In this program, I have developed two 2D bouncing balls. I programmed them so that they keep a constant speed and never slow down. The trick here is to detect when they hit something and how to make them bounce off in the right direction (they don't bounce of magically you know). The easy part was to detecting the outer edges of window and bounce off from there. The really really hard part was detecting when the two balls hit each other and than determining in what direction they would bounce off to.

I spent 5 days on this program. The thing that makes it so hard is that the two balls can hit each from many different angles, and bounce off in many different direction. And I am proud to say that I got it working 95% percent of time. There are certain rare cases where the two balls hit each other at a certain angle while going in a certain direction, in which they end up bouncing off in directions they are not supposed to. In order to get it to work perfectly I am going to have to learn a bunch of physics. So decided to stop there, and be happy with what I managed to develope so far. In future, I might just take a Physics course so that might help me perfect this program.

A lot more to Learn

I still have a lot more to learn like player Input, different kinds of collision tests, Artificial Inteligence, etc. So far I have been enjoying programming with XNA and with 4 more weeks to go, I will have enough time to fully learn the process of 2D game programming and start developing my highly hyped game , The Farthest Land.

Comments

Page 1 
« prev  |  next »
I really wish I could program my own games...
Posted Dec 21, 2006 9:42 am PT
in which program are u doing your game
Posted Dec 21, 2006 9:44 am PT
I am using XNA which uses the languange C# for programming.
Posted Dec 21, 2006 10:42 am PT
I was planning to do something like this sometime ago, but I no longer have the time, heck I don't even know if I'll be able to finish my DFAD5 entry
Posted Dec 21, 2006 11:35 am PT
That's amazing, Oblivion. I hope all your practice pays off one day.
Posted Dec 21, 2006 11:38 am PT
good luck, programmings to boring for my tastes i prefer to design character models and the like, its more fun in my opinion, cept making textures that bugs the hell outta me.
Posted Dec 21, 2006 12:59 pm PT
To: Soulreavercross -
I know you are doing a sequel to your last year's entry. Nighting Gale 2 I believe it's called. I really liked your last year's entry mainly because of focus on storytelling. I do hope you finish your entry for this year's contest for I am confident that you'll be able to make in the top 5 this time around. Good luck ^__^

To: gunswordfist -
I hope so too. But in way it is paying off already because this will allow me to do what I love to do, game development.

To: exocel -
I don't mind programming. But like you, I am also far more interesting model design, aswell as animation, game design, level design, and concept art.
Posted Dec 21, 2006 3:28 pm PT
good luck in developing ur game though
Posted Dec 21, 2006 6:08 pm PT
That's awesome, Oblivion! Congratulations on your achievements! I hope you keep on pursuing your dreams!
Posted Jan 8, 2007 8:01 pm PT
Hey thats pretty cool Oblivion. I downloaded XNA when they released the 1.0 version in December too but haven't gotten around to using it yet as I'm first trying to learn C#(I know Java right now and a little C++). Are you part of the Creator's Club by chance? I heard they offered some neat tutorials and other benefits through that or maybe they had them for the regular users too.
Posted Jan 17, 2007 11:08 pm PT
Good to see you making your own games Oblivion keep up the great work!
Posted Jan 18, 2007 1:24 am PT
Thanks guys. Though I have an Xbox 360, I am not part of Creator's Club just yet. I don't want to pay $99 bucks for something that I am not going to use just yet. Probably next year when my game is much further into development and I want to test it on Xbox 360 then I'll probably join the Creator's Club.
Posted Jan 18, 2007 7:20 am PT
Ah collision detection. Its a tough bastard to program (I speak from experience)... Pong seemed like an easy idea before I actually made it. Anyways glad your having fun in XNA I personally have a love hate relationship with programming. I love completing things but the frustrating in coding is often a horrible experience.

Best of luck Oblivion and master 2D before 3D! The aditional movement plain is something that is beyond difficult not to mention the physics!
Posted Jan 23, 2007 11:59 am PT
Cool!
Posted Jan 30, 2007 5:29 pm PT
XD!! They grow up so fast!! Keep working at it! Soon's I go to college, I'm gonna learn programming and join ur team!
Posted Feb 2, 2007 12:41 pm PT
To: gunswordfist -
I hope so too. But in way it is paying off already because this will allow me to do what I love to do, game development.

That's great to hear. I bet you got a lot better since I first posted a comment here.
Posted Feb 12, 2007 4:15 pm PT
Oh yeah, I am pretty far into development. I would love to post what I have developed thus far, but it is too early. I better wait until fall or winter when the game really is deep in development and then I can show some screenshots and perhaps even a trailer.
Posted Feb 12, 2007 4:45 pm PT
thats cool good luck man!
Posted Feb 12, 2007 6:51 pm PT
Oh yeah, I am pretty far into development. I would love to post what I have developed thus far, but it is too early. I better wait until fall or winter when the game really is deep in development and then I can show some screenshots and perhaps even a trailer. That's incredible. I can't wait to hear what you have done when the time comes.
Posted Feb 13, 2007 4:13 pm PT
Page 1 
« prev  |  next »
  • xVxObliVioNxVx
  • Level: 1 (19%)
  • Rank: Mogwai
  • Forum Posts: 204
  • Messages Read: 5


advertisement

Friends

My Friends