This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-06-03 20:08:36

Sausagefanclub
Scratcher
Registered: 2011-08-31
Posts: 500+

Add an Afterimage Effect

Maybe in the "Looks" section there could be a type of effect called "afterimage effect". When a sprite has an afterimage effect, it leaves a fading trail of itself when it moves. The higher the effect is set, the longer the trail takes to fade away. I wanted to give the final boss of "Superjetpacker+" an afterimage effect whenever he moved to make him look cooler, but I couldn't see any way to substitute an afterimage effect using other Scratch blocks.
Anyway, afterimage could open up another great variety of things to do with Scratch projects and it can make some games look more appealing.
What do you guys think? Does this seem like a cool idea?

Supporters (List may not be updated often):
Sausagefanclub
BanditRock16

Last edited by Sausagefanclub (2012-06-03 20:44:18)


http://sausagepages1185.weebly.com/uploads/1/4/1/5/14153465/446452.png?525

Offline

 

#2 2012-06-03 20:11:28

BanditRock16
New Scratcher
Registered: 2012-06-03
Posts: 10

Re: Add an Afterimage Effect

Ooh, this is an awesome idea  big_smile  I normall world make a) multiple sprites to do this, or b) add an affect where it stamps faded versions.

This would make games much more simple and easy to program, +1 without a doubt!  big_smile

Offline

 

#3 2012-06-03 20:48:38

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Add an Afterimage Effect

Yes, but it would have to be different then the other

set [color v] effect to [0]
blocks, because you would have to specify how many afterimages appear at once, the distance between them, and how long they appear for.

If you can figure out a way to fix this bug above without doing
set [afterimage v] amount (5) distance (10) duration (7) tenths of a second
then I support (and no rewording).

Last edited by TorbyFork234 (2012-06-03 20:50:23)

Offline

 

#4 2012-06-03 21:04:55

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Add an Afterimage Effect

You can just do that with transparent stamping and clones in 2.0, I think.


Posts: 20000 - Show all posts

Offline

 

#5 2012-06-03 21:23:42

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: Add an Afterimage Effect

veggieman001 wrote:

You can just do that with transparent stamping and clones in 2.0, I think.


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#6 2012-06-04 20:27:45

Sausagefanclub
Scratcher
Registered: 2011-08-31
Posts: 500+

Re: Add an Afterimage Effect

TorbyFork234 wrote:

Yes, but it would have to be different then the other

set [color v] effect to [0]
blocks, because you would have to specify how many afterimages appear at once, the distance between them, and how long they appear for.

If you can figure out a way to fix this bug above without doing
set [afterimage v] amount (5) distance (10) duration (7) tenths of a second
then I support (and no rewording).

What I mean is, when you increase the number the trail lasts longer before it fades completely, thus making the path itself longer. The trail will appear whenever a sprite moves (or maybe even if it changes its costume). It could look like one of the two options:

set afterimage effect to [1] secs
set [afterimage v] effect to [1]
I hope this explanation is clear enough. Afterimage generally isn't too easy to explain anyway.

Last edited by Sausagefanclub (2012-06-04 20:28:23)


http://sausagepages1185.weebly.com/uploads/1/4/1/5/14153465/446452.png?525

Offline

 

#7 2012-06-05 02:41:41

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Add an Afterimage Effect

This will be possible in Scratch 2.0.


http://trinary.tk/images/signature_.php

Offline

 

#8 2012-06-05 03:00:06

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Add an Afterimage Effect

Sausagefanclub wrote:

TorbyFork234 wrote:

Yes, but it would have to be different then the other

set [color v] effect to [0]
blocks, because you would have to specify how many afterimages appear at once, the distance between them, and how long they appear for.

If you can figure out a way to fix this bug above without doing
set [afterimage v] amount (5) distance (10) duration (7) tenths of a second
then I support (and no rewording).

What I mean is, when you increase the number the trail lasts longer before it fades completely, thus making the path itself longer. The trail will appear whenever a sprite moves (or maybe even if it changes its costume). It could look like one of the two options:

set afterimage effect to [1] secs
set [afterimage v] effect to [1]
I hope this explanation is clear enough. Afterimage generally isn't too easy to explain anyway.

Yes, but how many afterimages will there be appearing that trail along? What's the distance between them? And then, as you said, how long do they appear.

Offline

 

#9 2012-06-05 10:52:20

Sausagefanclub
Scratcher
Registered: 2011-08-31
Posts: 500+

Re: Add an Afterimage Effect

TorbyFork234 wrote:

Sausagefanclub wrote:

TorbyFork234 wrote:

Yes, but it would have to be different then the other

set [color v] effect to [0]
blocks, because you would have to specify how many afterimages appear at once, the distance between them, and how long they appear for.

If you can figure out a way to fix this bug above without doing
set [afterimage v] amount (5) distance (10) duration (7) tenths of a second
then I support (and no rewording).

What I mean is, when you increase the number the trail lasts longer before it fades completely, thus making the path itself longer. The trail will appear whenever a sprite moves (or maybe even if it changes its costume). It could look like one of the two options:

set afterimage effect to [1] secs
set [afterimage v] effect to [1]
I hope this explanation is clear enough. Afterimage generally isn't too easy to explain anyway.

Yes, but how many afterimages will there be appearing that trail along? What's the distance between them? And then, as you said, how long do they appear.

Oh, I didn't think about that.  hmm
I don't know how the distance would be controlled, but the amount of seconds it would take for the front of the path to finally fade away would be defined by the number input in the block. For example:

set [afterimage v] effect to (3)
would mean that what is currently the front of the trail emitting from the sprite will become the back of the trail 3 seconds later.
Although I don't know how the distance between each part of the path would be controlled without requiring an entire new block. If you can think of a solution to this, can you please tell me here?

Although veggieman could be right; the afterimage may be substituted by cloning and fading. An afterimage effect block would still be convenient, though.


http://sausagepages1185.weebly.com/uploads/1/4/1/5/14153465/446452.png?525

Offline

 

Board footer