Friday, October 21, 2011

CHALLENGE 4

Using this algorith i have manged to gte my owl to look as though it is flying towards me as it gets bigger everytime it flaps its wings (changees to costume b)

Thursday, October 20, 2011

Dance move

This series of stops makes the sprite move to a beat similar to a different task but it moves just the hip not the whole body.
This is similar tot he one above but it distorts the face.

Wednesday, October 19, 2011

Moving animation

The brid flaps its wings as it moves. at first the time was 3 seconds and the bird was incredibly slow so i sped it up and now the biird flies at a good speed. for the wings to change i use a different costume one with wings up and one with wings down. so the costumes changes every 1 second.

Every two senconds i have programed my sprite to say hello.

Suprise button

This sequence makes a dum make a sound and change colour when it is clicked. the computer wait until the drum is pressed then it changes the drum color and plays a beat then colour changes back and process is repeated.
This sequence makes the sprite change and animate. I have made it so the ghost (sprite) changes one with euye brows one with no eye brows. Siimple but it make it looked anmated.

This sequence allows the colour of the sprite to change when the space bar is clicked.





This shows the change in colour for the sprite.
  

Tuesday, October 18, 2011

Using the Controls above i have allowed my Sprite to move in the direction i choose. When i press 'up arrow' the sprite move up. When i press 'down arrow' my sprite goes does and the same with 'left arrow' and 'right arrow'
It works by following my algorithm i have set up for the program/ computer to follow.

Sunday, October 16, 2011

Keep Score, Dance


When one sprite hits another sprite the score changes by 1 and then moves back 100 space. It does this by following the algorthm i set out for it.

This algorthm makes the ballerina or other sprite dance to a beat or peice of music. When the prite moves 30 steps a drum bass is played. When the sprite moves -30 steps a hand clapping is played.

Wednesday, October 12, 2011

FLOWCHART

Questions on Flowcharts
1 .A) Checking the temperature to see if it is above or below freezing
    B) Light turning on

Monday, October 10, 2011

Games! Computer Algorithms

Define:
 
Algorithms: A process or set of rules to be followed in calculations or other problem-solving operations, esp. by a computer


Pseudocode: A notation resembling a simplified programming language, used in program design
 
Machine Language:  programming language designed for use on a specific class of computers
 
High Level Computer Language: is a programming language with strong abstraction from the details of the computer.
 
Flowchart:  diagram of the sequence of operations in a computer program
 
Sequence: A particular order in which related events, movements, or things follow each other
 
Selection: Data highlighted on a computer screen that is a target for various manipulations
 
Repetition: The action of repeating something.


Opening a door and entering a room:

  1. turn right 180 degrees
  2. walk forward 2 steps
  3. turn right 90 degrees
  4. walk forward 2 steps
  5. turn left 90 degrees
  6. move right hand infront of you
  7. grab door handle
  8. turn wrist right and push
Negotiating traffic lights as you drive down the street.
  1. if light is green contiinue at current speed
  2. if light is red stop
  3. if light is yellow prepare to stop