Playing..like a Real Video Game!!

Anurag Chawla
2 min readApr 13, 2021

--

As we made progress each step-by-step from 3D Cube Game Object that maps to Player to Prototyping that show case how they came along with unification of 3D Game Objects of Player, Enemies & Laser for our Galaxy Shooter 2D and using Work of Art (setting background , skins to player, enemies and laser) having fun in each of the steps…and see how much progress we have made till date..

Now adding concepts of Power-Ups — adding extra power to player like Triple-Shot..!!

Triple-Shot PowerUp

What is Triple-Shot - another game mechanics we called it as Power-Ups for player when Player collect it start shooting Three Lasers instead of One.

Design Principle — the concept of Triple shot Power-Up .

Here we have got the some Power-Up Sprite from the store and drag and drop at hierarchy window and updated it with name “TripleShot-PowerUp”. Along with it we apply physics & collisions using Box-Collider 2D -set Is-Trigger, Added Rigid Body 2D- set Gravity Scale to 0 as shown below

Added Triple-Shot Sprite from the store

Also we added the animation to Triple-Shot as soon as it comes down it start animating , so we need to add script to it PowerUp script using c# to add behaviour.

Triple-Shot animation

Behaviour includes -Update method will be called each frame when it moves down with a speed of say 3 meters and when they leave the screen they get destroyed..

PowerUp Script- for Triple-Shot

Its amazing to see — the feel of playing like a real video game and in coming next articles we go ahead and added addition Power-Ups — Speed Boaster and Shields and animating..those…

@GameDevHQ-Day 15…

--

--

Anurag Chawla
Anurag Chawla

Written by Anurag Chawla

Emerging Technologies - Power Virtual Agents | AI Chatbots | Multi-Cloud & DevOps | UI Technologies - React , Angular | Gaming Technolgies - Unity, XR- AR/VR

No responses yet