Octostudio: The activation of the behavior of sprite

in #hive-169321last year

In the previous post, we cover a quick introduction to using Octostudio.

This post will focus on the different ways we can activate some app behavior.

9D82125F-9F67-4EFC-9E14-FA4A48D8844F_4_5005_c.jpeg

Suppose we have the smilie face as the sprite and the background is a blank white screen, we can continue the learning...

Basically, the setting above shows that the sprite (the smilie face) is going to be programmed.

These are the different ways to activate the behavior of sprite. Let's go through them...

BlockExplanation
When the green button is clickedWhat follows after the green button is clicked
When I shakeWhat follows after the phone is shaked
When backdrop switches to a certain colorWhat follows after background changes to a certain color
When magnetIf the device has a magnetometer, when a magnet is detected, this follows...
When I tapWhat follows after the sprite (smilie face) is clicked
When touches edgeWhat follows when the sprite reaches the end of screen
When sprite touches somethingWhat follows when the sprite (smilie face) touches another sprite

This is important concept that will allow one to learn how to get the sprite activated.

Sort:  

this is something like app inventor but simpler

Yeah!

I have some experience with App Inventor, may try this one to check it out
Thanks for point it out