Behold my advanced AI!
Community Forums/Showcase/Behold my advanced AI!
| ||
For Blitz3D: Press enter to buy another miner if you have $1200. |
| ||
Uh ... wow! |
| ||
That's about the most any RTS can offer in terms of gameplay, imho! :-) |
| ||
It runs in BlitzPlus without any modifications. You probably had fun making it :P? |
| ||
omg, a Blitz3D game that compiles in Blitz+? UR A GENIUS |
| ||
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? |
| ||
"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. |
| ||
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 |
| ||
Hmmm, I see. |