This is ballsbounce. a2w where I have dragged more things into world

Slides:



Advertisements
Similar presentations
LOOPS Loops are lines of code that can be run more than one time. Each time is called an iteration and in for loops there is also an index that is changing.
Advertisements

Scratch is a Visual Programming Language
Motion of a bouncing Ball Why?. Motion of a bouncing Ball centre or top surface never touches the ground.
Manipulated Vs. Responding Variable
Adventures in Animation Alice – Advanced! Michelle Venable-Foster June 2006.
Pong! “The oldest commercially available game in history” Resources created from the video tutorials provided by David Phillips on
Experimental Design Helicopter Design
Lets Play Catch! Keeping Score in Alice By Francine Wolfe Duke University Professor Susan Rodger May 2010.
A Christmas Scratch game
 First you have to think up a what kind of game are you going to have it can be any thing from a brick breaker to an role playing game.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Extending the Pong Example Barb Ericson Georgia Tech June 2011.
by Chris Brown under Prof. Susan Rodger Duke University June 2012
Making a Timer in Alice.
CATCH SCRATCH! Programming from Scratch. Remember Scratch?
For Loops (ProjFor1, ProjFor2, ProjFor3, ProjFor4, textbox, textbox1) Please use speaker notes for additional information!
When you start a new world, pick a backgrou nd.. Click on add objects to add objects to your world.
Random numbers in Alice 3. Create world, add character (“Red” in this example) Dragged walk tile to right onto Run method. Click on “??? “ part of Tile.
How to use the timing feature Click to choose a shape, then click on the screen and drag it to place in on the slide.
Making a Timer in Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University July
What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control.
1 ball, 2 ball, red ball, blue ball By Melissa Dalis Professor Susan Rodger Duke University June 2011.
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.
Do you know what energy is ? Energy is the ability to do work or cause change. Power is the rate at which energy is transferred. In every movement energy.
CS320n –Visual Programming
Python Arrays. An array is a variable that stores a collection of things, like a list. For example a list of peoples names. We can access the different.
Bunny Eat Broccoli Repetition – Simple loops and Conditional loops Susan Rodger Duke University July 2011.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
Hints on debugging
Nonvisual Arrays by Chris Brown under Prof. Susan Rodger Duke University June 2012.
Computer Game Design ActionScript is… Object-oriented programming Everything you do in ActionScript does something to some object* Some objects.
Computer Programming Modeling a Passive Solar Home.
Simple Collision Detection By David Yan Under the direction of Professor Susan Rodger and Chari Distler Duke University, June 2015.
Today we are learning to: Understand how flow charts are used to design games Add events to our objects to control stuff in our game – (Using the user.
2, 4, 8, 16, … 32 Exercise. 2, 4, 6, 8, … Exercise 10.
Chapter 61 Example : For … To… Step For index = 0 To n Step s lstValues.Items.Add(index) Next Control variable Start value Stop value Amount to add to.
5b – For Loops Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
3:00. 2:59 2:58 2:57 2:56 2:55 2:54 2:53 2:52.
Computer Science I Animations. Bouncing ball. The if statement. Classwork/homework: bouncing something. Compress and upload work to Moodle.
Scratch Part 2 – Character Commands. What does a command do?  Commands in programming allow an object whatever it is to do something. In the case of.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
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.
Index Background Costumes Making object walk smoothly Controlling an object with the keyboard Control an object with the mouse Changing costume when hit.
Dancing on Green Light.
Bunny Eat Broccoli Repetition – Simple loops and Conditional loops
Top Fire Protection Services Ottawa available on Dubinskyconstruction
BBC Microbit.
BBC Microbit.
Basketball main rules To know the rules… Click here!
اختر أي شخصية واجعلها تطير!
Michelle Venable-Foster Barb Ericson Jan 2007
B N G i O Class Choose 75, 80, 90, or Other. Other…
Interactive Lesson Planner
BBC Microbit.
Create Your Skills.
Using Lists and Functions to Create Dialogue
1 To go to the next slide, click this button instead. A random slide will come up.
YOUR text YOUR text YOUR text YOUR text
CLICK TO START.
CLICK TO START.
So you want to be a Game Designer
under the direction of Professor Susan Rodger
Pass the Ball Game Pass the ball. When the music stops – whoever has the ball must answer the question Find the conversation question sheets (on many topics!)
Click to add master title
Call Now : Click : -
Call Now : Click : -
Call Now : Click : -
How to Stop All the Ads in Hotmail by Internet Explorer? | HOTMAIL SUPPORT PHONE NUMBER
Tips for Importing into Another Gmail Account | GMAIL CUSTOMER SERVICE NUMBER
Presentation transcript:

This is ballsbounce. a2w where I have dragged more things into world This is ballsbounce.a2w where I have dragged more things into world.my first method. Note that the methods for volleyBall are under volleyBall and the methods for tennisBall are under tennisBall etc.

Now I have in world. my first method, three other methods: world Now I have in world.my first method, three other methods: world.startup, world.process and world.wrapup.

This is world.startup which positions the balls.

This is world.wrapup which brings the balls back to the ground.

This is world.process which does the bounce method associated with each object (each ball).

To create a variable, I click on create new variable and give the variable a name and a starting value.

This loop starts an index at 1 and adds 1 each time stopping before it reaches 3.

will see the options to set or increment.

This shows an if using a random number.

Random is a function.