Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Pen trail fade away
- pumpking02
-
15 posts
Pen trail fade away
I'm trying to make a Tron-esque game with light trails that fade away after a while. Is there a way to make a pen trail that fades off of screen after about 3 seconds?
- jokebookservice1
-
1000+ posts
Pen trail fade away
If it is made with the pen blocks, you would need to clear, and redraw slightly lighter, until it disappears.
- nickydroids
-
100+ posts
Pen trail fade away
have an object at X 0 Y 0 which has the same costume as the background. then give it this script
this should work
- footsocktoe
-
1000+ posts
Pen trail fade away
I'm trying to make a Tron-esque game with light trails that fade away after a while. Is there a way to make a pen trail that fades off of screen after about 3 seconds?
Yes. Make the sprite that contains the pen be the size of the pen and the color of the pen. When the pen draws, make the sprite clone itself after every move. You will have to draw in small moves, no big moves.
Under the “when I start as a clone hat block” put this…
Last edited by footsocktoe (May 12, 2016 02:30:03)
- Studio42
-
500+ posts
Pen trail fade away
I made a game with a trail that fades away, it uses clones:
https://scratch.mit.edu/projects/105680204/
Basically the clones fade away after a certain time. Look inside to see the code I used.
https://scratch.mit.edu/projects/105680204/
Basically the clones fade away after a certain time. Look inside to see the code I used.
- drmcw
-
1000+ posts
Pen trail fade away
nickydroids answer is the only way to fade pen without having to do a complete redraw. You can see it working here https://scratch.mit.edu/projects/15033002/
- pumpking02
-
15 posts
Pen trail fade away
Thanks so much for the feedback, I edited nickydroids' and footsocktoe's ideas to make a new block, but I am having trouble making the cycles explode when they touch the pen. I have tried the
The costumes being the explosions
The costumes being the explosions
- UltrabyteDev
-
1 post
Pen trail fade away
How do you put a fade trail on a “Clone” instead of the sprite itself, trying to figure this out right now.
i want to have a trail for a bullet and i want it to have a trail on each individual bullet, so i have the clone bullet create a clone of the trail, but when i do:
i want to have a trail for a bullet and i want it to have a trail on each individual bullet, so i have the clone bullet create a clone of the trail, but when i do:
It goes to the MAIN bullet sprite and not the clone, how do I do this? I would like some help.
- deck26
-
1000+ posts
Pen trail fade away
Please create your own new topic rather than posting on an old one like this. How do you put a fade trail on a “Clone” instead of the sprite itself, trying to figure this out right now.
i want to have a trail for a bullet and i want it to have a trail on each individual bullet, so i have the clone bullet create a clone of the trail, but when i do:It goes to the MAIN bullet sprite and not the clone, how do I do this? I would like some help.
Your best bet might be to make trail a clone of the bullet as well so when you create a clone and give it the trail costume it is in the same place as the clone which created it.
https://scratch.mit.edu/projects/111228685/ may help.
- kittycat123684
-
4 posts
Pen trail fade away
Ok guys thanks
Last edited by kittycat123684 (Feb. 22, 2020 05:10:37)
- cookiecat3210
-
2 posts
Pen trail fade away
My browser / operating system: MacOS Macintosh X 10.11.6, Chrome 101.0.4951.54, No Flash version detected
- cookiecat3210
-
2 posts
Pen trail fade away
HEY HOW DO YOU MAKE PART OF A PEN TRAIL GO AWAY BUT THE OTHER PARTS STAYS HEEEEEEELPPPPPPPPPP
- Race__car__billy
-
2 posts
Pen trail fade away
do this
Last edited by Race__car__billy (Oct. 18, 2022 17:47:32)
- Discussion Forums
- » Help with Scripts
-
» Pen trail fade away