Sign in to follow this  

AI Actor reacting to Objects' values on Stage.

This topic is 1962 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

Consider this OO game:
I. All objects have position coordinates.
II. The [b]Stage[/b] is the game's playground.
III. [b]Props[/b] are separated equally throughout the Stage in a grid like structure.
A. Props' position coordinates never change.
B. Props hold a number of [b]Variables [/b]that hold value types.
1. Variables are frequently(60Hz) changed by [b]Actors [/b]as they move across the Stage.
2. Variables reset after each [b]Scene[/b].
a. Scene ends when certain conditions are met.
IV. Actors are given [i]instructions [/i]at the start of the Scene to move along a certain path.
A. Actors' position coordinates change frequently.
B. All Actors have a name, and [i]Abilities [/i]that are defined by value types.
1. All Actors are different as can be seen by their different names and Ability values.
2. Actor abilities and names can be loaded off the [b]ActorDatabase[/b](excel?).
C. Actors can [i]see [/i](one of their Abilities).
1. Their sight has a [i]depth [/i]and [i]width[/i].
2. Their sight attributes are determined by the ActorDatabase.
D. When Actors interact or collide, their Ability values need to be taken into account.
E. Actor movement/steer is based on the Variables on the Props that they:
1. Can see.
2. Are next too.
F. Actor movement is also based on its Abilities.

Questions (C#) based on the OO game described above:
1. How do I make the Actors change the Variable values on different Props as they move across the Stage?
2. How do I make the Actors respond (move differently or execute an act) and change their behavior based on the Variables that they can see?

Share this post


Link to post
Share on other sites

This topic is 1962 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this