Spanish Mad libs with Scratch

Slides:



Advertisements
Similar presentations
Create a Simple Game in Scratch
Advertisements

Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
SCRATCH Lesson Two – Interactive Concepts Using Sensing, Operators, and Variables.
Create a Simple Game in Scratch
Michael Parkes Dudley LA What can Scratch do? Make simple games, animations, presentations and stories.
Harry Potter Scratch Game
Adventures in Animation Harry Potter Game Pranali Choubal Kunal Shaw Barb Ericson Dec 2007.
Write Your First Computer Game!. Coding: Programming Languages Just like you can speak Chinese to someone who understands Chinese to tell them what to.
Learn… Create… Program. Manipulation of Multiple Media Connects with youth culture Scratch is a new graphical programming language designed to support.
1 An introduction to programming concepts with Scratch.
An intro to programming concepts with Scratch Session 2 of 10 sessions I/O, variables, simple computing.
1 An introduction to programming concepts with Scratch (in 5 hours + homework)
ITEC Winter An intro to programming concepts with Scratch Quick intro for college citizens. George Stockman MSU CSE.
Madlib-Input, Strings, and Lists in Scratch Barb Ericson Georgia Tech June 2011.
Extending the Pong Example Barb Ericson Georgia Tech June 2011.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech Oct 2010.
Scratch Workshop Thursday, August 26, 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.
Code Club Session 2 Dance Party. What will we learn ?  How to change the background  How to create animations  How to make objects talk to each other.
Section 3 Calculations National 4/5 Scratch Course.
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.
Exploring Computer Science 2/23/15 2/23 Develop a Scratch story project -Brainstorming 2/24 Develop a Scratch story project –Developing 2/25 Develop a.
Introducing Scratch the Cat
Section 2 Variables National 4/5 Scratch Course. What you should know after this lesson What a variable is Where variables are stored How to get data.
Exploring Computer Science 2/16/15
Objects and Methods in Scratch 1. 2 Scratch environment Stage is at upper right (where actors act and information is displayed) Sprite is another name.
ACO 101 Making a program. mb_your_brain_on_improv.html mb_your_brain_on_improv.html.
Exploring Computer Science 2/9/15 2/9Moving Scratch 2/10Moving Scratch worksheet 2/11 Scratch Baseball Game 2/12Scratch Alphabet Learning Game 2/13Game.
2015 CSE/EGR Summer Camps 1 Computer Science Concepts 1. What is an algorithm? 2. Binary information coding 3. Programming concepts via Scratch Designed.
Moving Sprites in Scratch Exploring Computer Science – Lesson 4-4.
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.
Image #1 Getting Started
Making a Sprite Dance Barb Ericson Georgia Tech June 2011.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
Computer Programming Modeling a Passive Solar Home.
Variables and Random Numbers Computer App Session 4.
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.
 SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
Moving Sprites in Scratch Exploring Computer Science – Lesson 4-4.
Digital Art in Scratch part 2 Barb Ericson Georgia Tech Nov 2010.
ICT/COMPUTING RULES Only use software allowed by the teacher
Scratch Lesson 1. Creating an account Open the internet browser : Safari or Internet Explorer Type in the URL scratch.mit.edu Using your school computer.
Madlib-Input, Strings, and Lists in Scratch Barb Ericson Georgia Tech.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Review for Final June 13, 2016.
Introduction to Scratch
Create a Halloween Computer Game in Scratch
Commands in Scratch.mit.edu
Scratch for Interactivity
Intro CS – Loops, making animations & films
Madlib-Input, Strings, and Lists in Scratch
Exploring Computer Science Lesson 4-10 – Part 1
Sign Up Here.
And and or…and RANDOMNESS
Scratch for Storytelling
Go to =>
An intro to programming concepts with Scratch
Getting Started with Scratch
Image #1 Getting Started
Game Over Module 4 Lesson 2.
Introduction to Snap Programming
Getting Started with Scratch
Creating a Simple Game in Scratch
CSC 221: Introduction to Programming Fall 2018
Exploring Computer Science Lesson 4-10 – Part 1
Presentation transcript:

Spanish Mad libs with Scratch

Mad Libs Concepts Ask the player for words Store the words Display the story Variable – something that changes Strings are groups of characters

What’s a variable? Give me an example? A container to store a value Give me an example? In shapes drawing program the number of sides in the shape might be a variable Or length of side

What’s a STRING? Give me an example? Name in a Leader board A type of data or value made of words, letters, spaces or numbers A group of characters You can join two strings together You need to add spacing between strings Give me an example? Name in a Leader board Mad Libs words Title of a track, film, book

Project Description We will ask the user some questions and then create a "madlib" from the answers

Big Picture Delete the cat sprite Choose a sprite from a file Do set-up Make all the variables Ask user a question Set answer to a the variable Duplicate the script for the number of variable in your story Create a string to say the result Delete the cat sprite Choose a sprite from a file Program the sprite Create a script

Creating a Variable Go to the Data category Click on "Make a Variable" Give your variable a unique name For example verb1, food, etc. When you create a list you get new tiles (blocks) that help you work with the list. The list will automatically be displayed. You can turn this off by unchecking the checkbox.

Program the Sprite We want to ask the user a question for each changing word in your story Name Favorite color Favorite Animal Use the "ask and wait" tile in the Sensing category

Saving the answers Each time we ask a question the answer is put in the answer tile – in Sensing To save the answers let's add them to a variable

Set-up and ask questions When the green flag is clicked Hide variable answers Show the plain background Ask each question Set each answer to the variable

Display your MAD Lib with ANSWERS Create a new Background Type the story leave spaces for words the user gives Use Vector Mode Using multiple joins You can use more than one join First drag out one join. Then add another in the second slot. Then add a third in the 2nd slot of the 2nd. Then drag out the item at position in list.

Displaying the MadLib You can join two strings together Using join tile from Operators You can get an item from a position in the list

Using variables with strings You can make a variable Like sentence You can set the variable to the result of a join Remember to include spaces

Final Code

Senor Salzman’s Scratch SPANISH Mad Libs Example

Extra time Change cat sprite Make the cat glide and speak Click the cat see the x,y Go to coordinate graph x,y Change the sprite costume Or right click on the cat and select delete

Extra time Choose a new Sprite Select the choose a sprite from a file Go to the People category Pick a sprite to use