Learn to make the classic 2D arcade game Space Invaders in Unity. Space Invaders is a 1978 shoot ’em up arcade game developed by Tomohiro Nishikado. Within the shooter game genre, Space Invaders was the first fixed shooter and set the template for the shoot ’em up genre. The goal is to defeat wave after wave of descending aliens with a horizontally moving laser to earn as many points as possible.
00:00 – Introduction
00:40 – Scene Setup
09:35 – Invader Prefabs
15:09 – Invader Animation
22:02 – Invader Grid
32:36 – Invader Movement
41:04 – Player Movement
43:40 – Laser Shooting
56:49 – Killing Invaders
01:07:46 – Missile Attacks
01:15:16 – Game State
01:24:00 – Outro
NOTE: I accidentally left one clip out of the video of me adding a Rigidbody2D component to the « Invader_Base » prefab. For collisions to occur, at least one of the colliding objects needs a rigidbody. Set the « Body Type » property to « Kinematic » on the rigidbody so the movement of the invaders is not simulated by the physics engine.
🖥️ View the source code: https://github.com/zigurous/unity-space-invaders-tutorial
❤️ Support my work on Patreon: https://patreon.com/zigurous
👍 Subscribe for more Unity tutorials: http://www.youtube.com/c/zigurous?sub_confirmation=1
💬 Join the community Discord: https://discord.gg/DdYyWVb
⭐ Download my premium Unity assets: https://assetstore.unity.com/packages/tools/utilities/color-pro-204039?aid=1100lkmnE
····················································································
► Learn more about my work: https://zigurous.com
► Follow for news and updates: https://twitter.com/zigurous
#unity #unitytutorial #gamedev #unity3d #unity2d #gamedevelopment #indiegame #indiedev #madewithunity
Voir sur youtube