AI tutorial?
Moderator: Coders of Rage
- Indie Tom
- 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?
Does anyone know any tutorial that's about how to program a AI in c++ and sdl?
Code::Blocks and Coke.
- OmenFelix
- 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?
You might want to check out A* Pathfinding: http://en.wikipedia.org/wiki/A*_search_algorithmIndie Tom wrote:Does anyone know any tutorial that's about how to program a AI in c++ and sdl?
There's loads of pathfinding tutorials on YouTube. In future .
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
Or my 2D RPG at: https://www.facebook.com/pages/Arcadian ... 6873806531
- blackball2186
- 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?
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!