Project ROBBOLaboratory The Wizard and the Dragon
(Created page with " __TOC__ ==Link to author's page== [http://wiki.robbo.ru/wiki/%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:Pozdnyakov_Dmitriy Link to author page (Dmitriy Pozdnyakov) ] ...") |
|||
Line 14: | Line 14: | ||
In the end, I bind the backgrounds to variable lives. | In the end, I bind the backgrounds to variable lives. | ||
− | [https Video of the finished project] | + | [https://youtu.be/O1o2TWfGz8M Video of the finished project] |
==Download links== | ==Download links== |
Latest revision as of 13:05, 14 May 2018
Contents |
[edit] Link to author's page
Link to author page (Dmitriy Pozdnyakov)
[edit] Description of the project
Students are invited to the situation: "It is necessary with Scratch and the laboratory to create a game in which the magician fighting the dragon in a magical forest." The project is interesting in that it requires knowledge of working with animation on the screen, and also programming the laboratory. From the very beginning, I write the code for the first sprite (Magician), so that it moves along one axis due to the lever of the laboratory. The second stage, I write the code for the second sprite, so that it moves chaotically along the Y axis, remaining always at one point along the axis. Then I add a sprite, which will be a fireball, and I will write the code for it. The fourth stage, I'm writing code for the Magician's bullet. Realizing that you need to bind the coordinate of the bullet to the co-ordinate of the magician. To count lives, I create global variables. In the end, I bind the backgrounds to variable lives.