Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Erase pen for clones
- RevampSnake1356
- Scratcher
8 posts
Erase pen for clones
I'm making an engine for the vines in the Photoshop Flowey fight. It involves creating a bunch of clones and launching them towards the player, leaving a pen trail. The trail is then supposed to disappear. I used the
clearblock to delete the trail, but it also deletes the trails of other clones. How do I delete the pen trail for ONE sprite?
Last edited by RevampSnake1356 (Oct. 3, 2024 05:19:15)
- awesome-llama
- Scratcher
1000+ posts
Erase pen for clones
There isn't a way to erase the strokes from just one sprite or clone, there is only one pen layer that everything draws to. Either you would have to draw over the previous stokes to match the background (or whatever was there before the stroke was made) or erase everything and redraw it (which is simpler and more common). It highly depends on what you are doing.
- cookieclickerer33
- Scratcher
1000+ posts
Erase pen for clones
Don’t use pen trails, use clones of clones
Just a silly little girly :3
Deltarune chapter 3 when
- qwelpy49
- Scratcher
6 posts
Erase pen for clones
I would try to add and delete clones. Might not work, but its worth a shot!
create clone of [ v]
when I start as a clone
delete this clone
- Tu2tl3Gamz
- Scratcher
100+ posts
Erase pen for clones
The clear block will clear every pen trail, and i dont know of a work around
BUT, if you use sprite trails instead, it may work better.
I think grifpatch made a video about it lol
ALSO - THIS MY 100th POST!!!!!!
BUT, if you use sprite trails instead, it may work better.
I think grifpatch made a video about it lol
ALSO - THIS MY 100th POST!!!!!!
Last edited by Tu2tl3Gamz (Oct. 4, 2024 03:07:52)
Celebrating 100+ posts on the scratch forums!
Check out my 100th Post
Have I helped you? Check these out! Thanks! :D
- lordbasic
- Scratcher
11 posts
Erase pen for clones
I would say that you should just somehow store the trails with lists, and make a custom block that reads them and put the block in the clones so when you erase all, you just redraw
add [trail] to [trail list v]
when I receive [erase v]
clear
read trail list
define read trail list
Last edited by lordbasic (Oct. 4, 2024 04:05:20)
- Discussion Forums
- » Help with Scripts
- » Erase pen for clones