Looking for a little help with feedback

I'm trying to develop a Jeopardy-type game for my wife's community college class. I have done this before, but I'm trying to refine my template. My issue is that I want to give the user feedback from the main game board as to whether they got the answer right or wrong. I have the score up in the corner, but the buttons just become blank and disabled once the user has attempted the question. Ideally I'd like to put a green check mark for correct or a red "x" for incorrect. I have tried variables of various sorts to try and modify the state, but can't seem to find anything that works.

Thanks in advance,

Patrick

Published file: https://googledrive.com/host/0B_9gX9CTMSFJRzgyTVl1ZzZBT0E/

3 Replies
Joseph Flanagan

HI,

Is there any way you could post the source file? It would be easier to see why what you tried doesn't work and to test out ideas for you to see if they work. 

I'm still learning the software, so I tend to do things in the most complicated manner possible  But my initial thought would be to create a true/false variable for each of the squares, set initially to "false" (so you would have forty such variables, one for a correct response and one for a negative response). Then, on the question slide, set a trigger on the object that submits the answer that changes the variable for the square in question from "false" to "true" if the learner selects the correct or incorrect answer (Keep whatever you are using to make the numbers disappear). 

On the main game board, create the positive and negative feedback images (e.g., the green check mark) for each of the squares and place them in the position you would want them to appear. Set the initial state for each of these images as "hidden."  Then, at the top of the trigger panel, create a slide trigger that changes the state of the image to normal when the variable in question changes from "false" to "true." 

In short, you would have twenty pictures of green check marks and twenty pictures of red Xs the game board, all set initially to hidden. You would have forty variables for each of the squares (%Relations200Correct, %Relations200Incorrect, etc.), set initially to false. You would have a trigger on submit button on the question slide that changes the variable (say, %Relations200Correct) from "false" to "true" if the learner selects the correct answer. Then you would have a slide layer trigger on the gameboard that changes the image for the green check mark for the Relations 200 square to normal when the variable %Relations200Correct changes from "false" to "true." 

I'm sure some variant of this would work, but I don't have time to test it right now. There's probably also an easier way to do this, as this feels a bit cumbersome. (Maybe each square could have three states: one with the number, one with a green check mark, one with a red X, and then the trigger would just change the square to the appropriate state depending upon which variable changes from false to true). 

Joe 

(Edited when I realized you also wanted negative feedback)