Hi all!
I've been thinking about this idea for some time now. I'm thinking about how a system that gives the user a limited insight into the future would work.
Let me clarify:
I want a system where the player can see the actions of an NPC in advance and react accordingly. The delay would only be short, say ~1 second. You'd see what they were about to do (at ~ 25% opacity) before they did it.
Now, my real question is - how? Of course, I could have two sets of variables e.g. x_future and x_now
The main program loop would change ONLY the future variables. A special function would update each variable x_now with the value x_future after say 1 second.
But, how would you do it? I'm looking for a more elegant solution than what I've suggestion above, so any other suggestions would be welcomed!
J
I've been thinking about this idea for some time now. I'm thinking about how a system that gives the user a limited insight into the future would work.
Let me clarify:
I want a system where the player can see the actions of an NPC in advance and react accordingly. The delay would only be short, say ~1 second. You'd see what they were about to do (at ~ 25% opacity) before they did it.
Now, my real question is - how? Of course, I could have two sets of variables e.g. x_future and x_now
The main program loop would change ONLY the future variables. A special function would update each variable x_now with the value x_future after say 1 second.
But, how would you do it? I'm looking for a more elegant solution than what I've suggestion above, so any other suggestions would be welcomed!
J