Thursday, 25 March 2010

Displaying that the user has correctly answered a question

Once the user had answered the question, it would tell them if they were either right or wrong. If they were wrong the game would just take them back to the island screen and they could click on a question again, but if they had answered the question correctly there needed to be a way of displaying that a certain question had been answered correctly and this could be done using a tick to cover the question box.

This is the actionscript that is on the question 1 movieclip on frame one and it takes the user to the question screen. To show that they have answered the question correctly, I inserted a keyframe on frame 2 and added a a red tick over the question 1 box. Also, so the user couldn't click on question one again, I deleted the actionscript that was there on frame 1.



So when the user has correctly answered a question, they will be able to tell as it will look like this:

No comments:

Post a Comment

Followers