KODU Game Lab: Getting Started with the Keyboard and Mouse


Published on

Published in: Technology, Education

KODU Game Lab: Getting Started with the Keyboard and Mouse

  1. 1. Getting Started with the Keyboard and Mouse KODU IN THE CLASSROOM Adapted for the UK from the Kodu Classroom Kit for Educators
  2. 2. ContentsKodu in the Classroom: Getting Started with the Keyboard and Mouse������������������������������������������������ 3 PC Requirements������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ 3 How to Check Your DirectX Version���������������������������������������������������������������������������������������������������������������������������������������������������������� 3 Optimising Kodu to Run on Your PC�������������������������������������������������������������������������������������������������������������������������������������������������������� 3 How to View the Frames per Second����������������������������������������������������������������������������������������������������������������������������������������������������� 3 How to Increase the Frame Rate ���������������������������������������������������������������������������������������������������������������������������������������������������������������� 4Entering the Programme���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 5Exploring the Worlds���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 6 Not All Worlds Support Mouse and Keyboard������������������������������������������������������������������������������������������������������������������������������ 6 All Worlds Start in Play Mode���������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 7Viewing the Code�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 8Creating a New World: Terrain and Characters��������������������������������������������������������������������������������������������������������������������������� 9Coding in Kodu����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 10 Trying Out Code ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 11 Can’t wait to get started with Kodu?��������������������������������������������������������������������������������������������������������������������������������������������������� 11 2
  3. 3. Kodu in the Classroom: Getting Startedwith the Keyboard and MousePC Requirements1. Kodu requires a Windows Operating System.2. DirectX9 graphics.3. Shader Model 2.0 or greater.How to Check Your DirectX VersionCC For Windows 7 or Vista: In Start Menu type into the search box the letters Cmd.CC Next, in prompt type Dxdiag. The first tab will list your DirectX Version.If you do not have .NET Framework v3.5 and XNA Game Studio v3.1, the installer will prompt you toinstall these.Download Kodu from http://fuse.microsoft.com/koduOptimising Kodu to Run on Your PCIf the game is displaying smoothly, your frame rate is acceptable. (For a good gaming experience, you willneed a frame rate of at least 20 frames per second.)If Kodu is jerky when you try to use it, there are some steps to improve the experience.How to View the Frames per SecondSelect “Configure Kodu Game Lab” from the PC’s programmes menu. This will open the ConfigurationTool Panel. Check “Frames per Second”.The next time the Game Lab is started, the Frames per Second (fps) will be displayed. This display canalso be turned off by un-checking “Frames per Second” in the configuration tool panel at any time. 3
  4. 4. How to Increase the Frame RateCC Change from Shader Model 3 (if selected) to Shader Model 2 in configuration tool panel.CC Deselect Fullscreen.CC Use the dropdown box in the configuration tool to reduce your screen resolution. This will decrease the detail of the image, thereby using less processing power.CC Uncheck the 3 graphical options (glow, anti-aliasing and animation).NOTE ABOUT LAPTOPS: n certain laptops with integrated graphics, Kodu may not perform O optimally, but you can still get a sense of the tools and flow of the game. 4
  5. 5. Entering the Programme1. Kodu can be found under the Microsoft Research grouping on your Programme menu.2. Once in Kodu, you should choose the “Load World” Once here you can either view existing games or start a new game.For more detailed information on navigation:http://community.research.microsoft.com/blogs/kodu/archive/2010/01/15/tutorial-1-basic-navigation.aspx 5
  6. 6. Exploring the Worlds1. After choosing “Load World”, you can select an Existing World (game) or an “Empty World” to start a new game. We recommend first exploring the existing games. (Some are full games, others are worlds that have been designed but may not have game play.) By default they are sorted by date. Filters and sorts can be set at the top.2. By default you can see all worlds. Some are titled as “Tutorials” to help you get started; others are titled “Technique” to demonstrate specific procedures. The tutorials are highly recommended at this point. If you have just installed Kodu, the tutorials should be at the beginning of the list. You can click on the “Lessons” button at the top of the screen to show only the Kodu worlds tagged as “lessons.”Not All Worlds Support Mouse andKeyboardCurrently, not all games support both mouse andkeyboard and Xbox 360 controller play.When you save a game, you can associate atag with it, and on the Load Level menu you cansearch for worlds tagged with either keyboard/mouse or controller. 6
  7. 7. All Worlds Start in Play ModeWhen you load a world, it starts in the play mode,though it may first have instructions to inform youof how different games work.For more detailed information on the Load Level Menu:http://community.research.microsoft.com/blogs/kodu/archive/2010/01/29/tutorial-3-load-level-menu.aspx 7
  8. 8. Viewing the Code1. To see how the world was constructed, click escape to edit. You will then see a strip of editing tools at the bottom.2. The Kodu icon lets you add a new character or object by clicking in a space without an object, or edit an existing object, by moving the puck to a space where an object is. There are 20 types of characters, each with different properties.3. To view the code, move the puck to an object or character. The object will glow and then you can right click on it to see a menu of options. Choosing ‘Program’ will let you see the code.For more information on the Edit Menu tools:http://community.research.microsoft.com/blogs/kodu/archive/2010/01/21/tutorial-2-edit-tools.aspx 8
  9. 9. Creating a New World: Terrain and CharactersTo create a new world, you must first have terrain.Terrain is created by painting with the terrain tools. You can select a colour and a brush type (square,oval, square line, oval line).One easy way to make terrain is to increase the brush size (using the right arrow) and just put down asingle square.CC The other tools for dealing with terrain let you raise and lower the terrain as well as making the elevations smooth or jagged.CC Any water that is added, must have terrain or land under it. By default, each world starts with “glass walls”, so water stays contained and nothing can fall off the edges.CC After you have created terrain, you can add and program objects and characters as described above.For details on the different characters that are available:http://planetkodu.com/tutorials/view/Introducing_the_Bots 9
  10. 10. Coding in KoduCC All Kodu code statements start with a ‘When’ condition, followed by a ‘Do’ condition to be executed. The choice of tiles at any point is determined by what went before. Conditions are evaluated simultaneously. If there are no tiles in the ‘When’ area, then the action will be done at all times. For example, in Line 4 (above) we see the code which says when the space bar is pressed the character should shoot a randomly coloured blip to the north.CC The ‘Switch to page x’ construct is used for code to be run only after a specific event or condition has been achieved – it is used to create multiple states for a character or object.CC Tiles have ‘Help’ demonstrating how they can be used. (Shown above – press F1 to see the help).CC Each ‘Help’ screen also provides examples of how to use that particular tile. The example code can be inserted directly by clicking on the image of the A button. You can scroll through examples by clicking on the L in a circle on the left. 10
  11. 11. Trying Out CodeWhen you are done coding, or want to try out the code you have just written, press the Escape key toreturn to the Tools menu, then the Escape key again to run the game.Can’t wait to get started with Kodu?CC If you can’t wait to get started with Kodu why don’t you have a go at Charlie Love’s Kodu Introduction Video tutorials 1-1 to 1-12 at www.youtube.com/consolarium 11
  12. 12. Advice on Safer Gaming than adults to experience these seizures). The risk of photosensitive epileptic seizures may be reduced by taking For advice on safer gaming, please visit our Play the following precautions:Smart, Play Safe website at www.playsmartplaysafe.eu.Additionally, please note the following console use and CC Sit or stand farther from the TV screen.healthy gameplay pointers. CC Use a smaller TV screen. CC Play in a well-lit room.Console Set-Up, Use and Care CC Do not play when you are drowsy or tired.Failure to properly set up, use and care for the Xbox 360video game and entertainment system can increase the If you, your relatives or anyone in your care/supervisionrisk of serious injury or death or damage to the Xbox have a history of seizures, consult a doctor before playing.360 video game and entertainment system. Please Musculoskeletal Disordersread the manual and the manuals of any accessoriesaccompanying your console for important safety and Use of game controllers, keyboards, mice or otherhealth information. Keep all manuals for future reference. electronic input devises may be linked to serious injuries orFor replacement manuals, go to www.xbox.com/support. disorders.Before allowing children to use the Xbox video game and When playing video games, as with many activities, youentertainment system: may experience occasional discomfort in your hands, arms, shoulders, neck or other parts of your body. i. Determine how each child can use the Xbox 360 However, if you experience symptoms such as persistent console (playing games, connecting to Xbox or recurring discomfort, pain, throbbing, aching, tingling, LIVE, replacing batteries, making electrical, AV numbness, burning sensation or stiffness, DO NOT cable and network connections), and whether IGNORE THESE WARNING SIGNS. PROMPTLY SEE they should be supervised during these activities. A QUALIFIED HEALTH PROFESSIONAL, even if the ii. If you allow children to use the Xbox 360 console symptoms occur when you are not playing a video game. without supervision, be sure to explain all relevant Symptoms such as these can be associated with painful safety and health information and instructions. and sometimes permanently disabling injuries or disorders of the nerves, muscles, tendons, blood vessels andThe Xbox 360 console will not play copied or ‘pirated’ other parts of the body. These musculoskeletal disordersgames or other unauthorized media. Attempting to defeat (MSDs), include carpal tunnel syndrome, tendonitis,the Xbox 360 anti-piracy protection system will cause your tenosynovitis, vibration syndromes and other conditions.Xbox 360 console to stop working permanently. It will alsovoid your Limited Warranty and may make your Xbox 360 While researchers are not yet able to answer manyconsole ineligible for authorized repairs, even for a fee. questions about MSDs, there is general agreement that many factors may be linked to their occurrence, includingYou must accept the terms and conditions of the Limited medical and physical conditions, stress and how oneWarranty and accompanying user manual to use your copes with it, overall health and how a person positionsXbox 360 console. If you do not accept these terms and and uses their body during work and other activitiesconditions, do not set up or use your Xbox 360 console (including playing a video game). Some studies suggestand return it to Microsoft for a refund. that the amount of time a person performs an activity may also be a factor.Play Healthy Some guidelines that may help you play more comfortablyImportant Health Warnings About Playing Video Games and possibly reduce your risk of experiencing an MSD can be found in the Healthy Gaming Guide at www.xbox.com.Photosensitive Seizures These guidelines address topics such as:A very small percentage of people may experience a CC Positioning yourself to use comfortable, not awkward,seizure when exposed to certain visual images, including postures.flashing lights or patterns that may appear in video games.Even people who have no history of seizures or epilepsy CC Keeping your hands, fingers and other body partsmay have an undiagnosed condition that can cause these relaxed.‘photosensitive epileptic seizures’ while watching video CC Taking breaks.games. CC Developing a healthy lifestyle.These seizures may have a variety of symptoms, including If you have any questions about how your own lifestyle,lightheadedness, altered vision, eye or face twitching, activities or medical or physical condition may be related tojerking or shaking of arms or legs, disorientation, confusion MSDs, see a qualified health professional.or momentary loss of awareness. Seizures may also causeloss of consciousness or convulsions that can lead to Hearing Lossinjury from falling down or striking nearby objects. Extended exposure to high volumes when using a headsetImmediately stop playing and consult a doctor if you may result in temporary or permanent hearing loss. Someexperience any of these symptoms. Parents or those unapproved third-party headsets may produce highersupervising should watch for or ask children about the sound levels than approved Xbox 360 headsets.above symptoms (children and teenagers are more likely
  13. 13. KODU IN THE CLASSROOM Adapted for the UK from the Kodu Classroom Kit for Educators © and ℗ Microsoft UK Limited, 2011. All rights reserved.