Question by 
               dasani2406 · Dec 15, 2016 at 05:59 AM · 
                spritecolorcollider2dspriterenderercolor change  
              
 
              What is the code for making the player died only when he collide with a platform that have a different color as him?
So basically you died when the player collide with a platform that does not have the same color as the player. And if the player has the same color as the platform and he collide with it, he stay alive.
I know I need to access the color of both the player an the platforms and then compare it. I can use an "if Statement" to compare them. I tried, but I can make it happen? Maybe I am not able to access the color of the player or the color of the platform.
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                