Tuesday, 22 April 2014

Working Processes / Planning - Feedback from User Testing [5]

Today, I did user testing to see how long it would take others to complete the game. Upon doing so, it also helped me find another glitch.

The times were as follows:

28 minutes
18 minutes

The glitch was that when the user put on their glasses whilst already viewing the note, the note would not unblur and instead the user would have to close the note and open it up again.

This was because there was not an event listener looking over this.

To solve this issue, I added onto the classes check event listener so that the note would be included too.

Originally the note was not included in this, because the note was only accessible from one camera angle - "viewTable".

I added the following if statement:

if(currentFrameLabel=="viewTable"){
            desknoteZoom.gotoAndStop(1);
}


the code now looked like:

// ---------Item Checks---------
//Glasses On
stage.addEventListener(Event.ENTER_FRAME, glassesOnCheck);
function glassesOnCheck(event:Event) {
    if (!glassesOn) {
        notebookOpen.gotoAndStop(2);
        canMessageBox.gotoAndStop(2);
        canMessageBox.cutMsg_btn.visible=false;
    } else if (glassesOn){
        notebookOpen.gotoAndStop(1);
        canMessageBox.gotoAndStop(1);
        canMessageBox.cutMsg_btn.visible=true;
        if(currentFrameLabel=="viewTable"){
            desknoteZoom.gotoAndStop(1);
        }
    }
}


This fixed the glitch.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.