Discuss Scratch

Oxygen485
Scratcher
14 posts

When touching a color, shows false

I tried to make a 4th maze in my game. (I used a tutorial for this game) and it shows me false when the player is touching white. link: https://scratch.mit.edu/projects/812160992

here is the code.
deck26
Scratcher
1000+ posts

When touching a color, shows false

Chances are you haven't matched the colour exactly. Have you perhaps applied some graphic effect that might change it? I had a quick look but couldn't tell where the colour was supposed to be for me to test it.
sentientt
Scratcher
58 posts

When touching a color, shows false

use
<color [#dfd748] is touching [#6bcd9c] ?>
instead, its a lifesaver and it should work, if not then ask someone else with more experience
Terry_Epic_Boi
Scratcher
13 posts

When touching a color, shows false

sentientt wrote:

use
<color [#dfd748] is touching [#6bcd9c] ?>
instead, its a lifesaver and it should work, if not then ask someone else with more experience

if that doesn't work i would use a sprite touching block
Oxygen485
Scratcher
14 posts

When touching a color, shows false

Terry_Epic_Boi wrote:

sentientt wrote:

use
<color [#dfd748] is touching [#6bcd9c] ?>
instead, its a lifesaver and it should work, if not then ask someone else with more experience

if that doesn't work i would use a sprite touching block
Didn't work, need more help
Oxygen485
Scratcher
14 posts

When touching a color, shows false

deck26 wrote:

Chances are you haven't matched the colour exactly. Have you perhaps applied some graphic effect that might change it? I had a quick look but couldn't tell where the colour was supposed to be for me to test it.
The exit colors are in level2, you just need to look around. And for the graphic effects, I found that it may be the sprite “Darkness”. But when hiding it, the maze goes to the first mase instead of the forth
Spentine
Scratcher
1000+ posts

When touching a color, shows false

It looks like it works now, I just tested it.
Oxygen485
Scratcher
14 posts

When touching a color, shows false

Spentine wrote:

It looks like it works now, I just tested it.
how? when I tested it maze 3 cannot be exited.

Powered by DjangoBB