Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 23 Aug 2011
Offline Last Active Mar 08 2012 03:37 PM

#4866943 Where to start with RTS game programming?

Posted by on 28 September 2011 - 02:38 PM

well, the 4. and 5. steap are = magic. those are all stands on you, only you.

and profit not necessary means money. if you get a good job by showing it (as you mentioned.), thats also a profit.
or at least if some RTS fangirl pulls down her panties for you, thats also some kind of profit ;)

Wow that was amazingly incredibly helpful. You should try this general rule in life: If you have nothing smart to say, don't.

#4862231 Soccer AI from the book Programming Game AI by Example

Posted by on 15 September 2011 - 03:47 PM

I read the whole chapter like maybe three times over. I coded everything, but tested nothing. I understood the code, I worked through it over and over couple of times until it felt like I understood it all.

The challenge now I face is how do I test all this, where do I begin. In the next days, I will try to separate out small chunks of code that I can test. For example I will test only if the goalkeeper moves correctly, I will control the ball with the mouse pointer to have more control of the situation. That way I will be sure that the goalkeeper is fine. Next I can move on to test just one player, and in similar fashion test how he reacts to the ball. Then I could test just one player, given some opponents positions, if he could properly find the best spot to support an attacker. And so on and on, until bigger patterns for testing things start to emerge, and finally to test the whole thing as one.

So any opinions on this, or how you guys went about doing it, shoot em here.

Edit: I started testing basic things, like do the walls definitions match what I draw, does the playing area match the drawing and stuff like that... Seems like I will do this kind of testing for like a week. So I spent a week studying and coding and another week will go into just testing what was coded.