Learn › N64 Advanced

Lesson 2 of 5 · About 6 min

A day on a clock

How Sunny Cove counts its day in frames, how the sky and light follow the clock from day to dusk to night, and how to give players more time.

Time is frames

The game runs at 30 frames a second and never reads a real clock. The day is DAY_SECONDS, 80, times 30: 2400 frames. Each frame of play adds one to a counter, and when it reaches the end, night has fallen and the round is lost.

Counting frames instead of seconds means the game is the same on every device, and the demo plays the same every time.

N64 Advanced is a course for paid accounts. The rest of this lesson, and its guided session, are in the app.

Start makingDownload on the App StoreGet it on Google Play