50-Shield Strength Implementation

In this post, the shield strength will be implemented:

  • Visualize the strength of the shield through color changing of the
  • Allow for 3 hits on the shield to accommodate visualization

The above requirement can be translated into the following actions:

  • Assign a strength value to the shield
  • Get a handle to the ShieldVisualizer renderer and adjust its color according to the strength value (using Switch statement). To change color, we can use “gameObject.renderer.material.color = Color.red” or similar.




Progress of developing the classic galaxy shooting game using Unity and C#

Recommended from Medium

Salesforce Announces Hyperforce!

Retaining Ganglia metrics on Amazon EMR Clusters

Builder Design Pattern

Guideline for Developing Software

Cisco Capture The Flag — Meraki Version

Witnet Oracle Services Now On Celo

Serve and Deploy Flask App With XAMPP Apache on Windows

17 Google Sheets Tips & Tricks You Need to Know

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Technologist and Unity developer

More from Medium

OpenShift Service Mesh on IBM System Z/LinuxONE Part I: Installation

The big red letter `O` with parts of it shifted is the logo of Red Hat OpenShift. The little blue sails are the logo of Maistra, the main component of Red Hat OpenShift Service Mesh. The asymmetrical vesica piscis below the OpenShift logo is the logo of the Kiali subsystem of Service Mesh. The little blue Go Gopher wearing a Tyrolean hat perched atop an IBM LinuxOne chassis is the logo for the Jaeger Tracking system used in Red Hat OpenShift Service Mesh.

Complete Overview Of IoT Tech Stack And Its Components — TechSketcher

Hive Performance Tuning

FinPsych 101 — How Can Banks Safely Lend to the Unbanked and Underbanked?

EmpathAI’s predictive capabilities