Home 100% TextStory Tkinter RSA Thunkable Arduino




Scratch Game Project Below!




For the incremental process of the scratch game we developed which is a copy of Duck Hunt (nearly same sprites but code is done by my partner and I). For starters, after my partner imported in numerous sprites I began to work on movement, an aim for the mouse pointer, and a way for the duck to die once shot at. This was a little bit difficult as I had to look around for getting the mouse pointer to work, realizing that I needed a forever loop for the aim to constantly be assigned to the mouse pointer position. The duck animation for death would be particularly tricky; if you kill it too early the animation continues (script doesn’t stop) which had to be fixed using a stop command to the other parts of the sprite.. The next challenge was getting a round two in with two ducks. Had to duplicate one duck, and inverse the movements, with the problem of getting them both to spawn at the same time which was solved with a broadcast command. Then the game win and game end screen are controlled by a variable called KillCount which if is less than 1 in the first round or less than 3 in the second round it shows a game over screen, and if greater than 2 (3) at the end of round 2, then the background changes to a you win screen. The development was mostly independent as while I worked on getting the program to work(motion, round 2, sprites reacting to other sprites) my partner did the work of getting backgrounds, sprites, and sounds to work in the game, although he did a little bit of the actual game design as well.