|
|
If you want to do it completely in the SDL, it's possible to read/write
files; if you use a file to store the state of whatever needs the AI (eg.
the location, orientation, and mental state of a hamster) between frames,
then it should just be necessary to read in the file (or set it up on the
first frame), process whatever you need to to calculate the next state,
save the new data, then use the calculated values for that frame.
Post a reply to this message
|
|