Development Laboratory

Slides:



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

Create a Simple Game in Scratch
Create a Simple Game in Scratch
This game is loosely based on the Whack-A- Mole arcade game.  Each game starts with 45 seconds of play.  Moles randomly pop out of holes on the landscape.
Scratch Programming Session 6 of 10 If-then-else statements interactions Final projects specifications.
Understanding the Mainline Logical Flow Through a Program (continued)
Racing Car Game Using the keys to control a sprite.
BPC.1 Basic Programming Concepts
Digital Art in Scratch part 1 Barb Ericson Georgia Tech Oct 2010.
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.
CATCH SCRATCH! Programming from Scratch. Remember Scratch?
Digital Art in Scratch part 1 Barb Ericson Georgia Tech May 2011.
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.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
24 Background Building 25 Computing Terminology, and Speed/Velocity Module 4 Notes: Sensing, Or Operator, Conditional Logic 28 Module 4 Algorithms,
Scratch for Interactivity Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
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.
STEP 3- DEVELOP AN ALGORITHM At this stage we break down the problem into simple manageable steps so that they can be handled easily.
P ROGRAMMING L OGIC GWDA123 Sharon Kaitner, M.Ed. Winter 2015: Week 2.
Lives and Scoring Games Programming in Scratch. Games Programming in Scratch L2 Lives and Scoring Learning Objectives Define a variable Understand the.
CoderDojo Sligo "Above all, be cool" Code and notes by Michael Madden, 2012.
Phase 3: Game Creation. Phase 3: Game Creation Outcomes (Slide 1) I can create a flowchart to solve a problem, for example to make a cup of tea. I can.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
GoldSim Monthly Webinar Series. Goals  Learn the basics of simple scripts  Learn the basics of the GoldSim Script Element  Not a lesson on numerical.
Introduction to Scratch
Scratch Helicopter Game
Create a Halloween Computer Game in Scratch
Programming & Scratch.
Scratch for Interactivity
Building with Numbers Module 4: Investigation 3
Scratch 7B IT1.
Scratch: iteration / repetition / loops
Diamond Hunt Mock Programming Project.
Chapter 5: Repetition Structures
Today's Ninja Challenge: Make Better GhostBuster Game
Scratch for Interactivity
Dance Cards Dance Cards
Learn… Create… Program
Lab book : Enemy Iengengdary Team name:Jay,Kevin,Eric,Micky-kky
Dance Cards Dance Cards
Scratch – Simple Programming
Dance Cards Dance Cards
Chapter 6: Repetition Structures
Chapter 5: Repetition Structures
Dance Cards Dance Cards
Dance Cards Dance Cards
Areas of the SCRATCH 2 Screen
Learn… Create… Program
Welcome to SCRATCH.
Moving Sprites in Scratch
Dance Cards Dance Cards
Peter+Tony+Carl+Vincent=Sophie
Dance Cards Dance Cards
Game Over Module 4 Lesson 2.
Lab Book Brent, Julian and John
Introduction to Snap Programming
Laboratory Creative Inventions Lourdes Garcia:
Dance Cards Dance Cards
Learn… Create… Program
Learn… Create… Program
Dance Cards Dance Cards
Dance Cards Dance Cards
Game development using Scratch
Creating a Simple Game in Scratch
Creative Inventions and Robotics
Lesson Nine Variables.
Scratch 7B IT 1.
Animate a Sprite. By M, M and C P6
Scratch – Simple Programming
Presentation transcript:

Development Laboratory Welcome to Computer Game Development Laboratory Scratch Modules Welcome to the Build-It-Yourself Laboratory. I’m Seth, chief computer programmer at Build-It-Yourself. I’m John, chief inventor at Build-It-Yourself. www.build-it-yourself.com

Series and Parallel Execution Put on your socks. Then Put on your shoes. Take a shower. At the same time, Brush your teeth. www.build-it-yourself.com

Iteration Breath. www.build-it-yourself.com

Conditional Statements If there is candy on the plate, keep eating Conditional Statements If there is candy on the plate, keep eating! If not, ask for more! www.build-it-yourself.com

Variables The score in a game. www.build-it-yourself.com

Messages When you are hungry, call the pizza shop. Broadcasting messages allows communication between sprites and the stage. For example you may want to change a background color or costume when the space bar is pressed. www.build-it-yourself.com

Modular Programming 1) Create solutions quickly Modular Programming 1) Create solutions quickly. 2) Edit solutions quickly. 3) Make solutions more reliable. Spaghetti Code Ordered Code www.build-it-yourself.com

In many ways, a computer works just like your brain! Program Structures 1) Sequence vs. Parallel 2) Iteration 3) Conditional Statements 4) Variables 5) Messages 6) Modular Programming In many ways, a computer works just like your brain! www.build-it-yourself.com

Document how your program works. Add code comments. Program Guidelines Make descriptive names for all Scratch projects, costumes, sprites, variables, messages. Modularize the code. Break down code into simple, reusable, functional building blocks. Set up logical hand shaking rules so one module can easily drive another module. Initialize costume and variable states when the program starts. (position, size, show, value …) Avoid forever loops or make sure you stop a forever loop when it is no longer needed. Use ‘Repeat Until’ so big projects with many forever loops will not overload your processor. Document how your program works. Add code comments. www.build-it-yourself.com