Institute of Computer Science
  1. Main page
  2. Scratchi materjalid
ET
Log in

Scratchi materjalid

  • Sissejuhatus
  • 1. Spraidi välimus
  • 2. Joonistamine I
  • 3. Joonistamine II
  • 4. Liikumine ja andurid I
  • 5. Liikumine ja andurid II
  • 6. Heli ja graafika
  • 7. Muutujad I
  • 8. Muutujad II
  • 9. Muutujate edastamine I
  • 10. Muutujate edastamine II
  • 11. Küsitluse loomine
  • 12. Alamprogramm
  • 13. Mängude näited
  • 14. Esitluse loomine
  • Scratchi näited

9. Muutujate edastamine I

Video 1

Eesmärk:

  • oskad teha projekti, milles 1 tegelane läheb teise juurde ja teine teatab "Tantsime!" ning kõik tegelased hakkad muusika saatel tantsima.

https://www.youtube.com/watch?v=BJtSUMw1w5Q

Ülesanne 1

Koosta projekt, milles vähemalt kaks tegelast hakkavad kohtudes tantsima muusika saatel.

Video 2

Eesmärk:

  • Oskad teha projekti, kus

joonistatud tegelase juurde minnes tegelane hüüab "Hüppame!" ja kõik tegelased hüppavad lõputult;

  • teatud tegevuse jaoks muutub taust;
  • rohelist lippu vajutades taastub esialgne taust.

https://www.youtube.com/watch?v=9u7VJw9ML8g

Ülesanne 2

Tee koopia ülesandest 1.
  • Lisa juurde veel üks tegelane ning uus tegevus (näiteks hüppamine).
  • Tee teatud tegevuse jaoks uus taust.
  • Lisa võimalus, et rohelist lippu vajutades taastub esialgne taust.

Proffidele

Tantsitakse lõputult. Kui "s" vajutatakse, siis tantsimine lõppeb.


Creative Commons litsentsiga Autorile viitamine + Mitteäriline eesmärk 3.0 Eesti (CC BY-NC 3.0 EE) - https://creativecommons.org/licenses/by-nc/3.0/ee/

  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment