Initially, I struggled to find out what was wrong with my codes but then later on, one of my classmates, Palm, made me realised that I accidentally used the wrong block. Instead of using "set pen size to width", I used "change pen size by__" and "change pen shade by __." The first trial made the pen's width expand to it's largest size, making the width adjustment unavailable. The second one cancels the codes that changes the pen color. It took me awhile to figure out what the problem was (I thought it was a bug, haha!)
What I didn't like about this was that I couldn't create a code for "undo" and "redo." The eraser is also just a white pen, which means that the background have to be white in order for this to work well. I wonder if there is a way to code so that the background doesn't have to be white and that there are undo and redo buttons. As an artist, life is definitely easier with those two buttons!
I planned to create a specific color palette some time later with the same codes I've tried today. Anyway, Happy Valentine's Day!! <3 :)
paint.sb2 |