While I build a framework of a game,it becomes more difficult to do something else. Change the thoughts,now near the truth,I’ll share it.
The game framework has a recycling and a screen.A real time program,just logic update or draw something.To get it,some codes are filled into the recycling,the logic update is performed,then draw different image which is called frames.
To get an animate,the logic is a Integer add 1 from 0,if it get to the lrngth of the list,just to 0.Different frame is shown.Just to think,showing a picture or a lot of pictures.The Data Structure and the Logic.
To draw a changing picture,the points is stored,it can change.To clear the screen,to draw lines between two points.Something else,a stto save data with data structure,to change for something,all can be true.
10-25
407
11-22
5501