A game has different actors,to build them with property and function.To store the images and to logic update and draw to the screen.They may move or attack etc.
To store,the data structure is important.Many functions change the image by logic,it may fill into a function and it runs in the recycling of the game framework.Animations and moving,attack is well done.Some vars are initialise.If the logic is well done,with user input,the actors can do what you want.Save and calculate,it is just run like this.
《Information Science》Obtain To Object To Make Actors
于 2024-10-06 07:40:29 首次发布