Sensing and Variables.

Slides:



Advertisements
Similar presentations
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
Advertisements

Write Your First Computer Game!. Coding: Programming Languages Just like you can speak Chinese to someone who understands Chinese to tell them what to.
Fish Chomp. 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.
Ian Gover Education Technology Adviser Somerset County Council How can I make a game and learn some programming ideas?
Spiral Rider PAGE 1. Set Up Scene 1.Add Stage-underwater scene 2.Add crab sprite 3.Add two fish sprites PAGE 2.
Geometry. 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 are.
Fish Chomp. 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.
The If Block. IF The “if” block can be found in the control tab. The if block means, “IF this happens, THEN do this.” You can put blocks ON the if block.
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.
How to create a basic game in Scratch. The Scratch Stage The Scratch stage is 480 pixels wide and 360 pixels high x increasesx decreases.
 Write the Learning objective onto your Self Assessment Sheet LO: Learn how to use different pages and add scoring to a game in Kodu.
 Write the Learning objective onto your Self Assessment Sheet LO: Learn how to add different types of paths to a world and control an enemy within a.
ICT/COMPUTING RULES Only use software allowed by the teacher
Index Background Costumes Making object walk smoothly Controlling an object with the keyboard Control an object with the mouse Changing costume when hit.
Today, we'll learn how to remember numbers and make better games.
Kodu Tinkering. Today we are learning about: Kodu & Tinkering ●I can explore Kodu for myself.
Scratch Programming Cards
Scratch Helicopter Game
Create a Halloween Computer Game in Scratch
Broadcasting (Adding a new level)
Games Programming in Scratch
Scratch 7B IT1.
How to work with your sprite
Games Programming in Scratch
Scratch: Animation and game programming
Binary Code Cracking.
Scratch – Simple Programming
Inputs and Outputs.
Creating a Virtual Pet.
Finishing the Virtual Pet
Introduction to Flowcharts
Creating a quiz in Excel
Loopy Motion Control.
Computer Networks.
Animation Frames.
Creating a Presentation
Creating a Timetable.
Collating Data in Excel
Creating a Student Marksheet
GAMING IN KODU – Lesson 3.
Self Assessment.
Binary Code Cracking.
Scratch – Simple Programming
Creating a Multiplication Square
Writing an Evaluation.
Creating a Brochure.
An introduction to decomposition: Tut, clap or Jive
Creating a Memo.
Cosmic Chorus.
Formatting Styles in Word
Motion and Looks.
Self Assessment.
Creating a Poster.
Creating a quiz in Excel
Creating a Student Marksheet
An intro to programming concepts with Scratch
Creating a Calendar.
Flappy bird Demo: Lesson 5 Flappy bird Demo:
Organising Slides.
Game Over Module 4 Lesson 2.
Creating a Calendar.
Creating an Interactive Quiz
Organising Slides.
Creating a Multiplication Square
Sensing and Variables.
Game creation using scratch
Explain what touch develop is to your students:
Creating a Timetable.
Creating an Interactive Quiz
Scratch – Simple Programming
Presentation transcript:

Sensing and Variables

Learning Objective “Learn how to sense events and keep score”. Write this Learning Objective onto Page 1 of your workbook. Monday, 03 December 2018

Learn how to sense events and keep score. Sensing Sensing can be used to detect when something has happened in a game. Like touch in this example: Add to score. Is shark touching fish? No Yes Learn how to sense events and keep score.

Learn how to sense events and keep score Variables Variables are used to store data. In order for a game to “remember” what a players score is it must store it in a variable. Think of variables as boxes to store data which can be retrieved later. PLAYER NAMES SCORE LIFE Learn how to sense events and keep score

The Game Use the instructions on page 10 of your workbooks to create this Shark Attack game: Score shown here. Shark will move up and down using  cursor keys. Fish will start in a different place each time. Learn how to sense events and keep score

Learn how to sense events and keep score Extension Task Make your game better by adding some more features: Change the sharks costume so it closes it’s mouth to eat the fish. Add a GAME OVER stage to be displayed if the fish doesn’t get eaten. Learn how to sense events and keep score

Learning Objective “Learn how to sense events and keep score”. Put  or  onto your Self Assessment page to show whether or not you have achieved today’s learning objective. Monday, 03 December 2018

Learn how to sense events and keep score What can you remember? What do X and Y mean when talking about the position of a sprite? What is a variable used for? What does broadcast mean? Learn how to sense events and keep score