Drawing on top of sprites

by 10goto10
See Code Download Embed
Demo of drawing on top of the sprites.  You may need to click the green flag twice to correct starting issues.

I wrote this to support the suggestion of setting the pen layer to either the front or the back.

I made a set of pen commands that mimic the motion and pen commands which can be used to draw on top of sprites.  

The usual workarounds of using clones or having a system of redrawing everything in on the screen in each frame does not always work well in a project.  So having pen commands that could draw on the front layer would be very helpful.   

My custom blocks are just front ends to the SciSnap blocks.

I used some of the tree drawing logic from this project. https://snap.berkeley.edu/project?username=manuelv24&projectname=tree

The tadpole script is a modified version of this Scratch project, Tadpole (pen) /おたまじゃくし by Ceratophrys https://scratch.mit.edu/projects/779412450/

Created March 29, 2023

Last updated April 1, 2023

Published April 1, 2023