Navigation and Pathing Introduction to coding through Kodu
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
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
Navigation Methods Manual navigation using the keyboard Automatic navigation using “When See…” Automatic navigation using “…Do Move…” Automatic navigation using Paths
Manual navigation using the keyboard Automatic navigation using “When See…” Automatic navigation using “…Do Move…” Automatic navigation using Paths
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.
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
Introduction to coding through Kodu Clones and Creatables Introduction to coding through Kodu
What does the term cloning mean?
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
Cloning in computer games Why might the concept of cloning be useful in computer games design?
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!
Cloning and Creatables Challenges: Copying, Cloning, Setting up Creatables Use Worksheet 4 and follow the instructions
Recap What is cloning? What is a creatable? Which method is better? Is it always better to use creatables over cloning?
Finally… Complete the plenary questions to show me what you have learnt today. Plenary questions should be completed and are available on the iTeach website