Recap Ball Movement How does ball start its movement initially What happens when it hits the top and bottom What happens when it hits the paddle If you.

Slides:



Advertisements
Similar presentations
Create a Simple Game in Scratch
Advertisements

Scratch is a Visual Programming Language
How to make an educational Snakes and Ladders game in Scratch
Microsoft® Small Basic Advanced Games Estimated time to complete this lesson: 1 hour.
A Christmas Scratch game
Mrs. Chapman. Tabs (Block Categories) Commands Available to use Script Area where you type your code Sprite Stage All sprites in this project.
Racing Car Game Using the keys to control a sprite.
A rational function is a function of the form: where p and q are polynomials.
Warm-up – Shopping cart disaster! Watch the video. Shopping cart disaster! Shopping cart disaster! Write down observations about what happened with as.
Scratch Understanding some programming techniques using Scratch Resetting, Parallelism and Events.
Mr. Wortzman. Tabs (Block Categories) Available Blocks Script Area Sprite Stage All sprites in this project.
Fell View Computer Club StarLogo TNG – Session Two.
Creating pong in scratch Learning objectives: To learn how to program Sensing via colour and sprite proximity O:\ICT\ks3\scratch\scratch Exercises\Creating.
PING PONG (Table Tennis)
In.  This presentation will only make sense if you view it in presentation mode (hit F5). If you don’t do that there will be multiple slides that are.
Using MIT Scratch for Programming and Control Exercise 3 Ball Game Year 9 ICT Autumn Term 2007.
How to make a Shooting Target game in Scratch!. WE ARE GOING TO MAKE A TARGET GAME. This game will have: A Target that will move when clicked. A Timer.
Moving Around in Scratch The Basics… -You do want to have Scratch open as you will be creating a program. -Follow the instructions and if you have questions.
GAME:IT Pinball Objectives: Review skills from Introduction Introduce gravity and friction Introduce GML coding into programming.
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.
Motion 3. Motion Block Motion blocks allow you to program the Sprite’s movement. You can move it to different location, rotate, move towards the mouse.
Intro CS – Screens and Variables Lesson Plan 9. Goals  Using sprites as full screens (Start screen, Game over)  Using layering to control ordering of.
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.
Program Flow LabVIEW Robotics Fundamentals. Unintuition You know what this program does… So what does this one do? Inserted code.
By Mr. Putnam. In Catfall, the goal of the game is to touch the falling cats with the mouse. Every time you touch a cat, your score goes up by one point.
Cloning in Scratch Computer App Session 6. Cloning in Scratch Learning Objectives: I will clone sprites in Scratch to create copies of an existing sprite.
Introduction to Computer Programming - Project 2 Intro to Digital Technology.
How to create a sprite Delete a sprite (e.g. the cat) by right clicking on it and choosing delete. Go to the bottom right hand corner and choose a new.
How to create a sprite Delete a sprite (e.g. the cat) by right clicking on it and choosing delete. Go to the bottom right hand corner of the stage and.
Numbers Fractions We have been working with familiar fractions like But what about a fraction where the top number, the numerator, is more than the lower.
Unit 6 Motion – Air Hockey Evangel College S.2 ICT.
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.
Draw something like this in the middle of your page!
Making a Flappy Birds Game PART 2 – MAKING THE BIRD FLAP AND FALL – AND DEVELOPING THE GAME FURTHER (ADDING ADDITIONAL CHARACTERS, GOODIES, ENEMIES AND.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Index Background Costumes Making object walk smoothly Controlling an object with the keyboard Control an object with the mouse Changing costume when hit.
Kodu Tinkering. Today we are learning about: Kodu & Tinkering ●I can explore Kodu for myself.
Movement Game Design (Scratch).
Create a Halloween Computer Game in Scratch
Breakout 3D Jeremy Quick.
Intro CS – Screens and Variables
Module 1: Investigation 2 Repeating and Alternating Patterns
Scratch for Interactivity
Interacting Sprites Module 3: Investigation 1
© A+ Computer Science -
3D Free Billiards Snooker Pool_v1.1.8 APK FULL VERSION
2.1 Lever systems, examples of their use in activity and the mechanical advantage they provide in movement.
Barb Ericson Georgia Institute of Technology June 2007
Scratch – Simple Programming
Scratch Programming Intro
Transfer of Thermal Energy
Reviewing Percents.
BYOB – Costumes.
The One Where You Scratch
Intro to Programming With Snap PII.
Scratch – Simple Programming
Go to =>
Recap the basics Lesson 1.
Lesson Objectives To understand how to make sprites interact
Motion in Scratch 1.
Backtracking with addition and subtraction
Game Over Module 4 Lesson 2.
Scratch: Animation and game programming
Recap the basics Lesson 1.
WARM-UP: Be sure to include extra details such as direction, number of degrees / turns, etc. in addition to the vocabulary terms like translation,
Mod 2 Lesson 2 Repeating with loops
Creating a Simple Game in Scratch
Scratch – Simple Programming
Presentation transcript:

Recap Ball Movement How does ball start its movement initially What happens when it hits the top and bottom What happens when it hits the paddle If you have time, ask your partner some of your own questions you’re stuck on.

BounceOffPaddle “...what happens to your ball when it touches a paddle. You must implement this as a function (a command block). You should name this block BounceOffPaddle” “Each time your ball sprite touches a paddle, it will reverse its direction ……” “….and you will add a random variance in the direction by turning between -15 and 15 degrees from the reversed direction”

BounceOffPaddle approach

BounceOffPaddle block Let’s now walk through some details of how this is done What type of block is this? How does the ball’s direction change? Using what BYOB block? By how many degrees? When will this block be used? (in relation to the ball’s position)