Forsure Yunome said:
I decided to keep our meow from the first tutorial. Took me a minute to realize you could add more 'do's to 'when's
This course will become read-only in the near future. Tell us at community.p2pu.org if that is a problem.
How eady was it to have Hello Purr working on your device??? Really easy, right? So let's try something a bit more invovled: PaintPot!
You can follow this step by step tutorial to get PaintPot on your device.
To finish this task why don't you modify the tutorial and show us what you did by describing the changes and taking a screenshot of your blocks? Use the comments for that.
Some ideas could be changing the background picture with the camera, or adding more colours to the palette.
I changed the tutorial by placing two new buttons to colors and two buttons to change the width of the line.
To create the new color buttons I repeated steps from PaintPot tutorial (part 1) / color buttons, but this time I chose the colors yellow and orange.
To change the line width , I defined a global variable that contains the initial value of the line Width. later, two buttons that add or subtract 1 to this variable.
I put the variable in the event "when DrawingCanvas.Dragged do" "set drawingCanvas.LineWidth" to "global linewidth"