2001: Space Conqueror

About this lesson

Learn how to create an arcade space game with multiple enemies and a boss!

Step 1
Click on the link below to remix this project!
Step 2
Intro Sprite Code
Add these two blocks of code to the Intro sprite. This will set sprite's placement behind the other sprites.

Step 3
Moon Sprite Code
Next, add these 3 blocks of code to the Moon sprite. These blocks will change the moons appearance to appear darker and make it glide to the bottom of the screen.

Step 4
MVCC Sprite Code
Add these two blocks to the MVCC sprite. These blocks will set the sprite's location during the intro.

Step 5
Sun Sprite Code
Finally, add these 4 blocks to the Sun Sprite . This blocks will set the sprite's starting location and glide path, start the intro music, and end the intro sequence which will start the game.

Step 6
Comm. T.A. Sprite Code
Next, add these 4 blocks to the Comm. T.A. Sprite . These blocks will animate the player's sprite and allow it to follow the mouse cursor.

Step 7
Comm. T.A. Sprite Code
Adding these two blocks to the Comm. T.A. sprite will allow you to create clones of your projectiles, as well as play a laser sound every time the player shoots.

Step 8
Comm. T.A. Sprite Code
These are the last two blocks you will need to add to the Comm. T.A. sprite. . These two blocks will set our player's X and Y position if they hit an object.

Step 9
Laser Sprite Code
Add these blocks to the laser sprite . This block is what will create our projectiles clones and allow them to move.

Step 10
Enemy 1 Sprite Code
Add these 3 blocks of code to the Enemy 1 sprite . These blocks will animate the sprite and create clones forever.

Step 11
Enemy 1 Sprite Code
Now add these 3 blocks to the Enemy 1 Sprite as well. These blocks will create gravity in your game and make the clones spawn in.

Step 12
Enemy Sprite 1 Script
Add these scripts to the Enemy Sprite 1

Step 13
Enemy Sprite 2
Add this code to Enemy Sprite 2

Step 14
Enemy Sprite 2
Add these 2 scripts on to the Enemy Sprite 2

Step 15
Enemy Sprite 2
Add this code to the Enemy Sprite 2 to add gravity to the sprite

Step 16
Enemy Sprite 2
Add these scripts on to Enemy Sprite 2 this will add the explosions and broadcasts a message to sequence the boss level

Step 17
Asteroid

We will be making 2 asteroids coming at once.

Step 18
Asteroid

Add this to the Asteroid

Step 19
Asteroid

This will make it go faster as it goes across the screen.

Step 20
Asteroid

Add these to Asteroid.

Step 21
Asteroid

This will make the explosions at the Asteroid's location.

Step 22
Enemy Boom

This will make a clone right where the enemy explodes.

Step 23
Com. Boom

This will make the Commander explosion.

Step 24
Boss

Add this to the Boss sprite.

Step 25
Boss

This code will make the Boss go from side to side.

Step 26
Boss

This will make the health to go down when the shield disappears.

Step 27
Boss

This will hide it when the next scene shows up or when the health is 0.

Step 28
Shield

This will control where the shield is and when it hides.

Step 29
Shield

This will change the costume effects.

Step 30
Boss Boom

This will be the explosion for the boss.

Step 31
Player View

This will make the next scene start.

Step 32
Atmosphere

This is the background.

Step 33
Armada Dralthi Cockpit 2

This follows the mouse pointer

Step 34
Stage

This will control when the waves are being sent

2001: Space Conqueror Info

Account

MVCode

Created By

teddy

Course:

ASP Scratch Lessons

Access Level

public

For Teachers and Schools

Teach coding to your students with MVCode Teach

MVCode offers an integrated product designed to teach coding to students.

Learn more about MVCode Teach