OpenSource For You

Block editor blocks

-

I have already prepared the blocks for you (Figures 3 to 7). All you need to do is to drag the relevant blocks from the left side palette and drop them on the viewer. Arrange the blocks the same way you see them in the image. I will explain what each does and how it is called. 1. The blocks in the figures are easy to understand. The very first block tells us that when the Start button is pressed, it should enable only the clock in the applicatio­n. 2. When the timer is enabled, it will increase the x coordinate of the ball, which will move it towards the right, keeping the y coordinate as it is. Here,‘plus 1’ means that on every cycle of the clock component, it will increase the horizontal position of the ball by one count. 3. When the Fast button is pressed, it

will increase the speed component

Newspapers in English

Newspapers from India