Posts

Digital Plan

Image
This flowchart shows how each scene is linked to each other via navigation buttons. In total I used 28 scenes where scene 23 is the 'detention scene' and scene 24 is the 'congratulations screen'. A flowchart is a good way to explain my concept rather than attempting an explanation without a visual aid.

Adding the questions section

Image
Taking these questions from a year 7 revision site, I made my questions section of the game. For each scene, I used this code. However I had to alter it slightly each time so that I would not have any errors with repeating names or running two functions with the same name every time. Code stop(); var CorrectAnswer:Number=3; var Count:Number=1; Submit_btn.addEventListener(MouseEvent.CLICK, onClick); function onClick(event:MouseEvent):void{ var InputtedAnswer:Number = Number(Answer_txt.text); if (Count==3){ gotoAndPlay("Scene 23") } if (InputtedAnswer == CorrectAnswer){ gotoAndPlay("Scene 14") } else { MessageResult_txt.text = " Incorrect, Try Again"; Count++ } } Code Explained The variable 'CorrectAnswer' is assigned to the correct answer to the question The variable 'Count' is assigned to one When the submit button with the instance name submit_btn is clicked it activates th...

Illustrated Buttons

Image
These are the graphics I drew and used as buttons for my interactive story. Arrow used to navigate through scenes School Bell used as exit button on 'Start Screen' and graphic on scene   Classroom door used on 'Start Screen' to start the story (Allows the user to enter the classroom) Draw opens showing paper when hovered, the draw acts as a button that takes you to the Maths questions

Prototype to Finished Project

Image
After making my cardboard box prototype, I gained a better idea on the exact measurements needed  for my actual box. Therefore, I decided to draw an Orthographic diagram which included my measurements. This drawing is not to scale. Moreover, it has been drawn on 2mm squared paper - therefore each square is equal to 0.5cm. Using these measurements I began to prepare my box: The wooden box I had ordered off Amazon was unfinished and therefore was quite rough. Therefore,  I sanded it s using 40g/m^2 sand paper.  Next I created the line for my keypad to slot through. Using a power drill, I created a straight 7.5cm line of 2mm holes which became a line using a number of other tools. Using a 4mm drill bit, I drilled two holes for my LED's to fit through on my lid and a 15mm hole on the side for my power cable. On my orthographic drawing this hole is displayed on the font of the box however, after some thinking I decided that it would be better suite...

Coding Navigation between Scenes

Image
My scenes link together via arrow buttons that the user has to click. Coding is needed so that each time the user clicks a button on a specific scene the next scene is played correctly. When this button (NextScene1_btn) is pressed the event listener understands that an event has taken place and if this button is clicked then the function 'Scene1' is played and the scene goes to and plays Scene 1. function Scene1( event : MouseEvent ){ gotoAndPlay ( "Scene 1" ); } NextScene1_btn. addEventListener ( MouseEvent.CLICK , Scene1);

Setting up my Flash Project

Image
My first step when creating my flash project was to set up my scenes and actions panel. I roughly knew how many scenes I would need based on my storyboard plan however I could later add/remove scenes if the there was too little or too many. Furthermore, I added different layers to my timeline which included a layer for Actions, Labels, Text, Button, Animation and Background.  The purpose of the Actions layer is to keep my code away from my other layers while my Labels layer enables me to reference a keyframe/scene in my code to go to and play. I added a Stop(); command to the start of all keyframes/scenes in my Actions layer so that I didn't forget to when adding more of the graphical elements in my project. Without a Stop(); command every scene would play in sequence which is not what I wanted.  My navigation buttons allow the user to choose when to move onto the next scene which I believe is more user-friendly and adds to the user-experience as they do not fee...

Maths Questions - Password Solving

Image
My Adobe Flash game requires a list of  Maths questions for the gamer to answer so that the password can be solved. Therefore, I found 10 questions targeted towards the Year 7 group that are linked to their Maths curriculum. This company is reliable in giving me questions from the Year 7 curriculum because their site is designed specifically for Maths and English revision from Reception to Year 13 and therefore create questions based on a specific topic that a student will have to learn in that Year group. I have picked a variety of questions that will give numbers or letters A-D as answers when answered so that the password can be solved. Two Step Equations Variable Expressions Adding Three or More Integers Fractions of Whole Numbers Time Units Evaluating Multi-Variable Expressions Evaluating Exponents Identifying Factors Solving One-Step Equations with Whole Numbers   Bibliography & References ...