New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Start learning with our library of video tutorials taught by experts. Get started

Teacher Tips
Illustration by

Writing your first program


From:

Teacher Tips

with Aaron Quigley

Video: Writing your first program

Now that we have installed the .NET framework, the XNA framework and Now instead of tutorial, Kodu is going to give Here we have a variety of things that we can add.
Expand all | Collapse all
  1. 2m 37s
    1. Lesson planner at learner.org
      2m 37s
  2. 1m 45s
    1. Welcome
      54s
    2. Is this course right for me?
      51s
  3. 12m 43s
    1. What is the flipped classroom?
      4m 16s
    2. Building a flipped lesson plan
      4m 22s
    3. Finding resources
      4m 5s
  4. 12m 33s
    1. Using Evernote to organize your classroom
      7m 49s
    2. Using Skitch to create dynamic presentations
      4m 44s
  5. 16m 29s
    1. What is Common Core?
      4m 52s
    2. ELA/Literacy
      6m 41s
    3. Mathematics
      4m 56s
  6. 10m 2s
    1. Using the iPad as a teacher
      6m 18s
    2. Using the iPad with your students
      3m 44s
  7. 20m 47s
    1. Getting started with Edmodo
      8m 5s
    2. Managing your classes
      8m 48s
    3. Communication
      3m 54s
  8. 6m 27s
    1. Prezi: Teaching best practices
      6m 27s
  9. 12m 50s
    1. Blogging fundamentals
      12m 50s
  10. 14m 40s
    1. Getting started with Schoology
      6m 46s
    2. Integrating Google Apps
      7m 54s
  11. 11m 59s
    1. Understanding online file syncing
      7m 47s
    2. Dropdox options and workflow
      4m 12s
  12. 17m 46s
    1. Managing student behaviors with ClassDojo
      11m 44s
    2. Control classroom management with an iPad
      6m 2s
  13. 22m 21s
    1. Creating a student-friendly worksheet
      11m 0s
    2. Modifying assignments quickly
      11m 21s
  14. 8m 51s
    1. Podcasting in the classroom
      8m 51s
  15. 11m 5s
    1. Hour of Code
      2m 18s
    2. Kodu
      2m 1s
    3. Writing your first program
      6m 46s
  16. 18m 8s
    1. Create a quick class website
      8m 20s
    2. Upload assignments
      9m 48s
  17. 6m 39s
    1. Creating screen capture video
      6m 39s
  18. 10m 14s
    1. Mind mapping for students
      10m 14s
  19. 6m 35s
    1. Creating online interactive discussions
      2m 53s
    2. Exploring educational uses of todaysmeet.com
      3m 42s
  20. 4m 19s
    1. Exploring the Adobe Education Exchange
      4m 19s
  21. 10m 55s
    1. Online learning with bContext
      1m 7s
    2. Creating digital videos
      9m 48s
  22. 5m 53s
    1. Free website platforms
      2m 3s
    2. Selecting a website platform
      3m 50s
  23. 10m 52s
    1. Students on the Internet
      3m 55s
    2. Teaching proper Internet use
      6m 57s
  24. 10m 42s
    1. Learning through interactions
      4m 6s
    2. Creating social learning experiences
      6m 36s
  25. 15m 7s
    1. Exploring social bookmarking with Diigo
      7m 7s
    2. Sharing a list of websites
      3m 57s
    3. Creating a resource collection for students
      4m 3s
  26. 10m 57s
    1. Lesson planning with Common Curriculum
      4m 47s
    2. Managing your instructional schedule
      6m 10s
  27. 10m 11s
    1. Piktochart in education
      3m 20s
    2. Creating infographics
      6m 51s
  28. 9m 24s
    1. Exploring the role of a learning management system
      3m 56s
    2. Three free learning management systems
      5m 28s
  29. 8m 57s
    1. Understanding crowdfunding
      3m 27s
    2. Explore education crowdfunding tools
      5m 30s
  30. 6m 48s
    1. Creating drag-and-drop lessons
      4m 50s
    2. Using pre-created resources
      1m 58s
  31. 7m 22s
    1. Exploring VoiceThread
      3m 46s
    2. Creating and sharing a VoiceThread
      3m 36s
  32. 6m 44s
    1. Lesson planning with BetterLesson.com
      4m 1s
    2. Accessing common core lesson plans
      2m 43s
  33. 6m 45s
    1. Exploring the free resources
      2m 59s
    2. Exploring the teacher portal
      3m 46s
  34. 7m 1s
    1. How does donorschoose.org work?
      2m 42s
    2. Creating compelling projects
      4m 19s
  35. 8m 31s
    1. Adding your classroom as a project
      3m 0s
    2. Building awareness through social media
      5m 31s
  36. 7m 41s
    1. Find high quality lessons for your classroom
      5m 27s
    2. Assess the quality of lesson materials
      2m 14s
  37. 11m 58s
    1. Selling lessons plans on TeachersPayTeachers.com
      1m 39s
    2. Uploading lesson plans for sale
      10m 19s
  38. 6m 40s
    1. Lesson planning on an iPad
      3m 53s
    2. Creating recorded lessons on an iPad
      2m 47s
  39. 4m 41s
    1. Maximizing class downtime with DuoLingo
      3m 13s
    2. Creating self-motivated learners using DuoLingo
      1m 28s
  40. 6m 13s
    1. Adding the Office Mix PowerPoint plugin
      2m 58s
    2. Creating videos from PowerPoint presentations
      3m 15s
  41. 7m 39s
    1. Creating stories with Adobe Voice
      7m 39s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Teacher Tips
6h 49m Appropriate for all Sep 16, 2013 Updated Jul 07, 2014

Viewers: in countries Watching now:

In this new series, author and educator Aaron Quigley shows you how to stay up to date with the latest educational technology and classroom management techniques. Each week, he'll introduce you to a new tip you can use to be more efficient, and increase student achievement. Aaron covers concepts like the flipped classroom, Common Core Standards, and the role of social media in education. The series also covers a variety of productivity apps, learning management systems, and other technologies, using a project-based approach that simulates the real K–12 or university classroom environment. Check back often for new tutorials, every Monday with Teacher Tips.

Subjects:
Teacher Tools Education Classroom Management Educational Technology Higher Education K-12 Education
Author:
Aaron Quigley

Writing your first program

Now that we have installed the .NET framework, the XNA framework and the Kodu Game Lab, it's time to get started programming using Kodu. One of the fastest ways to get programming for both students and teachers is to use built-in tutorials inside of the Kodu Game Lab. In this video, I'm going to walk through a tutorial to show us how to make Kodu, one of the animated characters of this game, move. And then I'm going to show you a way to extend this learning for your students by showing them how to make Kodu move in reference to an object. Let's get started by clicking on Load World.

Under the Load World menu, students have a variety of worlds they can choose from. They can go into these worlds and simply play the game, or they can go into the world and manipulate and change the environment to be exactly what the student would like it to be. We're going to get started by clicking on Lessons to bring up the Lesson worlds. From the Lessons menu, I'm going to use the green arrow on the right-hand side. And I'm going to scroll all the way over, until I see this entirely blank green, called first tutorial world. I'm going to access this by clicking on it, and then selecting play. Now instead of tutorial, Kodu is going to give me these popup windows with informational texts, that tells me exactly what you need to do, to go from action to action through the tutorial.

It's really important that you only do the action as Kodu describes it. If you don't complete the action exactly as described, then Kodu won't know to prompt you for the next action. I'm going to go and click continue because I understand these instructions. So the first thing we're going to go in our world is to go ahead and add a Kodu. Kodu is simply one of the characters that we can use inside of this world. I'll go and click the continue button. Whenever we're making any changes in this particular program, we always use the Escape key to bring up the Editing mode. If I hit the Escape key right now you'll see at the very bottom of the screen I have a variety of things that I can do.

I can choose to move the camera angle. I can add objects. I can add paths, and I can even go through and change the structure of the world itself by adding hills, bumps and even water. We're going to go ahead and select the Object tool. And then to add an object we can select anywhere we'd like on our map and simply click. Here we have a variety of things that we can add. We can add rover or an apple. I'm going to go and select Kodu at the top of the screen since that's what the tutorial is prompting me to do. To add Kodu, I'll simply click on him. So at this point, even with a few clicks, we've gone ahead and already added a character to our game.

I'm going to go ahead and click OK and then to play our game, I'm going to select the Play button. You'll notice that my Kodu character is just sitting still. In fact the tutorial's going to prompt us and say, hmm, nothing seems to be happening. So what we need to do is to go ahead and add some program to our Kodu in order to make him move. Let's go ahead and click the A button to continue. The programming language inside of Kodu is a WHEN and DO language. Students can specify when something happens, that something else should happen through the do. Let's go and see what this looks like by adding some movements to Kodu. I'll click the A button to continue.

The next step is to go head and bring up our editing mode, we can do this again by pressing the Escape Key. I'm going to go and click on the Object tool, and now I'd like to right-click on the character that I'd like to program. I'll go and hover above Kodu, I'll right-click, and I'll select Program from the option menu. So this time we can go ahead and add our when-do statements. Now, when and do statements do not need to be limited to a single event and a single action. We can actually build multiple whens for multiple dos. For example, I'm going to go ahead and click on the When icon, and I'm going to say, when the keyboard is used.

I'm going to click the plus sign next to the keyboard again to be more specific. I'll say when the arrows are used on the keyboard. I'm then going to go ahead and click on the DO plus button, the DO should be a movement. So with those three simple steps, we've gone ahead and added some programming to our game. I'm going to click the continue button, I'll hit escape to come back to my main programming menu and I'l click the play button to start my game. I can now see that even do Kodu's hovering there when I press the forward keys and the left and the right keys that I'm now able to move my character around the map.

It also gives us a pop-up window saying congratulations, you've learned how to add Kodu to a world and then program him to move. I'm going to go and click the Continue button. Now let's go ahead and extend our learning a little bit with a way that you can teach students to have Kodu move in reference to objects. To do this I'm going to click the Escape key. And I'd like to add another object onto my map. I'm going to go and select the Object tool. I'm going to click this time, a little bit behind an to the left of my Kodu, an I'm going to add an apple. So now in my map I have my original Kodu that we did, and I also have an apple that's been added.

I'd like to program Kodu. So I'm going to select Kodu. Right-click Kodu, and select program. Now we currently have a program that says when I use the arrow keys on the keyboard, it's going to make Kodu move. What I'd like to do, is to leave this program functioning, and add a second program directly below that. I'm going to go ahead and click the plus button next to when, and I'm going to say that when Kodu sees something, I'll tell him what he sees with another plus button. And was going to see an object. And that object's going to be the apple.

So when Cody sees the apple, I now need to tell him what to do. I'm going to click do, and I'm going to say that he should move. I'm going to click the plus button next to move. And I'm going to say, toward. And I'm going to add even a third step to this, and say slowly. So this second line of program, I've told Cody that when he sees the apple, he should move towards the apple, slowly. Let's go ahead and add a third line of code, to tell Cody what to do when he reaches the apple. I'm going to click the when plus button. And I'm going to tell Cody that when he bumps, I'll add some instructions, bumps in object, that object being the apple.

I'm going to come over to the Do section, click the Do plus button, and I'm going to go ahead and select that he should eat, and I'm going to select the apple. So let's quickly review everything that Kodu can now do. I've used some very basic functions to tell him that the keyboard arrows will allow him to move. Now, when he sees an apple, he's going to move toward the apple slowly. When he gets the apple, he'll bump it, and when he bumps the apple, he'll eat it. Let's go and hit the Escape key to come out of programming mode. I'm going to select the Play button and we're now playing this game.

As you can see, my Kodu saw the apple, he turned and went towards the apple, when he reached the apple he bumped it, and he went ahead and ate the apple. We've added some very basic lines of programming and our Kodu is now a fully-functioning program that our students can use. In addition to being able to play this on the computer, students also have the ability to download and save this game, take it home, and play it on an Xbox. I hope you enjoy exploring Kodu with your students, and that your students enjoy creating worlds and their very own interactive games.

Find answers to the most frequently asked questions about Teacher Tips.


Expand all | Collapse all
please wait ...
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.
 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Teacher Tips.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Notes cannot be added for locked videos.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.