Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Ghost Effect
- Gnome_Pal
-
Scratcher
64 posts
Ghost Effect
So yeah i'm making a project with a custom block like this
Fade In :: customAnd its supposed to do this
define Fade InBut i'm wondering if u can actually make it fade in with the hide block like this
repeat (18)
change [ghost effect v] effect by (-5)
end
when green flag clicked
hide
when this sprite clickedAnd so if u are making your sprite hide when flag is clicked (u saw wut Fade In does) like can u make it fade in even tho u used hide block instead of using the ghost effect block and making it 100?
Fade In :: custom
Last edited by Gnome_Pal (April 7, 2021 23:23:48)
- -ShadowOfTheFuture-
-
Scratcher
1000+ posts
Ghost Effect
Hide makes your sprite invisible regardless of what its ghost effect is. You have to set the ghost effect to 100 and show the sprite if you want it to fade in.
Last edited by -ShadowOfTheFuture- (April 7, 2021 23:31:08)
- Gnome_Pal
-
Scratcher
64 posts
Ghost Effect
Hide makes your sprite invisible regardless of what its ghost effect is. You have to set the ghost effect to 100 and show the sprite if you want it to fade in.Wait so your saying i have to make it invisible with the ghost effect instead of using hide?
So instead of this…
when green flag clickedYour saying i have to do this
hide
when green flag clickedSo that i can do this
set [ghost effect v] effect to (100)
when green flag clicked
Fade In :: custom
Last edited by Gnome_Pal (April 8, 2021 00:21:30)
- -ShadowOfTheFuture-
-
Scratcher
1000+ posts
Ghost Effect
Yeah. If you hide the sprite, it will stay hidden even if its ghost effect gets changed. They're two separate things: ghost effect just makes the sprite transparent, while hide also prevents it from interacting with things like your mouse pointer or other sprites.Hide makes your sprite invisible regardless of what its ghost effect is. You have to set the ghost effect to 100 and show the sprite if you want it to fade in.Wait so your saying i have to make it invisible with the ghost effect instead of using hide?
So instead of this…when green flag clickedYour saying i have to do this
hidewhen green flag clickedSo that i can do this
set [ghost effect v] effect to (100)when green flag clicked
Fade In :: custom
Also, I'd personally suggest moving set ghost effect and fade in into the same script.
when green flag clicked
set [ghost v] effect to (100)
fade in :: custom
- Gnome_Pal
-
Scratcher
64 posts
Ghost Effect
Oh ok, thanks!
when green flag clicked
set [ghost effect v] effect to (100)
Fade In :: custom
say [Thank you!]
- RedWolf7535
-
Scratcher
4 posts
Ghost Effect
Hello, can any of you tell me how to make an <if <ghost effect=?>>
- cool_username_right
-
New Scratcher
51 posts
Ghost Effect
Hello, can any of you tell me how to make an <if <ghost effect=?>>i guess you could like make the equasion for the gost effect a variable or something but i think you should make a new topic to get better answers rather than using someone elses
- RedWolf7535
-
Scratcher
4 posts
Ghost Effect
Ok thanks for telling me! I will tag you in my game for being helpful and giving tips.Hello, can any of you tell me how to make an <if <ghost effect=?>>i guess you could like make the equasion for the gost effect a variable or something but i think you should make a new topic to get better answers rather than using someone elses
- Discussion Forums
- » Help with Scripts
-
» Ghost Effect



