ScratchData LogoScratchData
Back to _nix's profile

Pen pride flag w/ mouse & fade

_N_nix•Created May 29, 2022
Pen pride flag w/ mouse & fade
8
0
40 views
View on Scratch

Description

Thanks to @SS-2 for the remix they made of my original project! They added a fade effect, and I tacked on mouse controls in this 2x remix combobob. I thought about making this a 1s1s project like the olden days but I didn't want to bother storing the flag sprite's position in a variable (so it could go to 0, 0 and make a stamp). None of the rest of my code "remembers" from a variable - it only uses variables to make math easier to understand - and since I thought that was cool, I didn't want to spoil it when using another separate sprite for the effect (like SS-2) works just as well :P The tricky part of this project is leaving a motion trail. If you just move according to (some fraction of) the distance between the sprite and the mouse all in one step, it'll make the flag look really broken up - you have to draw the flag repeatedly while moving to the new position to leave a full trail. Look at the "draw path" custom block to see how I used absolute values and division to do that!

Project Details

Project ID698216958
CreatedMay 29, 2022
Last ModifiedMay 29, 2022
SharedMay 29, 2022
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root