Hi,
How can have after action in my game like fifa games that replys a scene?
So thanks.
Edit:
Exactly i want to review the game from diffrent camera views in video output. mean that every camera record its view and makes video output.
Thanks.
Hi,
How can have after action in my game like fifa games that replys a scene?
So thanks.
Edit:
Exactly i want to review the game from diffrent camera views in video output. mean that every camera record its view and makes video output.
Thanks.
let's say your game is ONLY determined by simple user input and nothing is random
you could have a struct to store the value and the time of the input
during playing you would store this input in such a struct and it to the end of a list
you could have such a list of this struct corresponding to every kind of input like the space key or the mouse position or the value of the Vertical axis
and when you're replaying the scene you would check the variable Time.time for the current time and when it reaches a point where in any of these lists there's a time value equal then you would assign the value of the this input to the correct..place...and remove the entry from the list preferably
the only problem with this I just realized is that you won't get the exact same time values when replaying
i assume this is something like spinaljack referred to
(comment and/or vote down if you need a better explanation :)