Games


Making Games In Scratch



There's a computer program called Scratch that we used in class to make simple games. :3 There are settings so that you can make your own sprites, backgrounds, and so that you can program how everything works.


Our first assignment was to make a game of Pong, :3
First, we had to make the little sprites that would be used as the paddles and the Pong Ball~. :3
After that, we had to issue the commands to all of them, so that they could do something whenever you press certain buttons.
These were the commands I had for each paddle:


The commands were basically the same, but the buttons you press to move each paddle are different. :3

These are the commands for the ball:


I had to tell the ball to always start in the center, and to go in random directions when it begins moving. I then had to give it the commands that 1) When it touches the edges or paddles, to bounce off. 2)And when it hits one person's side, the other player gets a point.
I had to make sure that these things are continuous, so I put all of these commands in a Forever bracket. :3


Here's the game~. :3


Instructions: