0% found this document useful (0 votes)
57 views6 pages

SCRATCH GAME Guide

The document provides step-by-step instructions for coding a Scratch game where the player controls a character named Tan to shoot targets called Meldy. Tan can move up and down when the up and down arrow keys are pressed. When the space bar is pressed, Tan will shoot a bullet clone. Bullets will move towards Meldy sprites that randomly appear on the screen. If a bullet touches a Meldy, the score will increase by 10 points. The game will end if Meldy touches Tan, at which point a "Try Again Bearcat" message will be broadcast to reset the game.

Uploaded by

Tristan Castillo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views6 pages

SCRATCH GAME Guide

The document provides step-by-step instructions for coding a Scratch game where the player controls a character named Tan to shoot targets called Meldy. Tan can move up and down when the up and down arrow keys are pressed. When the space bar is pressed, Tan will shoot a bullet clone. Bullets will move towards Meldy sprites that randomly appear on the screen. If a bullet touches a Meldy, the score will increase by 10 points. The game will end if Meldy touches Tan, at which point a "Try Again Bearcat" message will be broadcast to reset the game.

Uploaded by

Tristan Castillo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

upload all sprite

create variable

hide variable speed

click tan

click event

drag when clicked

click look

set size to 35 %

click motion

click go to x = -181 y = - 135

click control

click sensing

drag touching

click downward arrow and select meldy

click control

drag if then dalawa, do not overlap

click sensing

drag key space pressed

change space to up arrow

click motion

change y by 10

right click key up arrow pressed , click duplicate

paste to the second if then

change down arrow

duplicate change y by 10 and change it to -10

TRY NATIN

Click the green flag

o gumagalaw na si sir tan up and down

click bullet

click event
drag when flag is clicked

click looks

drag set size to 100%, change to 13

drag hide para nakatago muna

click event

drag when space key pressed

click control

drag create clone of myself ( eto yung bullet)

nasa control tayo

drag when I start as a clone

click motion

drag go to x y, change to x = -160, y = 1

punta tayo sa sensing ( eto mej tricky mga bebes and sadbois)

drag backdrop of stage

change yung stage sa gunner tan

change x position to y position

itabi mo sa y = 1, overlap mo yan bilang y position of gunnertan

click looks

drag show

click control

drag repeat until

go to sensing

drag touching mouse pointer, change to edge

go to motion

drag move 10 steps

go to control

drag delete this clone, ilagay mo sa baba pagkatapos ng harang or else hindi sya
gagana

PUNTA NA TAYO KAY MELDY


Click meldy

go to events

drag when flag clicked

go to looks

drag show

drag set size to 100% change to 40%

click control

drag repeat 10, change to 6 - lalabas anim na aling meldy

drag create clone of myself

click looks

drag hide

dito maraming coding mga bebes and sadbois, itabi ko muna itong ginawa natin dito,

balik tayo sa control

drag when i start as a clone

click motion

drag go to x y , change x to 240, change y to -76 ( dito yan poposisyon sa kanan ng


screen natin mga bebes and sadbois

papalitan natin yang -76 na y,

go to operators

drag pick random 1 to 10, ioverlap mo dun sa existing y, change mo yung pick random
-150 to 150

punta tayo sa variable ayusin natin speed naman

drag set my variable to 0

palitan yung my variable to speed, to 0 change to (go to operator again and drag
pick random change 0 to -2 to -6

click control

drag repeat until


click sensing

drag touching mouse pointer, change to gunner tan

click motion

drag change x by 10 (ilagay mo sa ilalim ng repeat until)

change 10, go to variable then drag speed ipatong mo sa 10 para mapalitan

tapos punta ka sa control

drag if then sa ilalim ng change x by speed

go to operator

drag _ < 50 ipatong mo dun sa loob ng if (shape) then

palitan mo 50 to 220

go to motion drag mo x postion sa loob ng _ sa if < - 220 then

*duplicate mo ngayon yung go to x 240 y pick random -150 to 150

ilagay mo sa ilalim ng if x position < 220 then

go to control

drag another if then, ihilera mo dun sa unang if then, parang syntax coding rin ba
mga bebes and sadboiz

go to sensing

drag touching mouse pointer dun sa tabi ng if na shape, change mouse pointer to
bullet

go to variable, lagyan natin score

drag change my variable by 1 (put under if touching bullet then)

change my variable to score by change from 0 to 10

duplicate mo ulit yung *

ilagay sa ilalim ng change score by 10

click sound choose a sound ( sound icon sa bottom left side ng screen mo tan)

select snare drum

go back to code tab

drag sound snare drum, paste under the last go to x 240 etc

go to event

drag broadcast message1 ( tapat ng repeat until)


change message 1 to TRY AGAIN BEARCAT!!!

Go to Sprite 1

rename to try again bearcat

go to event

drag when flag clicked

go to looks

drag hide

go to event

drag when I receive try again bearcat

click elooks

drag show under when I receive try again bearcat

go to sound

choose a sound again

go to sound choose wobble in wacky

drag play sound wobble until done - under show

click contro

drag stop all paste under play sound wobble until done

sa ibang sprite lalagyan mo ng

GO TO EVENT muna

drag mo sa lahat ng sprite etong code na to

^When I receive try again bearcat

go to control

drag stop all

change stop all, to other scripts in sprite

COPY

[When I receive TRY AGAIN BEARCAT!!!


stop other scripts in sprite]

paste mo sa iba pang sprite

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy