From the views portion of the book it seems each view is for one actor. So each human view controls one player, meaning a four player game would have four human views with only one drawing to the screen (assuming everything is on one screen, with split screens each view would draw its own portion).
Extending this to an AI view, would each AI have its own view, creating multiple AI views for each AI actor?
In a related vein, an AI view seems more reactionary (responding to events and passing the info along to a corresponding AI component in the actor to handle). Due to this, does it do anything in its update function? The human view uses update to check for input from devices and translate those into messages. I suppose the AI view could check the condition of various stimulus, but it seems it does that in its response to events and the AI component would handle most of those checks (and its update function is already called through the logic system).
Extending this to an AI view, would each AI have its own view, creating multiple AI views for each AI actor?
In a related vein, an AI view seems more reactionary (responding to events and passing the info along to a corresponding AI component in the actor to handle). Due to this, does it do anything in its update function? The human view uses update to check for input from devices and translate those into messages. I suppose the AI view could check the condition of various stimulus, but it seems it does that in its response to events and the AI component would handle most of those checks (and its update function is already called through the logic system).
The post was edited 1 time, last by Trinak ().