Behold my advanced AI!

Community Forums/Showcase/Behold my advanced AI!

po(Posted 2006) [#1]
For Blitz3D:


Press enter to buy another miner if you have $1200.


Jeremy Alessi(Posted 2006) [#2]
Uh ... wow!


Braincell(Posted 2006) [#3]
That's about the most any RTS can offer in terms of gameplay, imho! :-)


Regular K(Posted 2006) [#4]
It runs in BlitzPlus without any modifications.

You probably had fun making it :P?


jhocking(Posted 2006) [#5]
omg, a Blitz3D game that compiles in Blitz+? UR A GENIUS


po(Posted 2006) [#6]
heh, thankyou, thankyou. That isn't *actual* AI though, is it? Anyones know how AI works in most games? I know it is different for every one, but how does the computer move 'on its own'? Or do actions on its own?


stayne(Posted 2006) [#7]
"how does the computer move 'on its own'? Or do actions on its own?"

i seem to recall your little spheres moving and doing things on their own. you coded some AI... really, dumbed-down simple AI... but hey it's a start.


Matty(Posted 2006) [#8]
basic idea:

-give an ai unit a destination ie the location of food, the location of an enemy, the location of a safe region etc etc
-pathfind to the location using whatever algorithm suits
-check for change of situation every so often while ai unit is travelling to destination ie if it is shot at perhaps it changes from seeking food to seeking the enemy that shot at it


po(Posted 2006) [#9]
Hmmm, I see.