Arrow keys Alpha
joelloyd
Member, PRO Posts: 119
I can get my arrow keys to stay constantly Alpha 0.4 by setting it in the actor, but i can set it so when it collides with actors it only changes to it then.
Iv tried all sorts like
when 'actor1' 'collides' with 'actor 2'
change attribute 'self.alpha to 0.4'
otherwise 1
Also tried setting up a boolean to trigger it but it just won't work. Any help where i may be going wrong ?
thanks
Comments
Are you selecting self.Color.Alpha from the Attribute Browser or are you typing it in (which won't work) or did you make a custom attribute named self.alpha? Also, collision rules will only trigger when the two actors are colliding. If your actors hit each other briefly and then separate, the Otherwise section of the rule will trigger.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I set an attribute Boolean and called it opacity. I then did the rule by selecting and not typing, I think some rule is overpowring, but I don't understand why because it isn't a conplex on. They are fully colliding too
Can you upload a screenshot of the rules ?
ill got one on. Whats a good image uploading site atm?
Google image uploading site and take your pick.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User