StarLogoTNG 101 Treasure Hunt Game Unit Lesson 2: Keyboard Controls.

Slides:



Advertisements
Similar presentations
Intro to Computers!.
Advertisements

New Mexico User Test Starlogo TNG September 16, 2006 Starlogo TNG September 16, 2006.
DEVELOPING ICT SKILLS PART -TWO
Mission Technology Introduction to Scratch! June 2007.
Getting Started With Alice By Ruthie Tucker under the direction of Prof. Susan Rodger Duke University, July
An Introduction to the Interface
Events Chapter 7. Interactivity The real world is interactive User determines order of actions instead of programmer.
Events Chapter 7. Interactive Real world is interactive User determines order of actions instead of programmer.
StarLogoTNG 101 Treasure Hunt Game Unit Lesson 9: Variables.
Robot Soccer Challenge
StarLogoTNG 101 Treasure Hunt Game Unit Lesson 4: Forever and Procedures.
Computer Basics. Using a computer The purpose of this class is to get comfortable with: Using Windows.
StarLogoTNG 101 Treasure Hunt Game Unit Lesson 6: Terrain.
CS320n –Visual Programming Interactive Programs Mike Scott (Slides 5-1)
METHODS!.  A method is a sequence of instructions or behaviors that will be carried out when requested.  You can use them to create new methods so that.
CTS130 Spreadsheet Lesson 13 Working with Lists. Copying Data between Workbooks  Use the [Copy ]and [Paste] Buttons  Use the CTRL+[C] and CTRL + [V]
Computers: Getting Started 6 May Today we will learn: 1. Overview: parts of a computer 2. How to use a computer mouse 3. Computer Basics: Terms.
Bug Session Two. Session description In this session the use of algorithms is reinforced to help pupils plan out what they will need to program on their.
RoboMind A first impression of programming with RoboMind Arvid Halma, University of Amsterdam.
INTRODUCTION TO SCRATCH. About Me Resources Scratch Website Learn Scratch Washington-Lee Computer.
StarLogoTNG Treasure Hunt Game Unit Lesson 1: Basic Movement.
Bug Session Three. Session description In this session, pupils will discover how the Bug software makes drawing shapes easier (this is based on the use.
Use Time wisely Let us start off with explaining our awesome game!
GAME:IT Junior Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
1 Turn on the Wii, go to the Wii menu.. 2 Click on the Wii options.
Learning to program using Minecraft. Learning Objective Know what Minecraft is and to explain some of it’s uses Build a simple house in creative mode.
. © 2003 Ownership Associates < Go back Advance > OA INC Using E-Learning Tools From Ownership Associates, Inc.
Microsoft Word Review Lesson
StarLogoTNG 101 Treasure Hunt Game Unit Lesson 3: Treasures and Hazards.
Introduction to Scratch!
Using Moodle This is a rough draft of instructions for teachers to use Moodle in lieu of the in- service that is held periodically. Call me if you need.
GAME:IT Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
Scribbler Movements Sec 9-3 Web Design. Objectives The student will: Understand the basic movement commands for the Scribbler Know how to create and execute.
InDesign CS3 Lesson 4 ( Only pages ) Importing and Editing Text.
Events Chapter 7 Part 2. While a Key is Pressed Event Specialized event An event occurs when you press a key and continues until you take your finger.
Productivity Programs Common Features and Commands.
Teaching a character to walk in more than one world: Parameters and Inheritance. By Lana Dyck under the direction of Professor Susan Rodger Duke University.
Bug Session Three. Session description In this session, pupils will discover how the Bug software makes drawing shapes easier (this is based on the use.
 5 Core Elements to Game Design Courtesy of Gamestar Mechanics.
Instructions: Use Project Management test questions as the basis for moving pieces. 1.This game requires two players (respectively player 1 and player.
StarLogoTNG Treasure Hunt Game Unit Lesson 1: Basic Movement.
Saint James School of Medicine.  Objectives:  Add course Information  syllabus  Lecture Notes, handouts, slides  Problem solving or discussion areas.
Edmo.do/j/q4b8fs xnt8zb SAVE DOCUMENTS TO EDMODO WEBSITE.
Game Maker – Getting Started What is Game Maker?.
Learning PowerPoint Presenting your ideas as a slide show… …on the computer!
Lesson 1 - Understanding the Word Window and Creating a New Document
StarLogoTNG 101 Treasure Hunt Game Unit Lesson 7: Coordinate System.
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
Marble Racer. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
Directions Step 1: Edit text blocks by clicking in the test box in front of the letter with cursor blinking, then press delete and type a capital letter.
Lesson Nine: Miscellaneous Items. Shooting in Both Directions Used when you want your character to shoot things in multiple directions. You need to have.
To play, start slide show and click on circle Lesson 1 Lesson 1 Lesson 2 Lesson 2 Lesson Lesson 3.
Unit 6 Motion – Air Hockey Evangel College S.2 ICT.
Basic Filmmaking. Converting File Formats: First, you have to convert your video files to a different format so the editing software will recognize it.
StarLogoTNG 101 Treasure Hunt Game Unit Lesson 8: Hatch.
StarLogoTNG 101 Treasure Hunt Game Unit Wrap Up. Today’s Agenda Review Mini-lesson and programming practice on set camera and ID Finish making the treasure.
Today We Will Review: Operating Systems (Windows) (week 3 & 4) Starting up MS Windows Desktop and its contents Functions of the desktop components Brain.
OVERVIEW: This section covers the functionalities of all important menus on the menu bar. Please Note: I will not go in full depth yet over every menu.
Lesson Seven: Using Flags. What Are Flags? Flags are Variables or Switches Used to Help With Logic Control of your character. Normally, Flags are used.
Mouseless Computing For Windows OS After completing this tutorial you will be able to navigate your computer using keyboard shortcuts.
Introducing Scratch Learning resources for the implementation of the scenario
Objective of the lesson Use Blockly to make a dice for Snakes and Ladders All of you will: – Make an image which displays when you press a button Most.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Lego Mindstorm Robot Educator Tutorials
Using the Lego Mindstorms Edu NXT Software
After completing this lesson, you will be able to:
Lesson 8: Boolean Expressions and "if" Statements
Lego Mindstorm Robot Educator Tutorials
YEAR 7 PROGRAMMING SCRATCH & E-SAFETY UNIT WRAPPER
Explain what touch develop is to your students:
Presentation transcript:

StarLogoTNG 101 Treasure Hunt Game Unit Lesson 2: Keyboard Controls

Today’s Agenda Review Mini-lesson on new programming blocks Obstacle course programming challenge Wrap-up

Review What do you predict will be the agent’s movement when it executes the following block? What about this stack of blocks?

Review File menu > Open project “movement review.sltng” File menu > Save next version 5 minute programming challenge! Create the tallest stack of movement blocks that does not change the position or direction of the agent. Rule: You may not use the same pink argument block more than once. Hint: You may test your stack as many times as you want during the 5 minutes.

Programming Tip Another way to delete a block is to drag and drop it anywhere in the palette

Player Controls Have you seen or played Nintendo Wii? Why do people like it? What’s special about it? All computer games involve some kind of player control. Besides the Wii remote, what are other devices used by players to control the character or action in a game? Today, we will implement keyboard controls to move an agent around spaceland.

New Block: If / then Found in the “Logic” drawer First part (“test condition”) must evaluate to true or false If test condition is true, the blocks in the “then” section is executed. If false, ignore the “then” section. Example: see first program

Exercise: If / then block What do you think these IF blocks will do when executed by an agent? Explain your thinking.

New Blocks: Keyboard detect Found in the “Controls” drawer. Question mark means that the blocks tests if that particular key is pressed – evaluates to true or false. Click on down arrow on the right side of the block to select a different keyboard key to test.

Obstacles WATCH THE TEACHER DEMONSTRATE THE FOLLOWING STEPS FIRST. File menu > Open project “obstacles.sltng”. File menu > Save next version About obstacles project: –Terrain: maze / obstacle course –Setup: creates 1 player agent that starts in a corner of the board; also creates “treasure” blocks and other agents that are obstacles (you’ll find out) –Run: nothing happens yet –Game ends when the player collects all the treasure.

Programming Activity 1 WATCH THE TEACHER DEMONSTRATE THE FOLLOWING STEPS FIRST. Program instructions to control the agent’s movement from the agent’s point of view: –Up arrow key = move forward –Left arrow key = turn left –Right arrow key = turn right –Down arrow key = move backward Click on Run in the Runtime window to test out the controls. What happens when the player agent walks on different kinds of terrain (dips, hills, platforms)? Try out different values for the arguments (# of steps and degrees) and see what happens.

Programming Activity 2 Objective: collect all treasure in the obstacle course Program additional keyboard controls to get past obstacles. Consult the reference guide for descriptions of NEW blocks that could be useful.

Wrap Up What strategies and new blocks did you try to get past the obstacles? What worked? What didn’t work? What challenges did you have? What was fun? What questions do you have?