Monday, 5 November 2012

Moving Animation: Tutorial Four

First to complete this tutorial I must create a different costume for my sprite which is a plane. So that when the plane moves, something will change with it. Inorder to do this, I pressed the sprite and went into the costumes, i pressed coppy and then edit to add the wind effect which I dress myself onto the plane.
Then I added the code so that after 0.3 seconds the plane will move 5 steps in the direction it is facing then change the costume and it will continuously do the same thing. Moving 5 steps and changing the costume of the sprite.

Move to A Beat: Tutorial Three

For this game the instructions "move 30 steps" makes the sprite move to the right and then when it says "move -30 steps" moves the sprite to the left. Also the purple insturctions allow music to play when the sprite has moved the specific steps, or direction.

Key moves: Tutorial Two

When it says "when ..... key pressed" you are able to select any letter, space, or the arrows and in this case I have used to arrows so when playing the game, the control is to only use the arrows. Also when you press one of the arrows depending on which one, the dirtection of the ball will move in the direction needed; eg: down arrow, will move 180 degrees.

 

Thursday, 1 November 2012

Keep Score: Tutorial One

In order to complete the tutorial I needed to change the sprite from the cat to a shark. To complete this step I pressed "Choose new sprit from file" which opened a file with many sprites, so I then found the sprite needed. Also I had to add another sprite for the purpose of the game to work, and the shark sprite follows the next sprite which will be a small fish.
 
I then had to change the background/stage of the game so it seems more realistic and more attractive to the consumer when I create my own game. Inorder to do this I clicked "Backgroud" then "import" and found an appropriate stage to suit the game.
Now to allow the sprite to move and complete the necessary moves for the game to word, I must create a code/script for that particular sprite. For the shark I need it to have a score, so when It eats a small fish, a point is given. Also it needs to move 3 steps and point towards the small fish so it is easier to eat the fish.
Also I need to create a script for the small fish so that when the shark eats it, it will change costumes and dissapear.
This is the final game.
 
 

Wednesday, 17 October 2012

Flowchart


Questions on Flowcharts

  1. For each of the flowcharts below describe in words what you think they will do.

When you read the temp you will see whether  it is less than 32 degrees if yes, then it is below freezing point, if no it then is above freezing point. After the decision is made the steps are complete.

 
 
 
 
 
 
 If the switch is on the light turns on and the timer will start, but if not then the task can not commence. Once one second has expiered the light should turn off, but if one second has not passed then the light will not turn on. Once the light has turned of the timer will reset and the task will be complete.




Then you can use word to answer the following question.

  1. Convert one of the algorithms you have created in the previous task into a flowchart, e.g.  opening a door, moving through a traffic light.


 



“Computers never do what you want them to do,



“Computers never do what you want them to do,

they only do what you tell them to!”

Using the web, find definitions for the following terms and post them on your blog. Make sure the definitions relate to computers and programming
1.       Algorithms
Its is a step by step instruction Manuel that you tell the computer to write a computer program. The computer will follow each step Manuel to achieve the goal. Can be used in computer programming.

2.       Pseudocode
Pseudo means ‘like’ something, not the real thing but similar to it. Tools used by programs to describe an algorithm. It contains standard words but it is not code or understand by a computer.  for example. Begin, end etc.

3.       Machine Language
Is code for an algorithm written in a low level language that only the computer understands. Eg: doesn’t have English words in it.

4.       High Level Computer Language
A high level computer language contain regular words like : if, then etc.

5.       Flowchart
Is another way of writing an algorithm though using a diagram. It uses a standard symbol. EG: a diamond

6.       Sequence
The order in which steps are carried out.

7.       Selection
Selection in an algorithm is when you have to make a choice and is between two items. Most selections are set up to ask a yes no question.

8.       Repetition
Having to repeat a step again and again until a goal is achived or a condition is met. Eg, walking, lift your right leg, move it forward
 
Then with the aid of class discussions, write an algorithm for the following processes;

1.       opening a door and entering a room.

2.       Negotiating traffic lights as you drive down a street.

·         Is the light green?

·         If yes, continue driving.

·          If not, is the light red?

·         If yes, stop.

·         If not then slow down.

In your algorithm write each step of the process on a new line. Remember not to assume the computer knows anything.

 

Thursday, 6 September 2012

What Was Done For the Assignment

For this assignment we have recieved we must create 3 different websites that include artworks which have  been made by the year 10 art class.
My partner which I am currently working with for this particular assignment is Adriana.

What we have done to complete this assignment:
Janet (me): I have created each different site for the students artworks and have named them/created a URL for them.
Title of the sites: Celine's creation             URL: https://sites.google.com/site/theartofceline/

                          :  Doris' creation                       : https://sites.google.com/site/theartofdoris/

                          : Taylor's creation                     : https://sites.google.com/site/theeartoftaylor/
For two three sites I had chosen the background image in which would be on the site. 
Once the website was complete with the final editing I had done, I registered the site onto the school website so my teacher can access the website too with the URL. 

Adriana: She has added all the pictures needed for the site, the pictures are of the artoworks the year 10 students have created. Adriana has also linked the pictures so when you click on the image it opens in a new page and the image becomes larger.
Adriana also had helped me place the background image onto the website.