Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Color Touching Color not working?
- ERGGames
-
2 posts
Color Touching Color not working?
So I'm making a project. What I have in mind is that white blocks try to smash the blue dot, and when they do, it changes to a backdrop that says “You Lose”. But when I try to use the block, I put in "If is touching Then" (at the bottom, I put the backdrop) and it doesn't work!!! I need help!!!
- Scratch_Mapping
-
100+ posts
Color Touching Color not working?
I'll put this in Scratchblocks for you, to make the script easier to read:
- ERGGames
-
2 posts
Color Touching Color not working?
But the white blocks aren't a sprite.
- Hasanmajid10
-
100+ posts
Color Touching Color not working?
Whats your project link?
I might be able to help…
I might be able to help…
- deck26
-
1000+ posts
Color Touching Color not working?
Do you realise that when using the ‘colour touching colour’ block the first colour has to be part of the sprite running the script and the second part of something else?
- asivi
-
1000+ posts
Color Touching Color not working?
What I have in mind is that white blocks try to smash the blue dotI would like to see your project, please share it. So I'm making a project.But the white blocks aren't a sprite., and when they do, it changes to a backdrop that says “You Lose”. But when I try to use the block, I put in "If is touching Then" (at the bottom, I put the backdrop) and it doesn't work!!! I need help!!!
Last edited by asivi (Dec. 10, 2016 18:45:31)
- RedTerraria
-
48 posts
Color Touching Color not working?
You're going to have to make make the white and blue dots a sprite.
Put this in the white dot:
Put this in the blue dot:
Put this in the white dot:
Make the blue white, then make the orange blue.
Put this in the blue dot:
- ni2023
-
6 posts
Color Touching Color not working?
I have a problem with the same block.
I have a moon lander that when the gold landing legs touch the white moon, it broadcasts a message and hides, and when the gray body touches the white moon, it broadcasts a different message and hides, but nothing's happening. My blocks are: (with the wrong colors of course)
I have a moon lander that when the gold landing legs touch the white moon, it broadcasts a message and hides, and when the gray body touches the white moon, it broadcasts a different message and hides, but nothing's happening. My blocks are: (with the wrong colors of course)
Last edited by ni2023 (May 3, 2017 22:15:36)
- ni2023
-
6 posts
Color Touching Color not working?
The lander is a sprite, the moon is part of the backdrop
- cs65641
-
6 posts
Color Touching Color not working?
Hello! I really need help on this scratch project: https://scratch.mit.edu/projects/156547628/ !!
Something that I need help with is the coding because I am trying to get the cat spite to change the backdrop to the mall when it is in backdrop 1. When it gets to the backdrop “mall” the cat should be able to touch the door and exit backdrop “mall” to backdrop 1. Please, I really need help! Thank you!!
Something that I need help with is the coding because I am trying to get the cat spite to change the backdrop to the mall when it is in backdrop 1. When it gets to the backdrop “mall” the cat should be able to touch the door and exit backdrop “mall” to backdrop 1. Please, I really need help! Thank you!!
- ni2023
-
6 posts
Color Touching Color not working?
Sorry I forgot to implement the first bit of my comment. The color touching color is not working for me either, I have this code that does not work. It is of a moon lander that when the gold landing legs touch the moon in the background it does one thing but then when the lander body touches it does another. (this has the wrong colors)
Last edited by ni2023 (May 4, 2017 00:03:23)
- ni2023
-
6 posts
Color Touching Color not working?
Also cs65641, for the cat's program, just put a forever block around
so it looks like
- ni2023
-
6 posts
Color Touching Color not working?
I had another thing before my first post but it keeps deleting and I don't know why.
It said that basically I had a lander and a backdrop with a moon and whenever the gray part of the lander touches the white moon something is supposed to happen and when the gold part touches the white moon some thing else but nothing happens.
It said that basically I had a lander and a backdrop with a moon and whenever the gray part of the lander touches the white moon something is supposed to happen and when the gold part touches the white moon some thing else but nothing happens.
Last edited by ni2023 (May 4, 2017 00:16:16)
- pokerwoka
-
2 posts
Color Touching Color not working?
If
touching
Blue
?
then
switch
backdrop
to
You Lose
touching
Blue
?
then
switch
backdrop
to
You Lose
- Discussion Forums
- » Help with Scripts
-
» Color Touching Color not working?