Monday, September 1, 2014

Monday September 1st, 2014

Today I watched 4 videos.

Before watching them, I made a quick adjustment to my code that I said I would do by changing the point of the game: making the snakes controllable and trying to eat the turtles.

The first one was titled "Make it your own". He talked about modifying and changing the images of the objects in the world. So instead of a lettuce, he put a human. Instead of having snakes, he put asteroids/rocks. And instead of having sand as the background, he put space. This first video was not really new to me, because changing things to what I wanted them to be and changing images is something I did since the beginning, as I showed in a previous blog post.

The next video that I watched was the one that explained how to add sound to the little game we are creating. It was relatively simple. I personally don't like the sounds that he made and I think that they don't flow with the game well. I wanted to try downloading new sounds to replace his, but unfortunately the sites to download these short soundtracks were all blocked by the tech department. I will try to find out a way to get these sounds. I also learned that to put the sounds in the code, they have to be a .wav file so I need to remember to convert the file if it is not already a .wav .

Next I watched a video about organising code once again. I found this video a bit uninteresting and it did not teach me much. What he recapped was how to add notes to your code for human readers to understand what it is about, which I already knew. And he also mentioned about the whole general format of a code, which I also understood from before.

Lastly, I watched a video about adding variables to the code. I think that this was by far the most interesting video and also the most important one for me to learn out of the 4 that I saw today. It made things more interesting and a bit more complex. I realised that now thanks to this feature I can make the game more game-like. I will tell you a bit more about the game below. This was a great video to watch because once again, he explained very rapidly for about 2 minutes in the beginning, and then for the rest of the video he explained more in depth. I saved some time watching that video.

Today I made myself a goal. I want to create a small game that includes this:

It is a world where there are turtles, snakes, and lettuce. The turtles eat the lettuce, and the snakes eat the turtles. I would like to create a game where the snakes (which you control) have to eat all the turtles, before all the turtles eat the lettuce. If it's possible, I would put levels and as the levels go on, there would be less lettuce, and more turtles.


No comments:

Post a Comment