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



Download 9,09 Mb.
bet4/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.


  1. C lick the Control button and drag another across and this time place it underneath the other one like this:-




  1. Click the Sensing button and drag the across and place it on the second if loop, change the value to fox on the drop down menu.



  1. Click the Sound button and drag the across and place it underneath (We will add the sound later).

  2. Click the Looks button and drag the across, change ‘Hello!’ To ‘Gotcha!’

  3. Click the Motion button and drag the across and place it in the forever loop the code should look like this:-




SAVE YOUR WORK NOW
Task 8 – Adding Sound to this Code
You will now import a sound to place in the previous code.

  1. Click on the Sounds Tab and then click on Import.




  1. Double Click on Effects to open the Folder.




  1. Click on Pop from the different sounds available; then click OK.




  1. The Pop sound will appear in the Sounds Tab.




  1. Click on the Scripts Tab and on the within your script select ‘Pop’ from the drop down menu.



  1. The Script for the Rabbit Sprite is now complete and should look like this:-



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