Taking Control


Introduction


In this unit I will learn to control a computer using instructions. I will need to make the computer perform a specific task. The program I will be using is called Scratch.

Brief


You have been hired by Tauranga Techsoft, a local software company, as a trainee programmer. Your first assigment is to write a simple program in an introductory programming language. The programme will show that you have learnt to use a few basic commands and that you are able to group these commands into procedures or functions. Your teacher will act as your line manager and outline the deadlines and details of the program.Your final project report will be presented as a web page.

Scratch Practise


I had six hours of class time to learn how to use Scratch. During that time I made a basic game where a Bad Guy chases a Good Guy around the screen.

Keystrokes.jpg

Here are the controls for moving around the Good Guy using the arrow keys.


Bad Guy.jpg
This is the script that makes the Bad Guy move around the screen by himself.

Game of withnthing.jpg
The lives showing in the corner and the sprites.

I learnt how to do all of this in the six hours I had because Mr Chapman exlpained it to the class, he gave us a set task--such as Good Guy, Bad Guy, and the ball game--and we had Modules we could use to figure out how to work with Scratch.

Game Design


Game Idea



My game will consist of three different sprites. There will be a ball moving randomly around the screen. The player, who is the whale, will use the arrow keys to try and catch the ball. Each time the ball is touched, the player will receive ten points. There are also three sharks moving around the screen by themselves. Each time the whale touches one of the sharks, the player will lose a life. The player starts with five lives. The objective is to get as many points as possible before all of your lives are used up.


List of Jobs:

FInd sprites and backgrounds.
Make sprites move.
Make whale bulge and say things.
Sense collision.
Add lives and points.
Programme background.

Research/Practice


I completed the practice tasks Good Guy and Bad Guy, and the Ball and Block game. Both gave me basic skills such as sensitivity and making sprites move.
I learnt a lot during the practice lessons. I leant how to use Scratch with ease and it truly is simple to use. Scratch has an easy layout I could easily find what I was looking for and how to get things to work. My final product was completed in an hour as a result. I started off doing the basic code for moving the character around and later started adding things such as lives and points, as well as sensing the other characters.


Whale.jpg
The codes for the whale. Makes it move around, lose lives, gain points, say things, bulge, etc.

Sharks.jpg
The codes for the sharks.

Final Product






Evaluation


In the unit Taking Control I learnt the basic skills of creating my own game including coding. I found the unit easy and fun. The programme I used, Scratch, made everything simple. Finding my way around the programme itself wasn't difficult. Programming the sprites to move around the screen by themselves and with the control of the keyboard was a simple and useful skill. Who has heard of an inanimate game? Touches such as making the sprites bulge and say things added a simple flare. I covereved all of the basic coding skills that we were taught during practice and a few new ones creating my final game. My game was made in an hour, it was basic but covered most of the skills I'd been taught. Everything turned out fine. I never encountered any issues while making my final product. It turned out just as I planned it.








_Learning Journal_

18/7 - Discussion about why Bill Gates is so rich. Why is programming so important?

19/7 - Intro to Scratch -Play time.

20/7 - Play time--Learning more about how to use Scratch, the basic scripts.

25/7 - We were learning scripts and making a basic game, Good Guy. Bad Guy.

26/7 - Ball hits box practise game. Score, collision, movement.

27/7 - First half write up. Second half research.

01/8 - Today I wrote about my Scratch practise on my WIki to show the work I've been doing so far. I started my game design.

02/8 - Today I worked on my game. Did all the scripts and test play.

03/8 - Today I added final touches to my game.

08/08 - DId work on my Wiki.

09/8 - Completed my video for my game and finished uploading everything onto my wiki.