Using Multiple Pages of commands to change how an object acts
Sometimes in programming you want an object to act differently at different points in the program.
For example, move slowly normally but when apple is eaten move quickly.
This is achieved by having two different sets of instructions (routines) for the object and calling the routine at the relevant point. Kodu does this using pages.
You put the different instructions on the different pages, then use the switch to page x command when you want Kodu (or another object) to switch behaviour. A good example of this is a power boost. For example when I eat the apple switch to page 2 which has instructions that let me move faster.
Here is the video demo.