How to Make a Space Shooter Game in MakeCode Arcade

Subscribers:
31,400
Published on ● Video Link: https://www.youtube.com/watch?v=0tUQ51H6hEQ



Category:
Guide
Duration: 23:03
87,942 views
1,161


Learn how to make a 2D "space shooter" style game in MakeCode Arcade, a free online tool for making retro-style games!

Follow along at: https://arcade.makecode.com

0:00 - Intro to MakeCode Arcade
0:45 - Add starfield
1:15 - Create player spaceship
2:37 - Move with buttons
2:52 - Staying on screen
3:26 - About code execution
4:28 - Shooting
5:45 - Velocity and the XY-plane
7:32 - Spawning enemies
9:28 - Sprite placement
10:20 - Enemy movement
11:14 - Random Y position
12:35 - Collision detection
13:35 - Losing life
14:30 - Frame rate discussion
15:58 - Destroying enemies
17:20 - Expanding blocks & particle effect
19:22 - Search & screen shake
20:04 - Lasers impacting
21:49 - Gaining points
22:04 - What's next

Here's the final result:
https://makecode.com/_gj2YY16TkCj9

Expand on your game by:
- Adding health bars (https://youtu.be/m7avrQrLP3M)
- Increasing the difficulty (coming soon)
- Adding power ups (https://youtu.be/S-WMUIwQ7uM)

Discuss this video at: https://forum.makecode.com/t/how-to-make-a-space-shooter-new-video/3397







Tags:
micro:bit
pxt
makecode
makecode arcade
make your own game
how to make a game
space shooter
learn to code
learn javascript