Wednesday 2 June 2010

Evaluation

My overall review of the game.

Weaknesses

My weakness on this project was definately the actionscript coding, having not used the Flash software much before I only knew small amounts of actionscript code.

At the beginning of the project we were asked to draw up a development schedule of how we would plan our work out over the coming months. Initially I came up with what I would describe as an achieveable time scale. However, I did not anticipate the length of time needed to draw and animate all the individual movie clips. I spent alot of my time sketching and planning in the beginning, I believe this to be important in the creative process of a project. However this meant I was behind on my development schedule.

What I would have done differently.

If I were to change anything about the project it would have been to management my time more effectively. Instead of leaving the actionscript coding till last I would have started the project by coding a rough draft of the game before beginning any of the drawings. As actionscript is a weak point of mine, leaving it till the very end of the project had its problems. I came up against a few issues which I needed time to learn about. If I had begun the project by coding the game first I would have been able to rectify these issues and also the game may have become a finished product.

Strengths

I believe my strengths on this project were the drawings and animation. These elements of the game took me the most time, however I learnt alot of new skills from working with the Illustrator program. I enjoyed branding the game and if I had more time I would have liked to have produced a style guide to help with the branding of the website.

My Overall Review

Overall I am pleased with the project I choose to do. I had fun drawing and animating for the game and learnt a lot of new skills in the Adobe Illustrator and Flash programs. I had a passion for the project which helped alot in motivating me, as I thoroughly enjoyed what I was producing.

As the project is unfinished and is still in a prototype stage I would like to complete the game throughout the summer to put towards my degree show.


Improvements I would of made to the game.

As the game is not completed yet there are many elements I would still like to add/improve to the game.

Instructions

I wanted the game to be easy to use and no harder than the user actually placing an item in their shopping basket online. I wanted to use simple instructions, which would pop up over certain items the user had to interact with. I used these instructions in the first scene of the game but did not get chance to implement them on other scenes. Instructions would have told the user to move the spoon over the cupcake case and to click the oven to open the oven door.

Sound

The use of sound enhances the game although my choice of sound clips could have been better and more realistic. I would have also liked to have added additional sound to the background.

Animation

I would have liked to have added some small animation to the first scene, such as clouds moving and birds tweeting. I think with this scene being static compared to the other scenes it doesnt seem visually exicting.

Icing Bag Animation and Sprinkles

Sprinkles

Although this stage of the game made it to the final I did animate the sprinkles being poured over the cupcake. Here are a few printscreens of the animation:





Icing Bag

Although I never got to use this scene in the game, I produced a movie clip animation of the icing bag squirting icing around the cupcake. I drew the icing in flash frame by frame playing close attention to the dimensions of the cupcake and making the icing look like it was being moved around the cupcake.

This took me alot of time but in the end I was satisfied with the result.






Printscreen of stages

Scene One - Shopfront

The game starts at the shop front of the bakery. An instruction box pops up to the user explaining what the game is about and what to do.

Once the user selects the start button in scene one the game fades in and out to reveal scene two which is the bakery kitchen.


Scene Two - Bakery Kitchen

Instructions on the chalkboard tell the user what the aim of the scene is but additional pop up instructions hover over each ingredient to tell them which one to select.

At present the user must only select the ingredients in the order of the instructions.

Once the user has put all the ingredients into the bowl another instruction box appear similar to that in the first scene. This congratualtes the user on completing the first stage and asks them to click next to go through to the next stage.


Scene Three - Choose a Cupcake Case

In this scene the user must select the coloured cupcake case they desire and drag and drop it to the baking tray. Once there they can drag the spoon to the case to add the mixture.

A target was set above the cupcake case which attachs a movie clip once the spoon has been released within it. The movie clip shows the spoon dropping the mixture into the cupcake case.

Again, once the scene is completed an instruction box appears congratulating the user and asking them to select next to carry on to the next scene.


Scene Four - Lets get baking

In this scene the user gets to put the cupcake into the oven ready for baking.

Once the user clicks onto the oven the viewpoint shifts and the game is now angled at the oven and the oven door opens. The user then has to drag the cupcake on the baking tray to the oven.

Once the cupcake tray is released on the oven a movie clip plays of the tray being placed in the oven, the oven door closing then opening and placing the tray back on the side. Whilst in the oven, the mixture rises.

This scene as yet does not have any instructions.


Scene Five - Icing the cupcake

This scene is not yet completed.

When the user reaches the fifth scene they are asked to select, drag and drop a coloured icing bag towards the cupcake. When the icing bag is released over the cupcake a movieclip is played of that coloured icing bag swirling icing around the top of the cupcake.

Scene Six - Add sprinkles

This scene is not yet completed.

Once the icing has been chosen, sprinkles can now be added. A shelf will be present on the wall of the kitchen with 6 sprinkles to choose from:

Star Spinkles in pink, blue and chocolate
Heart Sprinkles in pink, blue and chocolate.

Once the user drags and drops the sprinkles over the cupcake a movieclip is played of the sprinkles being shook over and around the cupcake.


Problems with vectors and transparent layers

When producing the images for my game I drew them in illustrator and copy and pasted them into flash. I did this as I wanted to keep the images as vectors and keep the quality high.

This proved to be quite intensive on the file size of the game. Each image was saved in the library but because they were vectors they could be easily manipulated in flash. This meant every individual layer was imported to the flash library increasing the file size of the game and making it run slower.

Transparent layers seemed to cause the most problems. If I had the chance to finish the game I would have like d to have started changing all transparent layers with similar colours and kept the transparency at 100%.

Transisitions

Originally my idea for the transition of the game was to have a sliding action from scene to scene. I wanted the user to feel like they were part of a real kitchen and to make it as realistic as possible.

When I sketched out the flowchart for the game I planned the position of certain objects so that in the event of the transition, objects could slide across the screen and be placed in the correct position with ease.

I researched into tween classes to help my achieve the sliding action.

First I had to import the classes:

import mx.transitions.Tween;
import mx.transitions.easing.*;

Then I had to tell the actionscript where to slide from and when to slide:

holder2.onPress = function() {

Within this function, I added some code, within the paraentheses I can tell the actionscript:

1. What object to slide, in this case it was _root.holder (I gave the object the instance name of "holder")

2. What co-ordinates to slide (this can be _x/_y/_width/_height)

3. Gave the slide a style.

4. Where to start the slide from

5. Where to finish the slide at

6. The duration of the tween

7. Indicates whether the duration is measured in seconds or frames (a boolean of true for seconds and false for frames is used)

var myHoriTween:Tween = new Tween(_root.holder, "_x", Strong.easeIn, _root.holder._width, _root.holder._width-10000, 1, true);

var myHoriTween:Tween = new Tween(_root.holder, "_y, Strong.easeIn, _root.holder._height, _root.holder._height-10000, 1, true);

However after my research and producing a dummy test I decided to change the transition effect to a simple fade in/fade out.

To enable the slide action I would have had to put the objects needed to slide within a movieclip. This was okay, however the pop up instructions which I delegated this slide action code to was on a seperate movieclip above the game.

This caused a few problems and due to time constraints I decided to make each scene fade in and out using a simple motion tween and alpha transparency. In the future I would like to add this slide action to the game as I think it would enhance the users experience.

Tuesday 1 June 2010

Sound

For sound in my project I have decided I will use quiet background music with sound FXs layered over the top accompanying the users actions.

Sound FXs I will need are:

First Scene

- Shop door bell chime
- Ingredients being mixed in a bowl
- Sugar being poured into a bowl
- Flour being poured into a bowl
- Eggs being cracked and poured into a bowl
- Butter being scraped from a butter tray

Second Scene

- Mixture being poured into cupcake case

Third Scene

- Oven door opening and closing
- Oven Bleeps (setting timer)
- Baking tray sliding into oven
- Tray being dropped on wood surface

Forth Scene

- Icing being squeezed out of icing bag

Fifth Scene

- Sprinkles being shook out of the jar

All scenes

- Button clicks
- Quiet background music
- Chalk writing on a chalk board
- Instruction pop up sounds

Background Sound

Here is a track I am contemplating using for my background sound:

http://lullatone.bandcamp.com/track/a-plastic-bag-in-the-wind

Oven Image

Here are the stages of animation for the oven. When the user drags the baking tray with their cupcake on to the oven and animation will play of the oven door opening and the tray being put into the oven.

If I get time I would like it so that the user can turn the oven knobs to set the timer. Oven bleeps will be the Sound FX which will accompany this animation.