Friday, October 20, 2017

Report Cat and Mouse Wunderlich and Ramirez Calvo


In the following post you are going to be informed about how we worked during twenty days with this game, called Cat and Mouse. We do a lot of our activities with a programm called Scratch, like the previous deadline. We learned a lot of things with this programm, which we will tell you later. Also you are going to read about which were our problems with this game, how we fixed them and which were our archievements. In addition you are going to be informed about which blocks did we use to resolve the activities which were asked.

Let´s start with a brainstorm of ideas which summerize our work in this deadline:



As we said before, we had to create a game called Cat and Mouse, which has a medium level. In diference to the low dificult level, this game doesn´t start with anything done, we had to create everything, but we had the same help, a list of blocks that we must use. If we didn´t use these blocks, we were doing something wrong, that´s why they were very helpful! Some of those blocks were new for us and now we know how to use them. In the following image you are going to see which were those blocks:


As we mentioned before some blocks were new for us, for example the "stop all" block. We saw this block a lot of times when we were working with our exercises, but we had never use it. The first time that we used it, was in this game and first it didn´t work very well, because the order of the blocks was incorrect. So, learning to use some blocks was one of our archievements. Now we are going to show you the correct order of our blocks: 




In this game there are two characters: the mouse and the cat. You are the mouse and the goal is to eat the cheese without the cat catching you. In the next image you can see the characters of our game: 



Our background is a maze, which has blue walls. If the mouse could eat the cheese without the cat catching it and then go to a pink square, then you go to the second level. The second level is also a maze, but it is more complicated! If the cat catch the mouse, then it would appear another backdrop, which says that you lose! If you can do both levels without the cat caughting you then it would appear a different background saying that you won! In the following collage you are going to see all the different backdrops of our game:



Now we are going to show you the blocks that we used to change to the second level. Remember that the pink square is the Object 1!



First we had to make the mouse move around the screen, the exercise says that the mouse must follow the mouse pointer. To make that possible we use the following block:


Another exercise that includes the mouse was that it should chek if it is touching one of the walls. We made that, if the mouse is touching the blue color it goes to the start position. But be had a problem, because when the mouse goes to the start position it touches a wall and a rule of the game says that, that could not happend. So we fixed it by making to mouse a costume and to make that possible be use the following blocks: 


First we had a problem making the costume, because we had no idea how to change to another one, but a classmate helped us and we could solve it. This is the costume from the mouse:


We also used some basic blocks for the mouse character:


We also used some basic scripts for the cat:


The cat should also move around the maze and every time it touches with a wall, it turns around and chooses another direction. If the cat caught the mouse, than also all the scripts from the cat would stop and change to the "You lose!" backdrop. To make that possible we used the following scripts:


The last character is the cheese and the only thing that it should do is disappear when the mouse touches it and reappear when the green flag is clicked. We used the following blocks to make that possible:



Finally we created a variable for cheese. We only use it a few times. For example the most important one is when the mouse eats the cheese (the first time), then the mouse says "If you want to play an other level go to the pink square" and the pink square appears. 



No comments:

Post a Comment