AI tutorial?

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
Indie Tom
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 8
Joined: Tue Apr 03, 2012 1:05 pm
Current Project: Stealthy game.
Favorite Gaming Platforms: nes, DOS etc.
Programming Language of Choice: c++, java, html.
Location: Torp

AI tutorial?

Post by Indie Tom »

Does anyone know any tutorial that's about how to program a AI in c++ and sdl?
Code::Blocks and Coke.
User avatar
OmenFelix
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 59
Joined: Fri May 04, 2012 1:42 pm
Current Project: Arcadian Descent(C++, SDL, KOS)
Favorite Gaming Platforms: PS2, PC, XBOX, NDS
Programming Language of Choice: C/C++

Re: AI tutorial?

Post by OmenFelix »

Indie Tom wrote:Does anyone know any tutorial that's about how to program a AI in c++ and sdl?
You might want to check out A* Pathfinding: http://en.wikipedia.org/wiki/A*_search_algorithm

There's loads of pathfinding tutorials on YouTube. In future :google: .

If pathfinding is not what you seek, then it's just common logic of which you must use. ;)
Why not check out my game-development forum at: http://f1rel0ck.netai.net
Or my 2D RPG at: https://www.facebook.com/pages/Arcadian ... 6873806531
Image
Image
Image
User avatar
blackball2186
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 42
Joined: Sun Jul 24, 2011 3:26 am
Favorite Gaming Platforms: NES SNES PS Dreamcast
Programming Language of Choice: C#, C / ++,
Location: Los Angeles, CA

Re: AI tutorial?

Post by blackball2186 »

The easiest way to think about AI is to figure out what behavior you want your enemy to have , and turn it into a math problem , you just have to make sure you take into consideration all the proper variables. it's easy to explain but hard fabricate . Hope you stayed awake during your math classes! :mrgreen:
Post Reply