Game Development Reference
In-Depth Information
In the preceding screenshot, you will observe an update: method in the .m file. This
method is automatically invoked while rendering each frame on the screen. If the frame
rate of the game is 60, then this method will be executed 60 times in a second. Any real-
time calculations can be performed in this method, so actions such as calculating the play-
er's location in real time can be handled in this method.
And the starter kit game, FlyingSpaceship , looks like this:
Search WWH ::




Custom Search