Friday, November 18, 2011

18/11/11

I have been working on my assignment for the past week. We have to create a game in scratch which has some kind of user control, levels of difficulty and it should have a score. The aim of my game is to make the sprite move and make it collect the burger pieces to make the burger. Without it touching the evil people.

It is inspired by a spongebob game called "Patty Panic".

In our game we need...

scoring

levels of difficulty

and should be controlled by the user in some way.



Monday, November 7, 2011

Scratch Challenge 1

Challenge:
Have your sprite glide across the screen and when it touches the edge (note: the “edge” can be sensed as a standard function), have it change directions.



I have completed the challenge, firstly the man is gliding to the edge(which is the black line), then he bounces off and changes his direction

Interactive Whirl

This is the last activity and its about making the picture funny and interesting. We bascially just have to get a sprite and put the control of making it whirl when it senses the mouse. See this is the normal image of the sprite.
And now there is a mouse near the face of the sprite which makes the face go like this:

Glide

If you need to create a good game, there needs to be movement in your sprite. In this activity we are moving the sprite across the page.
Firstly we choose when clicked and then we position the sprite in the place we want it to be, when done you can view at the bottom that there are some measurements of where this sprite is located. as shown in this picture:
                                                                                                                                                                          


Then we just put the sprite in different positions which makes it glide around the page.

Friday, November 4, 2011

Follow the Mouse






In this activity we are making the cat follow the mouse pointer. Which ever direction the pointer goes to thats the direction the cat goes.This is achieved by the controls of forever, point towards the mouse pointer and moving 3 steps. This can be use in my game, because as the mouse pointer is trying to achieve the main goal of the game, it  will help by having a sprite there to assist it.

Notes About Programming

*If you don't have variables a program cannot do anything
*a variable is something a program needs to remember(usually its a number or a word)
*3 structures used to create a program:
   -sequence
    -selection
    -repetition