Navigation and Pathing Introduction to coding through Kodu Introduction to coding through Kodu L3 Navigation and Pathing Learning Objectives • All to learn the steps involved in programming at least two different methods to make a Kodu move, one manual and one automatic • Most to apply a range of skills to modify and create a simple Kodu game world which interacts with objects • Some to be able to explain the advantages of both clones and creatables in terms of ease of program maintenance Introduction to coding through Kodu L3 Navigation and Pathing Navigation • Navigation in a computer game is an important aspect to program • What different methods of navigation do you think we might use in Kodu? • HINT: Navigation methods can be either Automatic or Manual Introduction to coding through Kodu L3 Navigation and Pathing Navigation Methods 1. 2. 3. 4. Manual navigation using the keyboard Automatic navigation using “When See…” Automatic navigation using “…Do Move…” Automatic navigation using Paths Introduction to coding through Kodu L3 Navigation and Pathing 1. Manual navigation using the keyboard 2. Automatic navigation using “When See…” 3. Automatic navigation using “…Do Move…” 4. Automatic navigation using Paths Introduction to coding through Kodu L3 Navigation and Pathing Navigation and Pathing • Challenges: Manual navigation, Automatic navigation and Pathing. • Instructions: You have just learnt a variety of ways to code navigation into your games. Now it’s time to experiment yourself. Use Worksheet 3 and follow the instructions. Introduction to coding through Kodu L3 Navigation and Pathing Recap so far • Navigation is an important part of computer games • Navigation can be coded to be either: – Manual – Automatic • Pathing is a powerful concept in Kodu • Combining concepts such as: – “When See…” – “Near by” and “Far Away” – Pathing • …can result in intelligent navigation Clones and Creatables Introduction to coding through Kodu Introduction to coding through Kodu L3 Navigation and Pathing What does the term cloning mean? Introduction to coding through Kodu L3 Navigation and Pathing What does the term cloning mean? • “Cloning” means to make an exact copy of something • When we clone an object or character in a computer game we copy all of its attributes (colour, size) and all of its code Introduction to coding through Kodu L3 Navigation and Pathing Cloning in computer games • Why might the concept of cloning be useful in computer games design? Introduction to coding through Kodu L3 Navigation and Pathing Cloning vs Creatables • You are about to see a demonstration of the power of creatables in Kodu • This is an advanced form of cloning which has big advantages • It is unlikely you will have come across this concept before. Pay close attention as you will be having a go soon! Introduction to coding through Kodu L3 Navigation and Pathing Cloning and Creatables • Challenges: Copying, Cloning, Setting up Creatables • Use Worksheet 4 and follow the instructions Introduction to coding through Kodu L3 Navigation and Pathing Recap • • • • What is cloning? What is a creatable? Which method is better? Is it always better to use creatables over cloning? Introduction to coding through Kodu L3 Navigation and Pathing Finally… • Complete the plenary questions to show me what you have learnt today.
© Copyright 2026 Paperzz