I've been asked many times
"Do games need add math?"
Actually, some of my friends wanna try learning programming. So, yeah, I gave them the link to Microsoft's Visual Studio Express programs, if they are really interested in it. Then suddenly, they ask that question.
The answer, of course would be yes. You may not know it when you play games like DOTA, or Red Alert 3 or Maple, but behind the scenes, a lot of Math is going on. Mathematic is the driving force behind computer games.
There are simple math, like deducting the player's HP, and super-complicated math like path finding (for AI).
And in 3D games, selecting a unit by clicking on them is also quite complicated. Sure, you can just click on the screen, but in 3D environment, the game must perform a lot of calculations just to get what object you're trying to click.
So, remember, the next time you play computer games, don't ever forget the efforts the game developers had to put in to give you the best entertaining experience.
If you want to know an example of how math is applied in a game, you can check out the Circle-Line Intersection. How is that helpful in the gaming world? Well, let's say you have a circular object, and you fired a bullet at it. Assuming that the bullet will travel in a straight line, the question is, will the bullet hit the object? Yeah, so, as you can see, game development isn't just "code typing", it is also a gigantic mathematical problem, that you have to solve. Well, sort of. Ok, fine, my analogy isn't that good, but you get the idea, right?
But don't let that bring your hopes down on becoming a professional game developer. It's a very fun thing to do, seeing people play the game that you made. Some more, you can see them and laugh as they suffer from the hard levels you give them. Playing computer games is a fun hobby, but creating them is even more fun. I mean, you are like a God, planning what you want to do in your very own universe, and controlling everything. You want the player to suffer, well, why not fill the whole world with boiling hot lava? Ok, that'll just be plain evil. Anyway, all I want to say is, creativity is another important aspect in creating a game. Go wild! It's your world after all.
So, if you aspire to be a pro game programmer, I wish you Ganbatte! Trust me, game programming is fun, if you have the passion for it.
Saturday, 28 February 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment