Archived

This topic is now archived and is closed to further replies.

I've look everywhere and can't find good tutorials on 2D AI

This topic is 5503 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m trying to make a Pac-Man clone on Win32 GDI(I know, I shouldn''t do that because Win GDI isn''t meant for game making and its slow and all of that, blah, blah, blah) and I''m wondering how....where do I start to create AI? "A programmer being told to ''''go to'''' hell sees the ''''go to'''' part of the sentence as the bad part."

Share this post


Link to post
Share on other sites
First of all, thing in natural language (aka "in your own words") what do you want the ghosts to do. Like

- If Mr.Pac has power up escape from him

Then try to solve the single problems. Shouldn''t be difficult. Any way if your question is "What should I read or try to find in the books and Inet?" I think the best you can do is to try with Finite State Machines...

Hope it helps.

Share this post


Link to post
Share on other sites
Hey I''m making a Bomberman game using the GDI and I think it''s a great way of understanding the windows API better, which always helps. And I know it''ll work on any windows based machine, even slow ones with no hardware acceleration (any 2D stuff i did with OpenGL was impossibly slow on non-accelerated machines).


About your AI question go to aboutAI.net and scroll down a bit you''ll find Game AI. There read about the A* algorithm which is just what you need for your Pacman game.

Share this post


Link to post
Share on other sites