Lab 18 structure.

Slides:



Advertisements
Similar presentations
Create a Simple Game in Scratch
Advertisements

Create a Simple Game in Scratch
We The People.
x 4 = You were too slow………….. Click below to start again!
Welcome to Jeff’s baseball game! Here is how to play. You are asked a math question and you have to get it right or you will repeat the question until.
I.1 ii.2 iii.3 iv.4 1+1=. i.1 ii.2 iii.3 iv.4 1+1=
1 Flash Actionscript Adding Interactive Actions. 2 ActionScript 3.0 ActionScript is the language you use to add interactivity to Flash applications, whether.
I.1 ii.2 iii.3 iv.4 1+1=. i.1 ii.2 iii.3 iv.4 1+1=
Digital Art in Scratch part 1 Barb Ericson Georgia Tech Oct 2010.
Entry Task Separate Sheet of Paper.  Answer the following questions. You may use your notebook for help. You will turn this in and it will be graded.
Click your mouse for next slide Flash – Introduction and Startup Many times on websites you will see animations of various sorts Many of these are created.
Accessing videos in the EBSCO database. The first step to getting to the Secondary Library/Media Center Pages is to click on Academics.
Lesson 2 Solid Works GUI and the Design Process. Model Parts Set Up Document Properties –Select a Plane Create a 2D Sketch Create a 3D Feature.
The Wait-Until-Event pattern Has it happened  Yes, it happened!
Animating GIF. What is it? Think of how a flip book works. Each page is a different picture and when flipped through quickly, it looks as though objects.
How to use Image J software in quantitative analysis of western blots.
Using PowerPoint. HOW TO INSERT A SHAPE  Find the task bar click on insert.  Click on shapes.  Find the shape you want and click on it.  A cross should.
JEOPARDY KINDERGARTEN Language Arts How to Play… There are five categories – Letters, Rhyming, Colors, Beginning Sounds, and Shapes. Choose any category.
By: Susan Freeman Getting Started 1.Go to Start Programs Microsoft PowerPoint.
Conics Conics Review. Graph It! Write the Equation?
Counting to 100. On the following tasks, you will need to fill-in boxes on a 100 chart using the paint bucket tool. Put your mouse in the box you want.
“In the Eye of the Storm: A Case Study in Natural Disasters”
Graphics Lab: MyPaint Dan Maselko 1. MyPaint Description  For this assignment you will be implementing a very simple paint program.  You should be able.
基 督 再 來 (一). 經文: 1 你們心裡不要憂愁;你們信神,也當信我。 2 在我父的家裡有許多住處;若是沒有,我就早 已告訴你們了。我去原是為你們預備地去 。 3 我 若去為你們預備了地方,就必再來接你們到我那 裡去,我在 那裡,叫你們也在那裡, ] ( 約 14 : 1-3)
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Event Binding Make something to react when something happens to it, like pressing a key, it’s called event binding. Events: things that occur while a program.
ENGINEERING 1D04 Tutorial 4. What are we doing today? Focus Functions Scope of Variables Returning Values Objects Graphics library Aliasing Events Mouse.
THE MOUSE Left Click THE MOUSE Right Click.
PowerPoint Grades 3-5.
Ag Server UNIX Tuple Server Microsoft Windows Class Lab webpages
Create a Halloween Computer Game in Scratch
Scratch for Interactivity
Model Multiplication Name: _______________________________
MSC.visualNastran 4D Exercise Workbook
21’s (2+ Persons) You can pick any points on the floor to shoot from as long as all teams are shooting from the same spots Use both baskets and both sides.
How to Resolve HP 0x83c0000a Printer Error Code
Scratch – Simple Programming
Scrolling text repeating until end of slide.
Loopy Motion Control.
Model Multiplication Name: _______________________________
Learn… Create… Program
Cartesian Coordinate System
3 10 A B 0.25 C 1 2 D 25% 7 20 E 20% F 0.35 G H 0.2 To edit presentation: change text in shapes, select all shapes by clicking on shape and pressing CTRL.
Scratch – Simple Programming
Слайд-дәріс Қарағанды мемлекеттік техникалық университеті
Learn… Create… Program
.. -"""--..J '. / /I/I =---=-- -, _ --, _ = :;:.
II //II // \ Others Q.
I1I1 a 1·1,.,.,,I.,,I · I 1··n I J,-·
Chapter 2 Role of Information Systems in Organizations Link 2
Ашық сабақ 7 сынып Файлдар мен қапшықтар Сабақтың тақырыбы:
Windows басқару элементтері
Solving Equations 3x+7 –7 13 –7 =.
Properties of Iron Vanderbilt Student Volunteers for Science
How to Make a Powerpoint Presentation
Learn… Create… Program
Learn… Create… Program
CLICK TO START.
Қош келдіңіздер!.
CLICK TO START.
Creating a Simple Game in Scratch
Информатика пән мұғалімі : Аитова Карима.
CoE Software Lab II , Semester 2, Pong.
. '. '. I;.,, - - "!' - -·-·,Ii '.....,,......, -,
Spell your name using word art from above
Call Now : Click : -
Call Now : Click : -
Call Now : Click : -
Scratch – Simple Programming
Presentation transcript:

Lab 18 structure

BBall class instance data: circle direction methods: __init__(self, color, center, dir=1) draw(self,win) move(self, win)

main() Part II set up the window make a ball put the ball in the window move the ball (or move all of the balls)

self.circle.getCenter().getY()

main() Part IIIA set up the window make a ball put the ball in the window repeat forever move the ball (or move all of the balls)

main() {art IIIC set up the window make a ball put the ball in the window repeat until q key clicked move all the ball close window

main() Part IV set up the window make a ball put the ball in the window repeat until q key clicked if the mouse was clicked, change bouncyBall's color move all the ball close window

to slow things down import time time.sleep(.03) #pause for 3/100 of a second