May 19, 2021Galaxy Shooter — Phase II: Core ProgrammingDay 52 — Aspiring Game Creator 2D Game Dev: Galaxy Shooter Objective: Balanced Power-Up/Pick-Up Spawning To achieve a balanced system for power-up & pick-up spawning, Galaxy Shooter makes use of a Random Loot Table based on Weights. In the example above, an Item class of Name, Prefab & Spawn Rate…Unity1 min readUnity1 min read
May 18, 2021Galaxy Shooter — Phase II: Core ProgrammingDay 51— Aspiring Game Creator 2D Game Dev: Galaxy Shooter Objective: Homing Projectile — create a homing projectile whick seeks the target. A rare power-up. Whether it’s the player’s homing freeze torpedo blazing toward the nearest enemy or the enemy’s heat seeking Retro-Rocket chasing down the player both “homing projectiles” use the same Seeker Class.Unity1 min readUnity1 min read
May 17, 2021Galaxy Shooter — Phase II: Core ProgrammingDay 50— Aspiring Game Creator 2D Game Dev: Galaxy Shooter Objective: New Enemy Type — New Movement This new enemy type, the Drone, makes use of the Bezier Curve. There is no magic, this is all math — being the Software Engineer Google Expert — this is the implementation: There…Unity2 min readUnity2 min read
May 16, 2021Galaxy Shooter — Phase II: Core ProgrammingDay 49 — Aspiring Game Creator 2D Game Dev: Galaxy Shooter Objective: New Enemy Type — New Long Range Laser Cannon The Long-Range Cannon makes use of Unity’s Line Renderer. Adding & configuring the component is simple, at least this implementation is. The line will have two points, start and…Unity2 min readUnity2 min read
May 15, 2021Galaxy Shooter — Phase II: Core ProgrammingDay 48 — Aspiring Game Creator 2D Game Dev: Galaxy Shooter Objective: Enemies can destroy Power-Ups & Pick-Ups Again, making use of the enemy’s Field-Of-View scan, once a power-up, pick-up or collectable crosses the enemy’s FOV, a laser beam shoots…Unity2 min readUnity2 min read
May 14, 2021Galaxy Shooter — Phase II: Core ProgrammingDay 47 — Aspiring Game Creator 2D Game Dev: Galaxy Shooter Objective: Implement wave system. From very early on Galaxy Shooter has had a basic Wave System. It’s actually a very important — if not the most important aspect of this game — stay tuned till the end to understand…Unity3 min readUnity3 min read
May 13, 2021Galaxy Shooter — Phase II: Core ProgrammingDay 46 — Aspiring Game Creator 2D Game Dev: Galaxy Shooter Objective: Smart Enemy Type: Create an enemy type that knows when it’s behind the player (BELOW) and FIRES a WEAPON Backwards. Making use again of the FOV, this…Unity2 min readUnity2 min read
May 12, 2021Galaxy Shooter — Phase II: Core ProgrammingDay 45 — Aspiring Game Creator 2D Game Dev: Galaxy Shooter Objective: Aggressive Enemy Type: If the ENEMY is within range of the PLAYER, the ENEMY will try and RAM the player ship. Using the FIELD-OF-VIEW scan from the Cloaking Class, once the PLAYER is “In View” the Aggression Class…Unity1 min readUnity1 min read
May 11, 2021Galaxy Shooter — Phase II: Core ProgrammingDay 44 — Aspiring Game Creator 2D Game Dev: Galaxy Shooter Objective: Create an enemy type that can avoid the player’s primary weapon. When a laser cannon is fired the enemy can detect the shot and avoid it. The enemy makes use of a cone shaped collider to scan for incoming laser fire or torpedoes and once the attack is detected it enables cloaking mode.Unity2 min readUnity2 min read
May 10, 2021Galaxy Shooter — Phase II: Core ProgrammingDay 43 — Aspiring Game Creator 2D Game Dev: Galaxy Shooter Object: Enemy Shields Random enemy ships will have the ability to generate shields, absorbing hits from laser cannon.Unity1 min readUnity1 min read