Space Shooter – Source Code

Space Shooter – Source Code for Learning Purpose

This is a sample of a vertical shooter 1943 style made using Unity 5. It’s all very basic, but might be useful if you are starting with Unity. The code is commented.


This sample features:

  • Pooling
  • Unity UI (Menus, HUD)
  • Basic enemy behavior
  • Pause/Resume
  • Save Best Score
  • Scrolling Background (Stars/space)
  • Controls for PC (keyboard)

Download de source code for the Space Shooter Sample Here. It’s free, but you can donate on if you’re inclined =)

All the assets from Kenney, you can download more (and support his work) on his page.


One thought on “Space Shooter – Source Code

  1. Simply want to say your article is as astonishing. The clarity on your put up is simply cool and that i could think you are an expert in this subject. Well with your permission let me to grasp your feed to stay updated with drawing close post. Thanks 1,000,000 and please carry on the enjoyable work.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s