Timeline for Simultaneous game states
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2013 at 16:19 | comment | added | Patrick Hughes | You are now talking about an AI that drives the states your Robot enters. Your AI sets goals and the underlying "make this goal work" code sequences out the states to get stuff done. Decisions like "am I winning right now" have nothing to do with states themselves. In this case the AI says "Oh, I'm now winning" and sets the goal of "defend" which then triggers states like "find cover" -> "acquire target" -> "fire" in sequence. Take a look here: web.media.mit.edu/~jorkin/goap.html | |
Apr 13, 2013 at 16:13 | comment | added | Kristian D'Amato | As you point out, the states are not really completely independent, some of the time: say, if I'm fleeing and the retreating battle is turning in my favor, I would want to stop fleeing. So I need some centralized object that controls both motion and attack. Urgh.. my head hurts. | |
Apr 13, 2013 at 16:06 | history | answered | Patrick Hughes | CC BY-SA 3.0 |