Scratch can be used for simple programming and development. If you want to make a fun game, how to make it? Let’s take a look at scratch‘s tutorial on developing the space war game.
- Software name:
- How to download and install scratch3.0 in Chinese? Scratch3.0 Getting Started tutorial
- Software size:
- Updated:
- 2019-01-15
1. Open scratch software and enter its main interface;
2. Right click on kitten and clickdelete;
3, clickStage, select from the background librarySelect the background;
4. Enter the background database and clickSpaceChooseStars background,Then press OK;
5. Click to select a role from the role library;
6. Find and select one in the roleThe Ball, then press OK;
7. The same method, found in the role LibrarySpacecraft, select and press OK;
8. In the same way, addDragon role;
9、Add the following script to the ball, to launch shells andThe function of playing sound when launching shells;
10. Add the following script to the spaceship to realize the function of controlling its movement with cursor control key;
11. Add the following script to the dragon to realize random movement of the dragon,10 points will be added after hitting the ball,Meet the spaceship, broadcast the end of the game;
12. Click the green flag to execute the program, press the space bar to launch the shell, and control the movement of the spacecraft through the cursor control key;
13. The game ends when the Dragon meets the spaceship.
The above is a tutorial for scratch to make a space war game. I hope you like it. Please continue to pay attention to developpaer.
Relevant recommendations:
How to insert text into the current page of scratch?
How can scratch create Cherry Blossom dynamic applet?
How to add text in scratch programming