Intro to Programming with Scratch

Slides:



Advertisements
Similar presentations
Sprite-visual object (actor on the stage) Scripts- Tells actors (sprites) what to do.
Advertisements

Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
My Internet Safety Guide I have used scratch to program a guide to internet safety using QR codes.
Scratch Programming Session 9 of 10 Review elements to use in stories, games, etc.
Programming Concepts (Part A) Ping Hsu. What is a program? WHITE CAKE RECIPE 1.Preheat oven to 350 degrees F (175 degrees C). 2.Grease and flour a 9x9.
Madlib-Input, Strings, and Lists in Scratch Barb Ericson Georgia Tech June 2011.
Mr. Wortzman. Tabs (Block Categories) Available Blocks Script Area Sprite Stage All sprites in this project.
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.
Every week: Sign in at the door If you are new: Fill in Registration Form Ask a Mentor how to get started Make sure you are on the Athenry Parents/Kids.
INTRODUCTION TO THE SCRATCH PROGRAMMING ENVIRONMENT.
Introduction to Scratch!
Algorithms In general algorithms is a name given to a defined set of steps used to complete a task. For example to make a cup of tea you would fill the.
We will be creating a spaceship that simulates real movements in space. The spaceship will fire a laser beam that can destroy targets. The spaceship will.
Summer Computing Workshop. Session 2 Input in Scratch  Multi-Character input - This is used when the user is prompted to enter a number or word.  Problems.
2015 CSE/EGR Summer Camps 1 Computer Science Concepts 1. What is an algorithm? 2. Binary information coding 3. Programming concepts via Scratch Designed.
Introduction to Programming G50PRO University of Nottingham Unit 2 : Introduction To Scratch Paul Tennent
Variables. Todays Lesson  In todays lesson you are going to:  Learn to use variables  Learn to ask for user input  Learn to save the users response.
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.
Scratch Another computer programming language Developed by MIT in 2003
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
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.
Programming a Shooter Game Design.
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.
I have used Scratch, to program a guide to internet safety. This is done by using QR codes to make it more interactive and interesting for people playing.
Today's Ninja Challenge: Write Your First Computer Game!
ICT/COMPUTING RULES Only use software allowed by the teacher
Introduction to Scratch We will be using the Scratch Environment today, so please log in to the Scratch website (scratch.mit.edu)
Intro CS – Loops, making animations & films Lesson Plan 3.
Introducing Scratch Learning resources for the implementation of the scenario
School of Computer Science Space School 2015 Programming a Lunar Lander Game.
Scratch Programming Cards
Introduction to Scratch
Movement Game Design (Scratch).
Create a Halloween Computer Game in Scratch
3.1 Fundamentals of algorithms
Games Programming in Scratch
Scratch for Interactivity
Introduction to Scratch
Intro CS – Loops, making animations & films
Building with Numbers Module 4: Investigation 3
Scratch 7B IT1.
Scratch Unit Overview We are going to look at computer programming and how to create your very own computer game The piece of software we will be using.
Scratch – Simple Programming
Computing Year 7 - Unit 2 Programming Basics Scratch Basics.
Loopy Motion Control.
Introduction to Object-Oriented Programming
Scratch Programming Intro
Creating Variables Output Logic flow Operators (More) Basic blocks
Learn… Create… Program
Getting Started with Scratch
Scratch – Simple Programming
Motion and Looks.
Areas of the SCRATCH 2 Screen
Learn… Create… Program
Welcome to SCRATCH.
Introduction to TouchDevelop
Lesson Objectives To understand how to make sprites interact
Using the sensor Lesson 5.
Getting Started with Scratch
Code to Enhance Learning
Getting Started with Scratch
Learn… Create… Program
Learn… Create… Program
Using the sensor Lesson 5.
Explain what touch develop is to your students:
Creating a Simple Game in Scratch
Scratch 7B IT 1.
Scratch – Simple Programming
Presentation transcript:

Intro to Programming with Scratch Halloween Edition

Problem Solving Programming is just solving problems and challenges: Read and understand the problem: What are you making? Design a solution: What will your program do? What will it look like? Implement the solution: Coding time!! Test solution: Does your program work the way you want it to? Revise as needed: If it doesn’t work the way you want, fix and test as much as you need Use get ready to school as an example

Computer Programming Writing programs is like solving any problems We give the computer a sequence of instructions, and the computer does exactly what you tell it to do You can think of these instructions as steps to solve a problem Example: How do you make a cake? Step 1: Preheat the oven Step 2: Mix all the ingredients together Step 3: Put the mixture in a pan Step 4: Put the pan in the oven for 45 minutes Step 5: Let the pan cool, transfer to a plate and enjoy!!

Scratch Go to scratch.mit.edu Scratch creates stories, games, animations: Sprites: main characters(objects) in your story Task1: Draw a Character Visual coding is great for beginners at any age. Ask if the kids are interested in making andriod applicaitons

Scripts in Scratch Scripts = Code Events Execute code when certain things happen Task 2: Write Script so that when you click on green flag, your character ask “Hello World!” Go through example online Events: When something happens….. (do something) Control/Sensing: Use sensing to fill in if-statements. Used for collisions, and movement Motion: Move sprites… das about it Looks: Shows and hides things and makes sprites talk Operators: usually used with if statements MSEN Maze: https://scratch.mit.edu/projects/78330594/ THIS IS FOR INSTRUCTOR AS A “CHEAT SHEET” please create the maze game on the projector and help the kids along with the game. Have one person do one step at a time at the projector, and at least two people walking around helping out kids that may lag behind.

Scripts in Scratch Scripts = Code Control Flow: forever; if, then; if, else; repeat until Sensing & Motion When you character sense a situation, do sth. Task 3: a) Write script so if you click up arrow on keyboard, your character move up; b) write similar script for down, left and right c) make your character able to do this forever. Go through example online Events: When something happens….. (do something) Control/Sensing: Use sensing to fill in if-statements. Used for collisions, and movement Motion: Move sprites… das about it Looks: Shows and hides things and makes sprites talk Operators: usually used with if statements MSEN Maze: https://scratch.mit.edu/projects/78330594/ THIS IS FOR INSTRUCTOR AS A “CHEAT SHEET” please create the maze game on the projector and help the kids along with the game. Have one person do one step at a time at the projector, and at least two people walking around helping out kids that may lag behind.

Lets start a Maze project Task 4: Let’s make a puzzle Game: Create a new Sprite: draw a maze Create a new Sprite: your prize, put it at the end of the maze Use the script in Task 1-3, does it work? how to make your character doesn’t go through walls https://scratch.mit.edu/projects/11710850/#editor

Let's start a Maze project Task 5: Have time and score in your game In Data, Create a variable score, a variable time set score and time equals 0. where should you set it? how to make time change 1 every second? https://scratch.mit.edu/projects/90637407/#editor

Let's start a Maze project Task 6: Make your game more fine Add traps in the maze your character should be able to move around the trap, so make it small when touch a trap, minus point Add an enemy the enemy move by itself (use glide) if your character touched the enemy, go back to the start Add a sphinx, you can only pass if you correctly answer a math question hint: use ask, answer, and if control to test the answer’s correctness https://scratch.mit.edu/projects/90637407/#editor

Save & Play Each other’s Game Hurah!!!