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

8. Muutujad II

Video 1

Eesmärk

  • oskad teha mängu, milles teatud punktide arvu saamisel saab järgmisele tasemele
  • oskad teha programmi, millega lisandub uus tegelane taseme vahetusel (menüüst Välimus plokid näita ja peida)
  • oskad kasutada Liikumine menüüst plokki kui äärel, põrka

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

Ülesanne 1

Loo mitmetasemeline mäng, kus taseme vahetusel lisandub tegelasi.

Video 2

Eesmärk

  • oskad kirjutada programmijuppe, millega mängu lõppemisel taastatakse algseaded

https://www.youtube.com/watch?v=TZ4fszRz-Ew

Ülesanne 2

Tee vähemalt 3-tasemeline mäng, kus iga tase läheb keerulisemaks ning mängu lõppedes taastatakse algseaded.

Proffidele

Tee mäng, milles

  • 10 punkti juures küsitakse kasutajalt nime, mis pannakse loendisse (menüüst Andmed vali Tee loend).

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