Project ROBBOKit Trembling
Contents |
Link to author's page
Link to author page (Nikolay Bortnikov)
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.