Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / 2d Darkgdk AI Help!

Author
Message
Blackout1471
12
Years of Service
User Offline
Joined: 21st Dec 2011
Location: Visual C++ Express
Posted: 22nd Dec 2011 00:06 Edited at: 22nd Dec 2011 12:47
I really need help here guys my AI doesn't work so if anyone could see the error, then please help me.



EDIT:Sry I want the enemy to follow my player whatever direction the player goes

Beginner In the Language.
negi
13
Years of Service
User Offline
Joined: 16th Feb 2011
Location:
Posted: 22nd Dec 2011 08:56
What exactly are you trying to accomplish and what is not working wright?

All is revealed with time.
vitinho444
14
Years of Service
User Offline
Joined: 12th Oct 2010
Location:
Posted: 22nd Dec 2011 10:46
You need to tell us what do you want exactly so we can help.
Do you want a AI of movement to a certain path?

C++ Medium 3.5/5
www.oryzhon.com <-- My company's website (W.I.P)
Blackout1471
12
Years of Service
User Offline
Joined: 21st Dec 2011
Location: Visual C++ Express
Posted: 22nd Dec 2011 17:09
Anyone ?

Beginner In the Language.
negi
13
Years of Service
User Offline
Joined: 16th Feb 2011
Location:
Posted: 22nd Dec 2011 20:09 Edited at: 22nd Dec 2011 23:37
ok here is a simple game that does sorta what you want. Press Space Key to start and to reset. Ask if you have any ?s

All is revealed with time.

Attachments

Login to view attachments
Blackout1471
12
Years of Service
User Offline
Joined: 21st Dec 2011
Location: Visual C++ Express
Posted: 23rd Dec 2011 00:50
Thanks u negi just what i needed.

Beginner In the Language.

Login to post a reply

Server time is: 2024-11-19 05:42:28
Your offset time is: 2024-11-19 05:42:28