Discuss Scratch

Kevinbestkiller
Scratcher
21 posts

How to make a sprite fade in?

i know how to make a sprite fade out but i do not know how to make it fade in! Any help?

Fade out:
whenclickedgotox:xpositiony:ypositionglide3secstox:0y:0resettimerrepeatuntiltimer> 1set ghosteffectto5

Fade in: ?
MrVanderzee
Scratcher
19 posts

How to make a sprite fade in?

Change the ghost effect to a negative number.
ProjectMaker59
Scratcher
500+ posts

How to make a sprite fade in?

Try this
setghosteffectto100repeat10changeghosteffectby10
I hope it helps
or…
definefadeinforTimesecssetTimetodayssince2000*86400+secondsrepeatuntildayssince2000*86400>TimesetghosteffecttoTime-dayssince2000*86400/seconds*100

Last edited by ProjectMaker59 (May 31, 2016 17:57:50)

asivi
Scratcher
1000+ posts

How to make a sprite fade in?

ProjectMaker59 wrote:

Try this
setghosteffectto100repeat10changeghosteffectby10
I hope it helps
or…
definefadeinforTimesecssetTimetodayssince2000*86400+secondsrepeatuntildayssince2000*86400>TimesetghosteffecttoTime-dayssince2000*86400/seconds*100
Have you tested those?
ProjectMaker59
Scratcher
500+ posts

How to make a sprite fade in?

asivi wrote:

ProjectMaker59 wrote:

Try this
setghosteffectto100repeat10changeghosteffectby10
I hope it helps
or…
definefadeinforTimesecssetTimetodayssince2000*86400+secondsrepeatuntildayssince2000*86400>TimesetghosteffecttoTime-dayssince2000*86400/seconds*100
Have you tested those?
Yep I did
asivi
Scratcher
1000+ posts

How to make a sprite fade in?

ProjectMaker59 wrote:

asivi wrote:

ProjectMaker59 wrote:

Try this
setghosteffectto100repeat10changeghosteffectby10
I hope it helps
or…
definefadeinforTimesecssetTimetodayssince2000*86400+secondsrepeatuntildayssince2000*86400>TimesetghosteffecttoTime-dayssince2000*86400/seconds*100
Have you tested those?
Yep I did
Pls, don't try to get confused new scratchers.
ProjectMaker59
Scratcher
500+ posts

How to make a sprite fade in?

asivi wrote:

ProjectMaker59 wrote:

asivi wrote:

ProjectMaker59 wrote:

Try this
setghosteffectto100repeat10changeghosteffectby10
I hope it helps
or…
definefadeinforTimesecssetTimetodayssince2000*86400+secondsrepeatuntildayssince2000*86400>TimesetghosteffecttoTime-dayssince2000*86400/seconds*100
Have you tested those?
Yep I did
Pls, don't try to get confused new scratchers.
ok
Kevinbestkiller
Scratcher
21 posts

How to make a sprite fade in?

MrVanderzee wrote:

Change the ghost effect to a negative number.
sorry that didnt work
Kevinbestkiller
Scratcher
21 posts

How to make a sprite fade in?

ProjectMaker59 wrote:

asivi wrote:

ProjectMaker59 wrote:

asivi wrote:

ProjectMaker59 wrote:

Try this
setghosteffectto100repeat10changeghosteffectby10
I hope it helps
or…
definefadeinforTimesecssetTimetodayssince2000*86400+secondsrepeatuntildayssince2000*86400>TimesetghosteffecttoTime-dayssince2000*86400/seconds*100
Have you tested those?
Yep I did
Pls, don't try to get confused new scratchers.
ok
the bottom one i got confused and the top one didnt work!
ProjectMaker59
Scratcher
500+ posts

How to make a sprite fade in?

Kevinbestkiller wrote:

ProjectMaker59 wrote:

asivi wrote:

ProjectMaker59 wrote:

asivi wrote:

ProjectMaker59 wrote:

Try this
setghosteffectto100repeat10changeghosteffectby10
I hope it helps
or…
definefadeinforsecondssecs I noticed the problemssetTimetodayssince2000*86400+secondsrepeatuntildayssince2000*86400>TimesetghosteffecttoTime-dayssince2000*86400/seconds*100
Have you tested those?
Yep I did
-Snip (I noticed the problems)-
ok
the bottom one i got confused and the top one didnt work!
hmm…
seconds means put how many seconds
Still confused?

MrVanderzee wrote:

Change the ghost effect to a negative number.
(This might not work)
Sorry, I'll stop posting here

Last edited by ProjectMaker59 (May 31, 2016 19:25:26)

Kevinbestkiller
Scratcher
21 posts

How to make a sprite fade in?

ProjectMaker59 wrote:

Kevinbestkiller wrote:

ProjectMaker59 wrote:

asivi wrote:

ProjectMaker59 wrote:

asivi wrote:

ProjectMaker59 wrote:

Try this
setghosteffectto100repeat10changeghosteffectby10
I hope it helps
or…
definefadeinforsecondssecs I noticed the problemssetTimetodayssince2000*86400+secondsrepeatuntildayssince2000*86400>TimesetghosteffecttoTime-dayssince2000*86400/seconds*100
Have you tested those?
Yep I did
Pls, don't try to get confused new scratchers.
ok
the bottom one i got confused and the top one didnt work!
hmm…
Time means put how many seconds
Still confused?

MrVanderzee wrote:

Change the ghost effect to a negative number.
(This might not work)
Sorry, I'll stop posting here
yup
camster199
Scratcher
24 posts

How to make a sprite fade in?

whenIreceiveblahcleargraphiceffectsrepeat20changeghosteffectby5hidecleargraphiceffects
camster199
Scratcher
24 posts

How to make a sprite fade in?

sorry,
changeghosteffectby-5
boogieboogie32
Scratcher
99 posts

How to make a sprite fade in?

whenclickedrepeat50changeghosteffectby2

this should work!
boogieboogie32
Scratcher
99 posts

How to make a sprite fade in?

camster199 wrote:

whenIreceiveblahcleargraphiceffectsrepeat20changeghosteffectby5hidecleargraphiceffects

this is better
boogieboogie32
Scratcher
99 posts

How to make a sprite fade in?

boogieboogie32 wrote:

camster199 wrote:

whenIreceiveblahcleargraphiceffectsrepeat20changeghosteffectby5hidecleargraphiceffects

this is better

when I receive
clear graphic effects

repeat (20)
change effect by (-5)
end
hide
clear graphic effects
cheesecakewolf64
Scratcher
1 post

How to make a sprite fade in?

ProjectMaker59 wrote:

Try this
setghosteffectto100repeat10changeghosteffectby10
I hope it helps
or…
definefadeinforTimesecssetTimetodayssince2000*86400+secondsrepeatuntildayssince2000*86400>TimesetghosteffecttoTime-dayssince2000*86400/seconds*100

Instead of changing ghost effect by 10, change it by -10 to get it to fade in.

Ghost effect at 100 means that the sprite is 100% a ghost; invisible. By subtracting 10, 10 times means you're gradually fading the sprite in so that you can see it again.
CodingCorps
Scratcher
28 posts

How to make a sprite fade in?

Everyone was very unclear so I put this in a very simple format for the thread creator to understand the other responses were great but a little complicated!

Kevinbestkiller wrote:

i know how to make a sprite fade out but i do not know how to make it fade in! Any help?

Fade out:
whenclickedgotox:xpositiony:ypositionglide3secstox:0y:0resettimerrepeatuntiltimer> 1setghosteffectto5

Fade in: ?
whenclickedgotox:xpositiony:ypositionglide3secstox:0y:0resettimersetghosteffectto100repeat100changeghosteffectby-1
This should work you may have to add a
wait.01secs
to get it to fade smoothly and you can always change the numbers to help it fit your needs.

Hope This Helps!
-Coding Corps

Last edited by CodingCorps (Oct. 17, 2019 13:52:53)

Firepaw0321
Scratcher
5 posts

How to make a sprite fade in?

ProjectMaker59 wrote:

Try this
setghosteffectto100repeat10changeghosteffectby10
I hope it helps
or…
definefadeinforTimesecssetTimetodayssince2000*86400+secondsrepeatuntildayssince2000*86400>TimesetghosteffecttoTime-dayssince2000*86400/seconds*100
this helped thanks!!
Welldieman
Scratcher
4 posts

How to make a sprite fade in?

wait what??????

Powered by DjangoBB