0

I am currently trying to create a guessing game in Scratch that will play a soundtrack from the game Dark Souls, and you will get two choices (doors) of which boss the music is from. I want it to work so that when you move the warrior and touch a certain door (I want the color in the sword to touch the color of the door and then when one of the two happens, it will correspond with a win or defeat sprite) it will tell you whether you chose the right one (win) or the wrong one (defeat). My issue right now is that when the color of the sword touches the doors, nothing happens what-so-ever. How can I fix this?

The scratch site for my program is: https://scratch.mit.edu/projects/71601436/

2
  • You haven't shared your project - no one, except you, can see it. Jul 28, 2015 at 9:14
  • It is now shared if anyone can help.
    – Megan J
    Aug 13, 2015 at 2:26

1 Answer 1

0

I found the answer to this on the Scratch help forums... https://scratch.mit.edu/discuss/topic/142070/?page=1#post-1306392

The color touching script needs to reside with the sprite containing the first color, i.e., the sword color. In a remix, I moved that code to the main character and also placed it in a forever loop so that it would constantly check if they were touching, and I was able to trigger the victory sequence.

This is my test run: https://scratch.mit.edu/projects/88729291/ I also deleted the "wait 60 seconds" script so I could test it out faster.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .