Learn › N64 Beginner

Lesson 4 of 6 · About 6 min

A course of tables

Every island is a row of numbers, and one of them is about to move.

The robot of Sky Hopper in the air between two islands.

Islands, movers, foes and shards are rows of numbers. Make a still island move.

The course is numbers

Sky Hopper's course runs along one line, x, from the start to the beacon at 6440. Each island is a column across a few tables: PL_X0 and PL_X1 where it starts and ends, PL_Y how high it is, and PL_K what it looks like.

The code itself notes how far a jump reaches: about 95 units up and 100 across, so gaps stay under 90 and steps up under 70. Those two rules keep every island reachable.

Moving islands

Three more tables make an island move. PL_MOVE is 0 for still, 1 for side to side, 2 for up and down. PL_AMP is how far it moves and PL_PER how many frames one full trip takes. The game moves it along a smooth curve and carries the robot standing on it.

A lift

In the session you will make the fourth island rise and fall like a lift.

Sky Hopper in the editor, with the AI's reply about the new lift in the chat.
Add a lift

Try it yourself

In the app this lesson opens a real game for you, with a guide that walks you through these steps:

  1. Each island is a column of the PL_ tables. The fourth island, a low step near the start, is still.
  2. Make the fourth island rise and fall slowly.
  3. Press START and run to the fourth island to ride it. The title demo waits for lifts too, so it still finishes the course.
Start makingDownload on the App StoreGet it on Google Play