subject
Arts, 06.12.2021 18:50 abelxoconda

40 points xtra Features
For this lab, you will be adding features to your Space Invaders game from the unit.

If you closed your game, go back to: https://beta. scratch. mit. edu/.

Click Try it! Then click File > Upload from my computer and locate where you saved your game in your file system.

Also open a word processing document where you can record your attempts to create these extra features. In case your scripts do not end up working, you will still submit this document to show what you tried to accomplish.

Step 1: Cloning
Let’s make our shooter game a bit more interesting by making a “clone” of our enemy so that we can have two at once to shoot at!

Right click on your enemy sprite and choose duplicate. Now you have another enemy with the same script inside. Rename this enemy new enemy 2.

Even though you renamed the enemy, the script related to new enemy 2 still thinks it is attached to your original enemy. You’ll need to make two changes inside the new enemy 2 script in order for it to be applied to your new, cloned enemy. Describe what you believe those changes need to be in your word processing document. Then make those changes in your script.
Now that we have a second enemy, you will need to make some changes to the script that is attached to your backdrop. Look at that code. You will need to add a block so that your second enemy appears. Describe what that block is and where to find it (type this answer into your word processing document). Then make the change in your backdrop script in your game.
Now that you have both enemies appearing, let’s make a random amount of time pass from when the first enemy falls and the second one falls, just to keep the player guessing. The time span for this random amount of time will be from 0.1 to 2 seconds. You will need two blocks to complete this code. Describe these blocks and where to find them (type this answer into your word processing document). Then make the change in your backdrop script in your game.
Step 2: Make the Spaceship more responsive
Notice how the spaceship is not very responsive to the left and right arrows being pressed? Take care of that lag by making a couple of changes to our spaceship script.

Instead of using the when arrow pressed block to describe right and left arrow movement, explain how you can you use if/then blocks inside a forever loop. You will need two if/then blocks, one for each direction of movement. Think about what block you will put in the if part of the statement and what should be the result in the then part of the statement. Type this into your word processing document. Then make the changes to your spaceship script.
When you have finished, remember to save your game to your computer and then submit your game file along with your document. Name it Space Invaders 2.

ansver
Answers: 2

Another question on Arts

question
Arts, 23.06.2019 13:30
When did "mr. sweeney's pro-skater 2" for the gamesphere come out?
Answers: 1
question
Arts, 23.06.2019 15:30
Ar 5)when providing general information about an artwork, how is the title indicated? a)"title of artwork" b)title of artwork c)title of artwork d)title of artwork 6)select the term that refers to what the artwork is made of. a)iconography b)medium c)form d)context
Answers: 1
question
Arts, 25.06.2019 00:30
Which factor push forward the popularity of rock music in america
Answers: 1
question
Arts, 25.06.2019 03:30
Describe the characteristics of men’s hand.
Answers: 1
You know the right answer?
40 points xtra Features
For this lab, you will be adding features to your Space Invaders gam...
Questions
question
English, 15.05.2021 15:20
question
Mathematics, 15.05.2021 15:20
question
Mathematics, 15.05.2021 15:20
Questions on the website: 13722363