Task 1 – Simple Movement Create a New Script and Drag the from Control



Download 9,09 Mb.
bet5/5
Sana18.07.2022
Hajmi9,09 Mb.
#821460
1   2   3   4   5
Bog'liq
Scratch Tasks Week 9 Term 4

What does the code mean?
When the flag is clicked do the action forever, if the rabbit is not touching the fox then the rabbit will move 10 steps and point towards the fox.
If the Fox is touching the Rabbit the Play a Pop Sound and display the message Gotcha! for 2 seconds
If the sprites hit an edge then bounce.


Task 9 – Adding a Script to the Fox Sprite

  1. Click on the Fox Sprite just under the stage, this will make sure that the script you are about to make is attached to the correct sprite.



  1. Click the Control button and drag the across and place it into the scripts area.



  1. Click the Control button and drag the across and place it underneath.



  1. Click the Motion Button and drag the across and place it within the forever loop.



  1. Click the Sensing Button and drag the across and place it over the 0 like this :-



  1. Click the Motion button and drag the across and place it underneath the



  1. Click the Sensing button and drag the across and place it over the 0 like this:-




  1. Click the Motion button and drag the across and place it underneath the end script should look like this:-

9. Click on the Green Flag and test your program.


10. Save your work as Chase Me.

Save your Work

You have finished this booklet you will have to ask for the Track Game Worksheet.

Mr. Nouman/ Mr. Akmal

Download 9,09 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish