Another Scripting Problem...
Posted: Fri Feb 12, 2010 7:04 pm
i am trying to remake a game called Color Infection and i cannot make the script for the brown balls function correctly!
this is the code i am using;
If anyone has a solution it would help me a lot...
this is the code i am using;
- Code: Select all
(e)=>{
e.other.color == [1, 1, 0, 1] ? {e.other.color = [0.5, 0.25, 0, 1]} : {e.other.color == [1, 1, 0, 1]}(:)({}); e.other.onCollide = e.this.onCollide }
If anyone has a solution it would help me a lot...