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:
There's another program that is similar to Scratch, but has a few differences, such as:
Since BYOB is so similar to Scratch, it was easy to put the commands together, since I was used to it. :3
My partner and I worked on a simple shooting game, in which each player would shoot at each other and try to get the most points.
In order to connect with one another, we first had to understand what meshing was.
Meshing is when you connect two or more computers through a server so that the users can interact with one another.
And that's what we did to play multiplayer. -w-
obviously
What we did was create our sprites and program their movements and actions. Then one of us became the 'host' and the other had to join their game by using the host's ip address.-w-
After this, we were each able to control our individual sprites on our own screens, and see it on the other's monitor.
Whenever it was that we wanted to make changes, we would have to re-send any sprites we made to each other.
For example, I created a command for my sprite to move up with the letter 'w' on the keyboard.
And then, to make it easier for myself, I simply copied and pasted the command but changed a few things so that the 's' key would make the sprite move down.
I would send the sprite and its information to my partner so that she can see it too.
But if I made the mistake of accidentally not changing the key that is pressed to make the sprite move (leaving it as 'w' instead of changing it to 's'), then I would have to change the things in my program and re-send the entire sprite and it's commands to my partner again.
Then she would have to delete that previous sprite so that the new one would be the one taking the commands and doing what I want it to. :3
It isn't really all that complicated, but it gets annoying after a while if you have to continue doing this over and over again... ^^|||
This is what the commands for my sprite looked like:
The controls are to ensure that my little AmericaMochi can move around and has health~. :D
The commands for the bullet ensude that Ame-chan can shoot at his enemies. :3
These are the commands for the bullets. :3
unfortunately, I am unable to upload the game to the page, so you cannot see it. But trust me, it was pretty good. -w-
Other than these things, I don't remember all that much of the work and such that we did during this week of expeditions...
ehehhehe...
*nervous laughter*
Back to my home page
To My Server Project
To my Programming Page
To My Gaming Page
To my Robotics Page
To My circuits Page