Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » Color Problems
- MelonInc
- Scratcher
100+ posts
Color Problems
I have at least two problems with the Flash player and/or Scratch 2.0. Both involve color:
In this project, I have a system that plays music based on which color you drag in. I programed it so that when click on a block, it becomes slightly transparent so you can see what is under it and how much of a different color you are covering. The problem is that when you release it, it doesn't return fully to its original color. This I know must be a glitch with the Flash player because it used to work on the Java player, and when you download the project. When it doesn't return to normal, the red playhead can't sense it, making it so you can't hear anything. If anyone has a suggestion to fix it, that's great because I can't figure it out.
Next, I have a Tron project that draws a line behind the “bike” (as it should). This time, the pen changes the shade of the color whenever the bike turns. Sometimes it is a thin, dark line, which is what it needs to be for the sensors to detect it. Other times it is a thicker, light line that appears to be dotted and transparent, which the sensors can't detect and just go right through it. Again, this project worked fine in the old Java player and offline. As far as I'm concerned, this problem can't be fixed by some reprogramming.
If these are duplicate reports, I'm really sorry, I didn't have very much time to go out and check.
Note: I tried Safari and Chrome and neither work.
In this project, I have a system that plays music based on which color you drag in. I programed it so that when click on a block, it becomes slightly transparent so you can see what is under it and how much of a different color you are covering. The problem is that when you release it, it doesn't return fully to its original color. This I know must be a glitch with the Flash player because it used to work on the Java player, and when you download the project. When it doesn't return to normal, the red playhead can't sense it, making it so you can't hear anything. If anyone has a suggestion to fix it, that's great because I can't figure it out.
Next, I have a Tron project that draws a line behind the “bike” (as it should). This time, the pen changes the shade of the color whenever the bike turns. Sometimes it is a thin, dark line, which is what it needs to be for the sensors to detect it. Other times it is a thicker, light line that appears to be dotted and transparent, which the sensors can't detect and just go right through it. Again, this project worked fine in the old Java player and offline. As far as I'm concerned, this problem can't be fixed by some reprogramming.
If these are duplicate reports, I'm really sorry, I didn't have very much time to go out and check.
Note: I tried Safari and Chrome and neither work.
Last edited by MelonInc (Feb. 9, 2013 03:02:32)
- TimothyLawyer
- Scratcher
1000+ posts
Color Problems
this project, I have a system that plays music based on which color you drag in. I programed it so that when click on a block, it becomes slightly transparent so you can see what is under it and how much of a different color you are covering. The problem is that when you release it, it doesn't return fully to its original color. This I know must be a glitch with the Flash player because it used to work on the Java player, and when you download the project. When it doesn't return to normal, the red playhead can't sense it, making it so you can't hear anything. If anyone has a suggestion to fix it, that's great because I can't figure it out.Try 'set [ghost] effect to (0)' right before the ‘stamp’ block. In
Tron project that draws a line behind the “bike” (as it should). This time, the pen changes the shade of the color whenever the bike turns. Sometimes it is a thin, dark line, which is what it needs to be for the sensors to detect it. Other times it is a thicker, light line that appears to be dotted and transparent, which the sensors can't detect and just go right through it. Again, this project worked fine in the old Java player and offline. As far as I'm concerned, this problem can't be fixed by some reprogramming.One thing to try may be using the number of the color instead of the dropper. This way you can be sure the color comparison is exact. Next, I have a
Is the change in the trail line part of your code or is this due to the player?
BeetleBlocks, WatercolorBot, and Turtle Art
Hover over a name or label to translate into current language
When Earth was… Purple?
☂️
- MelonInc
- Scratcher
100+ posts
Color Problems
That seems to have worked. Thanks! Try 'set effect to (0)' right before the ‘stamp’ block.
How can I determine the number of the color? Is there a sensor block, or do I just have to guess? One thing to try may be using the number of the color instead of the dropper. This way you can be sure the color comparison is exact.
I believe it is due to the player. Is the change in the trail line part of your code or is this due to the player?
Thanks for your help!
- TimothyLawyer
- Scratcher
1000+ posts
Color Problems
Not sure. Scratchers, does anyone know how to do this? How can I determine the number of the color? Is there a sensor block, or do I just have to guess?
You're welcome! Thanks for your help!
BeetleBlocks, WatercolorBot, and Turtle Art
Hover over a name or label to translate into current language
When Earth was… Purple?
☂️
- Discussion Forums
- » Bugs and Glitches
- » Color Problems