Data and Saving the data,Data structure is more important.As developing a game,a game recycling is always needed.To update and to draw is logic update and phisics update.
Here an example,some points are saved with an array,to update the data while something is changed,such as user input etc.Being in the game recycling,update and draw is running,to build some picture by the data of array,the data is rebuilt,the drawing of picture is also changed.
To imagine,to draw a picture or to draw a picture with changing.The data,data structure and the user input can do it.With the changed data,the drawing of picture is changed.It’s so easy,you get it.
《Information Science》Theory Of Game Development
于 2024-10-04 03:36:54 首次发布