http://megaswf.com/serve/1123303
This is the .swf file for my flash animation about if/else.
Here are a couple screenshots from it:
The flash animation follows a person trying to not get I.D'd when buying alcohol. If you dress up older (fake beard and suit) and get more items to disguise the alcohol, you won't be I.D'd. The animation can be a bit hard to understand, as no written words or spoken words were able to be used.
The flash animation took alot of time, as I was very new to flash, but intruged by it, so I was learning how to use it while animating, which was fun. 
Monday, 30 May 2011
Thursday, 26 May 2011
200-300 Word Write-up
IF/Else
If/Else is a statement used in programming which performs different actions depending on whether a programmer-specified condition is true or false. The programmer would use this code if the number of outcomes were more than 1 depending on conditions. For example, IF condition 1=true, then ‘do this’, ELSE ‘do something else’.
I tried to show this statement using a Flash Animated App that is made up of 3 decisions, or if statements, with each one changing the way the animation looks or progresses. The app is based around the purchasing of alcohol, with the main (and final) If/else statement being:  IF age >18 THEN alcoholpurchase=true. Else Denied.
There are other IF statements in the app that alter the progress and outcome of this task. For example, the first decision that has to be made is to choose to wear a suit and a fake beard in order to look much older with the chance of not getting asked for your age, ultimately skipping the last input and successfully purchasing alcohol. There is only one way to progress without being asked for your age, and that is if you wear the suit/beard, and you choose to buy other items, disguising the alcohol, or distracting the cashier from the intended purchase. Ultimately, if you choose the option of being over 18, you will get the alcohol. The only way to be denied of the alcohol is if you select the option of being under 18.
Monday, 16 May 2011
Project 3 Ideas/Concepts
DSDN 142 Project 3
If/Then/Else
If/Then/Else
 Idea #1
Petrol:
Medium:  Video
It will show the person driving, then zoom on the gas meter. It will show full.
 They'll drive home and everything will be sweet.
It will rewind back to the car and their fuel thing is empty
 It will show them filling up their car, looking mad.
Psuedo Code
IF gas < 3 THEN gas(car). Else Goto home
Time Management/Cost:
Cost: $20ish for fuel (and for bribing flatmates who have a car)
Time Management: It should only take 1-2 days to complete. Filming 1 day and editing the next.
Idea #2
Booze Buying:
Medium:  Interactive animation
 Will show a few really quick scenes of an animated person going to buy alcohol. It will prompt for a date to be put in (somehow without text!), and upon entering it, the if statement will check if they’re 18 or not. 
  If the date they enter is over 18 years from the days date, then it will show a dude pounding drinks and partying etc 
 If they enter a date below 18 years, it will show some guy crying and having a whine. 
Time Management/Cost: 
Cost: $0
Time Management: It could take up to a week or so, depending on progress with animation and code.
Cost: $0
Time Management: It could take up to a week or so, depending on progress with animation and code.
Psuedo Code
IF age >18 THEN alcohol=true. Else Denied.
IF age >18 THEN alcohol=true. Else Denied.
Idea #3
Cube/Button
Medium:  Game type thing
 There will be a layout of like 6 red buttons on a surface. The user will place a cube, which is attached to string or chain, onto one of 6 buttons. 

 5 of 6 of these will do nothing, but one will show a green light. 
Psuedo Code:
IF cube3=true THEN greentick. Else redcross
IF cube3=true THEN greentick. Else redcross
Time Management/Cost: 
Cost: $30-$50ish
Time Management: 1-2 Weeks
Materials: Card, Wood, Paint, spring, concrete etc
Cost: $30-$50ish
Time Management: 1-2 Weeks
Materials: Card, Wood, Paint, spring, concrete etc
Subscribe to:
Comments (Atom)


