great explanations; i watched a talk on 8 bit gaming which pointed out a couple of older methods
1. write an algorithm, like many have explained
2. use the current frame. variations and limitations in computing meant that the same part could have more or less.
3. Read from a predetermined list of numbers. Sounds crazy, but this was used in Final Fantasy 4 (i think) and nobody played it realizing this.
Latest Answers