Saturday, November 27, 2010

CHANGED DECISION


I've come up with a completely new idea. Ok so here is the run down on the new game. It is still like PONG but WWAAYYY BETTER!

NAME: Save The Unicorn
TYPE: PONG kind of game
OBJECTIVE: The objective of the game is to ultimatley save the unicorn from getting hit by demonic balls.
INSTRUCTION: I've already finished the instructions and they look like this:



Chosen game

So the game I have chosen is to make a kind of a PONG game.
At first I tried to modify the game that was already present in the examples of scratch but then i ended up changing the whole thing. It looked much more complicated and had different levels Below are some screen shots:

The above picture is the script for the brick that could get hit by the balls and give extra points. The scratch programme sometimes made it work and other times, it didn't even do anything.
And the one on the right is a script of the ball and what actions it must do to keep the game going.

Friday, November 5, 2010

scratch Challenge 2

* Create two sprites, have them randomly move around the screen (see challenge 1), when they touch have them stop (or react in some other way)


I completes this challenge and added some of my extra features to it as well. I actually made the shark close its mouth when it eats the fish. I did this by switching between different costumes under the  if statements. I also made the characters start at a certain place rather than at random places.

everyone was experiencing problems with this one because the shark seemed to be constantly going out of the screen, i just put the command if on edge bounce. However it was alway son the edge again. Everything seemed to be going too fast. so i slowed down the steps. but that did not seem to work.
To make it more realistic i made the little fish faster than the big shark.
I am probably going to use these variables as part of my game because it is an essential part in any game.

Broadcast

Broadcast:
 The process of a web construction with the combined and synchronized motion of two sprites.  
It uses broadcast signals to activate different parts of the process.
  It basically is when two sprites "communicate with each other and perform processes at the same time whilst interacting.

Gliding/ scratch challenge 3

I used this glide control structure to make bees fly around flowers. Gliding allows a character to smoothly follow a given direction. we can give them the directions points either through typing in the specific points x and y. Or you can type in the name of a character and make another character glide in that direction.

Mouse pointer

This is the simple script for making a character move to a mouse pointer.

  • We have to put the "when flag clicked" button so that we know when the character will begin to chase after the mouse pointer
  • we need to put the forever control option otherwise it will have a time limit which doesn't make any sense
  • of course we need to put the point towards a mouse pointer so that the character faces that way. if we simply do this and not put the "move 10 steps" bit then the character will not move but will simply turn to the mouse pointer
  • The purpose of "move 10 steps" is to make the character chase after the mouse rather than just staying still. I personally found out that 10 steps was too fast therefor  I would recommend 6 steps.

Ants - moving the character

We have made an example in scratch that relates to moving a character. We basically used the same controls we would use for any character and they are listed below. To make an example and actually implement it on a project we added some extra control structures in which enabled us to have a smooth finish. we did find little bugs all the time but  finding them is what made us keep on improving them. Here is a little screenshot of the script.
 This example is basically- making the "mother" ant move towards the fortune cookie. Then when it touches the fortune cookie, it will say "yummy" and make the sound of a "shaker"(we couldn't find the sound of chomp). Then the rest of the "lazy baby" ants come and make that noise too and stay there. and appear to be eating the fortune cookie.

We had to make each of the baby ants eat the fortune cookie. Therefore we had to have separate control structures for each of the ants which instructs them to point towards the cookie and walk to it when the mother ant says yummy.