Project ROBBOKit Trembling

From scratchduino
(Difference between revisions)
Jump to: navigation, search
(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:Nbadp Link to author page (Nikolay Bortnikov) ] ...")
 
 
Line 7: Line 7:
  
 
==Description of the project==
 
==Description of the project==
 
+
Let's write a program that will change the vertical coordinate of the sprite depending on the readings of the light sensor. You can take a standard sprite from the library and fill it with orange. Let our sensor be influenced by something. Let's write a program that will change the background when the indicator is below a certain level. Let's call this level horizon. You can take the background from the library. It turns out a change of day and night. Let's make it better to see when the background changes, we'll make the horizon indicator. To do this, we replace the number in our condition with a new variable. Let's call it, for example, "horizon". We'll take another sprite and change its vertical coordinate according to the level of the horizon. You can make a new sprite or copy our wand and fill it with another color.
  
 
[https://youtu.be/rlrLrTTBaCY Video of the finished project]
 
[https://youtu.be/rlrLrTTBaCY Video of the finished project]

Latest revision as of 07:26, 24 May 2018

Contents


[edit] Link to author's page

Link to author page (Nikolay Bortnikov)

[edit] Description of the project

Let's write a program that will change the vertical coordinate of the sprite depending on the readings of the light sensor. You can take a standard sprite from the library and fill it with orange. Let our sensor be influenced by something. Let's write a program that will change the background when the indicator is below a certain level. Let's call this level horizon. You can take the background from the library. It turns out a change of day and night. Let's make it better to see when the background changes, we'll make the horizon indicator. To do this, we replace the number in our condition with a new variable. Let's call it, for example, "horizon". We'll take another sprite and change its vertical coordinate according to the level of the horizon. You can make a new sprite or copy our wand and fill it with another color.

Video of the finished project

[edit] Download links

Active link to download the file in sb format

Personal tools
Namespaces

Variants
Actions
Navigation
Tools
Print/export