SlideShare a Scribd company logo
1 of 5
Scratch: Making a simple game.
STEP 1
Choose a background and character.
Click on stage and Backgrounds tab and either import one of the Scratch backgrounds provided or paint your
own. In this example the default Underwater background is used.
Delete the cat by right-clicking and selecting “delete”, and either create your own character or import one of the
Scratch characters.
Feel free to edit the character to make it look like what you want
Move the character with arrow keys. Add the following script to move character each time the keys are pressed.
The important new block is the ‘Point’ block. Click on the ‘Always face left/right’ or Do not rotate if the
character should not flip around when moving.
STEP 2
Add a new sprite (the food) for the character to catch/eat.
In this example a small yellow circle (a simple gold coin) is created and named ‘food’.
Set position of character and food, have food disappear when eaten, have character indicate it ate the food.
Set position of food using the xy cordinates. Have it disappear or be eaten when touched by the character.
The following script shows how to set the coordinates of the food and have it disappear when the character
(yellowfish) touches it. It uses the Hide/Show in the Looks blocks.
It also broadcasts a message ‘eaten’ that the fish will use to change or say something when it eats food.
Script for the food is as follows
Script to add to the yellow fish (YOUR MAIN CHARACTER) along with the arrow keys movement scripts is
STEP 3
Each time the game is played (the green flag is clicked) the food is always in the same place. Instead of picking
the x,y coordinates, let the computer pick it randomly, by using random numbers.
See updated script for food. In this it also hides and reappears after waiting second at a different place.
Use the broadcast message (food is eaten) to change the fish, example below shows fish getting bigger, and
changing color. In this case it is necessary to reset the fish to original. See below on changing fish on broadcast
and resetting on green flag.
STEP 4
Create a new sprite; and ENEMY sprite! Use scripts similar to that of food to create an enemy, example the
shark. After the shark waits and touches the fish, it can broadcast a message to tell that the game is over. The
Game Over sprite can then listen for this message and show itself and stop the game. In this example, the Shark
also moves slowly around forever in the tank, starting by pointing at a random angle and then bouncing off the
edges.
Create a sprite called GameOver and set it to stop the game when the Shark touches the fish, and the broadcast
message is received. In this example, the Game is also over if time runs out using the wait as a timer.
STEP 5 OPTIONAL!!!
If there is a definite way to win the game, example catching all the food (in this example the count of food is
4), then another sprite called YouWin can be used as follows.
In order to count the food caught, create a variable called count and use it as follows in the YouWin sprite.
STEP 6
Now, you want to publish your game to scratch.mit.edu to share and play with others. You can do this from the
main scratch screen.l
Go to Share, and select “share this project online”
Scratch login: cmsdigitalart
Password: cmscougars
Project Name: You choose something appropriate
Project Notes: You can choose to put something appropriate here
Click “OK”
Wait
Click “OK”
Open a web browser and go to scratch.mit.edu (no WWW!”
Login and you should be able to go and see and play your game. Now you can share the URL of your game
with your friends on Tumblr, Facebook, Twitter etc. etc.
TUTORIAL FROM: http://www.digitalartforall.com/790/scratch-making-a-simple-game/

More Related Content

What's hot

Scratch programming introduction to game creation
Scratch programming  introduction to game creationScratch programming  introduction to game creation
Scratch programming introduction to game creationAnkita Shirke
 
An introduction to Scratch
An introduction to ScratchAn introduction to Scratch
An introduction to ScratchPiers Midwinter
 
Scratch Lesson 1 – Basics
Scratch Lesson 1 – BasicsScratch Lesson 1 – Basics
Scratch Lesson 1 – BasicsDavid Oromaner
 
Lesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer ProgrammingLesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer ProgrammingSeniorInfants
 
Coding Basics with Scratch
Coding Basics with ScratchCoding Basics with Scratch
Coding Basics with ScratchNicole Baratta
 
oxford computer books grade one chapter 1 to 3 question answer with exercise...
oxford computer  books grade one chapter 1 to 3 question answer with exercise...oxford computer  books grade one chapter 1 to 3 question answer with exercise...
oxford computer books grade one chapter 1 to 3 question answer with exercise...FaB6 Design
 
Computer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsComputer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsSeniorInfants
 
Introduction to Scratch Programming
Introduction to Scratch ProgrammingIntroduction to Scratch Programming
Introduction to Scratch ProgrammingStorytimeSteph
 
Tic tac toe on c++ project
Tic tac toe on c++ projectTic tac toe on c++ project
Tic tac toe on c++ projectUtkarsh Aggarwal
 
Typical configuration of computer ppt
Typical configuration of computer  pptTypical configuration of computer  ppt
Typical configuration of computer pptProf. Dr. K. Adisesha
 
Snake project report
Snake project reportSnake project report
Snake project reportManju Rajput
 
Computer Science Class 6
Computer Science Class 6Computer Science Class 6
Computer Science Class 6Holly Akers
 
report on snake game
report on snake game report on snake game
report on snake game azhar niaz
 

What's hot (20)

Scratch programming introduction to game creation
Scratch programming  introduction to game creationScratch programming  introduction to game creation
Scratch programming introduction to game creation
 
An introduction to Scratch
An introduction to ScratchAn introduction to Scratch
An introduction to Scratch
 
Scratch Lesson 1 – Basics
Scratch Lesson 1 – BasicsScratch Lesson 1 – Basics
Scratch Lesson 1 – Basics
 
Lesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer ProgrammingLesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer Programming
 
Hangman game
Hangman gameHangman game
Hangman game
 
Coding Basics with Scratch
Coding Basics with ScratchCoding Basics with Scratch
Coding Basics with Scratch
 
Scratch Lesson Plan
Scratch Lesson PlanScratch Lesson Plan
Scratch Lesson Plan
 
oxford computer books grade one chapter 1 to 3 question answer with exercise...
oxford computer  books grade one chapter 1 to 3 question answer with exercise...oxford computer  books grade one chapter 1 to 3 question answer with exercise...
oxford computer books grade one chapter 1 to 3 question answer with exercise...
 
Scratch Programming
Scratch ProgrammingScratch Programming
Scratch Programming
 
Mini Scratch Unit
Mini Scratch UnitMini Scratch Unit
Mini Scratch Unit
 
Computer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsComputer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessons
 
Introduction to Scratch Programming
Introduction to Scratch ProgrammingIntroduction to Scratch Programming
Introduction to Scratch Programming
 
Tic tac toe on c++ project
Tic tac toe on c++ projectTic tac toe on c++ project
Tic tac toe on c++ project
 
Typical configuration of computer ppt
Typical configuration of computer  pptTypical configuration of computer  ppt
Typical configuration of computer ppt
 
Scratch Lesson 1
Scratch Lesson 1Scratch Lesson 1
Scratch Lesson 1
 
Snake project report
Snake project reportSnake project report
Snake project report
 
Computer Science Class 6
Computer Science Class 6Computer Science Class 6
Computer Science Class 6
 
Number system
Number systemNumber system
Number system
 
Scratchjr 1
Scratchjr 1Scratchjr 1
Scratchjr 1
 
report on snake game
report on snake game report on snake game
report on snake game
 

Viewers also liked

Membuat Games dengan Scratch
Membuat Games dengan ScratchMembuat Games dengan Scratch
Membuat Games dengan ScratchPutri Lestari
 
Games Scratch : The Brown Mission
Games Scratch : The Brown MissionGames Scratch : The Brown Mission
Games Scratch : The Brown MissionPutri Lestari
 
Belajar Pemrograman Scratch Part 1
Belajar Pemrograman Scratch Part 1Belajar Pemrograman Scratch Part 1
Belajar Pemrograman Scratch Part 1Joko Prasetyo
 
The Adventures of Mike, How to Use Scratch 2.0 to Program Your Game
The Adventures of Mike, How to Use Scratch 2.0 to Program Your GameThe Adventures of Mike, How to Use Scratch 2.0 to Program Your Game
The Adventures of Mike, How to Use Scratch 2.0 to Program Your GameUna Tao
 
Scratch In The Classroom
Scratch In The ClassroomScratch In The Classroom
Scratch In The ClassroomJanis Williams
 

Viewers also liked (6)

Membuat Games dengan Scratch
Membuat Games dengan ScratchMembuat Games dengan Scratch
Membuat Games dengan Scratch
 
Games Scratch : The Brown Mission
Games Scratch : The Brown MissionGames Scratch : The Brown Mission
Games Scratch : The Brown Mission
 
Belajar Pemrograman Scratch Part 1
Belajar Pemrograman Scratch Part 1Belajar Pemrograman Scratch Part 1
Belajar Pemrograman Scratch Part 1
 
Stencyl works
Stencyl worksStencyl works
Stencyl works
 
The Adventures of Mike, How to Use Scratch 2.0 to Program Your Game
The Adventures of Mike, How to Use Scratch 2.0 to Program Your GameThe Adventures of Mike, How to Use Scratch 2.0 to Program Your Game
The Adventures of Mike, How to Use Scratch 2.0 to Program Your Game
 
Scratch In The Classroom
Scratch In The ClassroomScratch In The Classroom
Scratch In The Classroom
 

Similar to Make a game in scratch

Gaming business investment team Gary Allan Quirke
Gaming business investment team Gary Allan QuirkeGaming business investment team Gary Allan Quirke
Gaming business investment team Gary Allan QuirkeGary Allan Quirke
 
Scratch Cards All
Scratch Cards AllScratch Cards All
Scratch Cards AllJorge Diaz
 
Scratch Parrot Game
Scratch Parrot GameScratch Parrot Game
Scratch Parrot Gamejenloudun
 
Alice startpartone
Alice startpartoneAlice startpartone
Alice startpartonesumidahilo
 
Alice Start Part One
Alice Start Part OneAlice Start Part One
Alice Start Part OneCraig Perkins
 
Scratch Lesson 1 move with arrow keys
Scratch Lesson 1 move with arrow keysScratch Lesson 1 move with arrow keys
Scratch Lesson 1 move with arrow keysArtfulArtsyAmy
 
scratch-cards-all.pdf
scratch-cards-all.pdfscratch-cards-all.pdf
scratch-cards-all.pdfanascq
 
7.Advanced Scripts in Scratch.pptx
7.Advanced Scripts in Scratch.pptx7.Advanced Scripts in Scratch.pptx
7.Advanced Scripts in Scratch.pptxdipalishewale2
 
Arcade Game Design with Sploder - Library Program
Arcade Game Design with Sploder - Library ProgramArcade Game Design with Sploder - Library Program
Arcade Game Design with Sploder - Library ProgramRino Landa
 

Similar to Make a game in scratch (20)

6. pong
6. pong6. pong
6. pong
 
Gaming Gary Allan Quirke
Gaming Gary Allan QuirkeGaming Gary Allan Quirke
Gaming Gary Allan Quirke
 
Gaming business investment team Gary Allan Quirke
Gaming business investment team Gary Allan QuirkeGaming business investment team Gary Allan Quirke
Gaming business investment team Gary Allan Quirke
 
Scratch Cards All
Scratch Cards AllScratch Cards All
Scratch Cards All
 
Scratch Parrot Game
Scratch Parrot GameScratch Parrot Game
Scratch Parrot Game
 
Alice startpartone
Alice startpartoneAlice startpartone
Alice startpartone
 
Alice Start Part One
Alice Start Part OneAlice Start Part One
Alice Start Part One
 
SEIOke84jc
SEIOke84jcSEIOke84jc
SEIOke84jc
 
Scratch Lesson 1 move with arrow keys
Scratch Lesson 1 move with arrow keysScratch Lesson 1 move with arrow keys
Scratch Lesson 1 move with arrow keys
 
03 whack a-witch!
03 whack a-witch!03 whack a-witch!
03 whack a-witch!
 
Scratch cards-all
Scratch cards-allScratch cards-all
Scratch cards-all
 
Scratch cards-all
Scratch cards-allScratch cards-all
Scratch cards-all
 
scratch-cards-all.pdf
scratch-cards-all.pdfscratch-cards-all.pdf
scratch-cards-all.pdf
 
Arbetsprov spelmanual
Arbetsprov spelmanualArbetsprov spelmanual
Arbetsprov spelmanual
 
Lesson-6-Fruit-Slicer.pptx
Lesson-6-Fruit-Slicer.pptxLesson-6-Fruit-Slicer.pptx
Lesson-6-Fruit-Slicer.pptx
 
7. duck shoot
7. duck shoot7. duck shoot
7. duck shoot
 
7.Advanced Scripts in Scratch.pptx
7.Advanced Scripts in Scratch.pptx7.Advanced Scripts in Scratch.pptx
7.Advanced Scripts in Scratch.pptx
 
Arcade Game Design with Sploder - Library Program
Arcade Game Design with Sploder - Library ProgramArcade Game Design with Sploder - Library Program
Arcade Game Design with Sploder - Library Program
 
Kangaroo tutorial
Kangaroo tutorialKangaroo tutorial
Kangaroo tutorial
 
P4 2. Research
P4 2. ResearchP4 2. Research
P4 2. Research
 

More from ArtfulArtsyAmy

Yes We Can Cesar Chavez and Barack Obama Digital Portrait
Yes We Can Cesar Chavez and Barack Obama Digital PortraitYes We Can Cesar Chavez and Barack Obama Digital Portrait
Yes We Can Cesar Chavez and Barack Obama Digital PortraitArtfulArtsyAmy
 
Hot cold color changing slime
Hot cold color changing slimeHot cold color changing slime
Hot cold color changing slimeArtfulArtsyAmy
 
Islamic Stained Glass Circuit Lampbox Lesson Tutorial
Islamic Stained Glass Circuit Lampbox Lesson TutorialIslamic Stained Glass Circuit Lampbox Lesson Tutorial
Islamic Stained Glass Circuit Lampbox Lesson TutorialArtfulArtsyAmy
 
Islamic stained glass parallel circuit lampbox
Islamic stained glass parallel circuit lampboxIslamic stained glass parallel circuit lampbox
Islamic stained glass parallel circuit lampboxArtfulArtsyAmy
 
Makey Makey Graphite Controller Printable
Makey Makey Graphite Controller PrintableMakey Makey Graphite Controller Printable
Makey Makey Graphite Controller PrintableArtfulArtsyAmy
 
makey makey inspiration images
makey makey inspiration imagesmakey makey inspiration images
makey makey inspiration imagesArtfulArtsyAmy
 
Defining & Identifying Foreground, Middle Ground, & Background
Defining & Identifying Foreground, Middle Ground, & BackgroundDefining & Identifying Foreground, Middle Ground, & Background
Defining & Identifying Foreground, Middle Ground, & BackgroundArtfulArtsyAmy
 
Behavior reflection form teacher and student
Behavior reflection form teacher and studentBehavior reflection form teacher and student
Behavior reflection form teacher and studentArtfulArtsyAmy
 
Pdf of worm lesson links
Pdf of worm lesson linksPdf of worm lesson links
Pdf of worm lesson linksArtfulArtsyAmy
 
Code the stars in scratch
Code the stars in scratchCode the stars in scratch
Code the stars in scratchArtfulArtsyAmy
 
Mondrian Inspired Makey Makey Fraction Game
Mondrian Inspired Makey Makey Fraction GameMondrian Inspired Makey Makey Fraction Game
Mondrian Inspired Makey Makey Fraction GameArtfulArtsyAmy
 
Makey makey fraction game controllers
Makey makey fraction game controllersMakey makey fraction game controllers
Makey makey fraction game controllersArtfulArtsyAmy
 
Yes we can cesar chavez ppt
Yes we can cesar chavez pptYes we can cesar chavez ppt
Yes we can cesar chavez pptArtfulArtsyAmy
 
Handout 6th grade alike buddhist mandalas
Handout 6th grade alike buddhist mandalasHandout 6th grade alike buddhist mandalas
Handout 6th grade alike buddhist mandalasArtfulArtsyAmy
 
Islamic art and stained glass
Islamic art and stained glassIslamic art and stained glass
Islamic art and stained glassArtfulArtsyAmy
 

More from ArtfulArtsyAmy (20)

Yes We Can Cesar Chavez and Barack Obama Digital Portrait
Yes We Can Cesar Chavez and Barack Obama Digital PortraitYes We Can Cesar Chavez and Barack Obama Digital Portrait
Yes We Can Cesar Chavez and Barack Obama Digital Portrait
 
Is it Warm or Cool?
Is it Warm or Cool?Is it Warm or Cool?
Is it Warm or Cool?
 
Hot cold color changing slime
Hot cold color changing slimeHot cold color changing slime
Hot cold color changing slime
 
Islamic Stained Glass Circuit Lampbox Lesson Tutorial
Islamic Stained Glass Circuit Lampbox Lesson TutorialIslamic Stained Glass Circuit Lampbox Lesson Tutorial
Islamic Stained Glass Circuit Lampbox Lesson Tutorial
 
Islamic stained glass parallel circuit lampbox
Islamic stained glass parallel circuit lampboxIslamic stained glass parallel circuit lampbox
Islamic stained glass parallel circuit lampbox
 
Makey Makey Graphite Controller Printable
Makey Makey Graphite Controller PrintableMakey Makey Graphite Controller Printable
Makey Makey Graphite Controller Printable
 
Game Design as a Career
Game Design as a CareerGame Design as a Career
Game Design as a Career
 
makey makey inspiration images
makey makey inspiration imagesmakey makey inspiration images
makey makey inspiration images
 
Defining & Identifying Foreground, Middle Ground, & Background
Defining & Identifying Foreground, Middle Ground, & BackgroundDefining & Identifying Foreground, Middle Ground, & Background
Defining & Identifying Foreground, Middle Ground, & Background
 
Behavior reflection form teacher and student
Behavior reflection form teacher and studentBehavior reflection form teacher and student
Behavior reflection form teacher and student
 
Hibernation animal game
Hibernation animal gameHibernation animal game
Hibernation animal game
 
Vof full project
Vof full projectVof full project
Vof full project
 
Pdf of worm lesson links
Pdf of worm lesson linksPdf of worm lesson links
Pdf of worm lesson links
 
Code the stars in scratch
Code the stars in scratchCode the stars in scratch
Code the stars in scratch
 
Mondrian Inspired Makey Makey Fraction Game
Mondrian Inspired Makey Makey Fraction GameMondrian Inspired Makey Makey Fraction Game
Mondrian Inspired Makey Makey Fraction Game
 
Makey makey fraction game controllers
Makey makey fraction game controllersMakey makey fraction game controllers
Makey makey fraction game controllers
 
Yes we can cesar chavez ppt
Yes we can cesar chavez pptYes we can cesar chavez ppt
Yes we can cesar chavez ppt
 
Handout 6th grade alike buddhist mandalas
Handout 6th grade alike buddhist mandalasHandout 6th grade alike buddhist mandalas
Handout 6th grade alike buddhist mandalas
 
Islamic art and stained glass
Islamic art and stained glassIslamic art and stained glass
Islamic art and stained glass
 
Islamic art patterns
Islamic art patternsIslamic art patterns
Islamic art patterns
 

Recently uploaded

Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 

Recently uploaded (20)

Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 

Make a game in scratch

  • 1. Scratch: Making a simple game. STEP 1 Choose a background and character. Click on stage and Backgrounds tab and either import one of the Scratch backgrounds provided or paint your own. In this example the default Underwater background is used. Delete the cat by right-clicking and selecting “delete”, and either create your own character or import one of the Scratch characters. Feel free to edit the character to make it look like what you want Move the character with arrow keys. Add the following script to move character each time the keys are pressed. The important new block is the ‘Point’ block. Click on the ‘Always face left/right’ or Do not rotate if the character should not flip around when moving.
  • 2. STEP 2 Add a new sprite (the food) for the character to catch/eat. In this example a small yellow circle (a simple gold coin) is created and named ‘food’. Set position of character and food, have food disappear when eaten, have character indicate it ate the food. Set position of food using the xy cordinates. Have it disappear or be eaten when touched by the character. The following script shows how to set the coordinates of the food and have it disappear when the character (yellowfish) touches it. It uses the Hide/Show in the Looks blocks. It also broadcasts a message ‘eaten’ that the fish will use to change or say something when it eats food. Script for the food is as follows Script to add to the yellow fish (YOUR MAIN CHARACTER) along with the arrow keys movement scripts is
  • 3. STEP 3 Each time the game is played (the green flag is clicked) the food is always in the same place. Instead of picking the x,y coordinates, let the computer pick it randomly, by using random numbers. See updated script for food. In this it also hides and reappears after waiting second at a different place. Use the broadcast message (food is eaten) to change the fish, example below shows fish getting bigger, and changing color. In this case it is necessary to reset the fish to original. See below on changing fish on broadcast and resetting on green flag.
  • 4. STEP 4 Create a new sprite; and ENEMY sprite! Use scripts similar to that of food to create an enemy, example the shark. After the shark waits and touches the fish, it can broadcast a message to tell that the game is over. The Game Over sprite can then listen for this message and show itself and stop the game. In this example, the Shark also moves slowly around forever in the tank, starting by pointing at a random angle and then bouncing off the edges. Create a sprite called GameOver and set it to stop the game when the Shark touches the fish, and the broadcast message is received. In this example, the Game is also over if time runs out using the wait as a timer.
  • 5. STEP 5 OPTIONAL!!! If there is a definite way to win the game, example catching all the food (in this example the count of food is 4), then another sprite called YouWin can be used as follows. In order to count the food caught, create a variable called count and use it as follows in the YouWin sprite. STEP 6 Now, you want to publish your game to scratch.mit.edu to share and play with others. You can do this from the main scratch screen.l Go to Share, and select “share this project online” Scratch login: cmsdigitalart Password: cmscougars Project Name: You choose something appropriate Project Notes: You can choose to put something appropriate here Click “OK” Wait Click “OK” Open a web browser and go to scratch.mit.edu (no WWW!” Login and you should be able to go and see and play your game. Now you can share the URL of your game with your friends on Tumblr, Facebook, Twitter etc. etc. TUTORIAL FROM: http://www.digitalartforall.com/790/scratch-making-a-simple-game/