Scratch - Úvod

  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/handlers/views_handler_argument.inc on line 744.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
  • strict warning: Declaration of views_handler_filter_node_status::operator_form() should be compatible with views_handler_filter::operator_form(&$form, &$form_state) in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/modules/node/views_handler_filter_node_status.inc on line 13.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Declaration of views_handler_field_user::init() should be compatible with views_handler_field::init(&$view, $options) in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/modules/user/views_handler_field_user.inc on line 47.
  • strict warning: Declaration of views_handler_field_node_new_comments::pre_render() should be compatible with views_handler_field::pre_render($values) in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/modules/comment/views_handler_field_node_new_comments.inc on line 100.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 159.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/views/views.module on line 906.
  • strict warning: Declaration of date_handler_field_multiple::pre_render() should be compatible with content_handler_field_multiple::pre_render($values) in /var/www/virtual/mrazovci.eu/htdocs/sites/all/modules/date/date/date_handler_field_multiple.inc on line 185.
Verzia pre tlačSend by emailPDF verzia

Scratch je nový programovací jazyk, v ktorom sa dajú jednoducho vytvárať interaktívne príbehy, hry a animácie, a ktorý umožňuje zdielať naše výtvory na webe.

Táto referenčná príručka poskytuje prehľad o softvéri Scratch. Ak Scratch ešte nepoznáme, mali by sme si najskôr preštudovať príručku Scratch – Príručka pre začiatočníkov. Ak po jej preštudovaní budeme potrebovať viac informácií, môžeme sa vrátiť k tejto referenčnej príručke.

Na webovej stránke projektu Scratch sa nachádza mnoho ďalších zdrojov (v anglickom jazyku), ktoré nám pri učení programovacieho jazyka Scratch pomôžu: Videonávody, karty Scratch a časté otázky. Stránku nájdeme na adrese http://info.scratch.mit.edu/Support/

Táto príručka je určená pre programovací jazyk Scratch verzie 1.4, vydaný v júni 2009. Poslednú verziu príručky nájdete (v anglickom jazyku) na stránke: http://info.scratch.mit.edu/Support/

Scratch je vyvinutý skupinou Lifelong Kindergarten Group z laboratórii MIT Media Lab s finančnou spoluúčasťou spoločností National Science Foundation, Microsoft, Intel Foundation, Nokia, a výskumného konzorcia MIT Media Lab.

Základné ingrediencie projektu Scratch

Projekty v jazyku Scratch sú tvorené objektami, ktoré nazývame postavy. To ako budú postavy vyzerať, môžeme zmeniť tak, že im dáme rôzne kostýmy. Postava môže vyzerať ako človek, vlak, motýľ alebo čokoľvek iné. Ako kostým sa dá použiť ľubovoľný obrázok: obrázok môžeme nakresli v kresliacom programe, importovať ho z pevného disku alebo ho potiahnuť do programu z webovej stránky.

Postave môžeme dať inštrukcie aby sa hýbala, prehrávala hudbu alebo reagovala na iné postavy. Keď chceme postave povedať čo má robiť, urobíme to pridaním grafických blokov do zásobníkov, ktoré voláme scenáre. Keď klikneme na scenár, Scratch spustí jednotlivé bloky scenára zhora dole.