Move the mouse around, use the slider variable to change costumes. Your mouse is basically the source of light. fun new-ish game: https://scratch.mit.edu/projects/375653480/ maybe i can make this actually proper shadows sometime
Just a fun mini-project :D Explanation below, code by me Not sure what this could be used for, it's essentially a parallax script, which looks like this: [forever] | [go to x (mouse x)/90] | [go to y (mouse y)/90] [--------^] You can replace the cat with any sprite and it will still work, as it uses stamping and the brightness effect to create the shadow, not a separate sprite or costume. You can change the number in the code above to modify how far the sprites can move. In this case, the shadow is just a negative version of the number in the actual sprite. Smaller numbers mean that the sprites can move farther. This can be done with more and more layers with varying denominators at different sizes to create a parallax effect. This project actually multiplies the mouse's position by a negative number so the shadow mirrors the original sprite. Example: Layer 1 [forever] | [go to x (mouse x)/90] | [go to y (mouse y)/90] [--------^] Layer 2 [forever] | [go to x (mouse x)/70] | [go to y (mouse y)/70] [--------^] Layer 3 [forever] | [go to x (mouse x)/50] | [go to y (mouse y)/50] [--------^] Maybe that helped someone... who knows. The above code is free to use without credit.