Project created for one of the 30 days of codevember 2018. The theme of that day was RGB. For this project more than a game I decided to create a mechanic that I found interesting: Bullets that affect the color of objects.
First I had to create special shaders that made a wave effect that was eliminating a specific color, then
Create an Enemy script that will indicate the type of enemy that it is and the color that affects it, in this way achieve that green bullets only affect green enemies, red enemies, red enemies, etc. Bullets work with any object that has the special shader of RGB and alters the channels one by one.
Assets Used
Epic Toon FX
Tai Chi
MS_WeaponVol01
Mixamo Melee Ax Pack