Tuesday, 15 April 2014

Working Processes: Creating the Game - Fixing glitch, Adding a camera angle, Adding bin contents/ receipt and Drawing notebook

The first thing I done was fix the glitch as reported from the user feedback.

The glitch would occur after you have taken the glasses from the coat. The user would then change the camera angle and then back again, it is here where the coat would appear again and the user would be able to take a new pair of glasses.

In order to do fix this, I have created a boolean so that when the item has been picked up, the coat will disappear.

On the timeline, the following code has been used.

if(glassesFound){
    roomView.coatHanger.itemGlasses_btn.visible=false;
}

This will be applied each time the user goes to that frame, so it can be sure that another coat will not appear.

I also added another camera angle, this was of the vending machine. In order to create this vending machine camera angle, I found the appropriate angle in my sketchup document and took a screen shot. I then imported this into Flash and traced around it.




I changed the appearance of the vending machines buttons to suit the context of my game. I also created a screen which would notify the user messages. There is also now a series of numbers and letters the user can type in added all the appropriate buttons to link to this camera angle.

On frame 2 of the vending machine, I opened the cage door. This would happen once the user has used the right key on the padlock of the door.

In the process of adding this camera angle, I changed it so that the lightbulb can not be picked up from the desk, but instead whilst facing the vending machine itself (since you're nearer).

There are now two ways to face the vending machine, from rotating on to it from the main camera angle, or by getting to it from the desk camera angle.

I then gave the bin, under the desk, a script so that it would produce a receipt when it is clicked on. I then applied the drag feature from the lightbulb and key onto the receipt so that I could drag it.

I added hit tests for the key and vending machine lock so that the cage would open.

I am yet to add one to the receipt and vending machine, which would be done tomorrow.


I then drew the notebook open and added contents inside of it. This was done as a movieclip which has it's own layer and is applied to all the frames of the Flash apart from the Name Enter. This is so that the notebook can be open and read anytime.

The user will be required to wear the glasses they've picked up, otherwise the notebook will not be readable as it will be blurred instead.

No comments:

Post a Comment

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