Need help!
therobinsonbros@gmail.com
Member Posts: 34
I've been stuck on this problem for 2 days.
On my game I have 3 robots standing next to each other. Each robot had a small button on there chest. Now my goal is to touch each button on the robots triggering each of them to make a sound then fade away until there gone.
The trouble I'm having is when they are gone if I touch on the same location they will keep coming back.
On my game I have 3 robots standing next to each other. Each robot had a small button on there chest. Now my goal is to touch each button on the robots triggering each of them to make a sound then fade away until there gone.
The trouble I'm having is when they are gone if I touch on the same location they will keep coming back.
Comments
After a robot goes invisible, use the destroy actor behavior to really get rid of it.
I just dont know how to connect the button on there chest to the robot. I made a "hitbox" on the robot chest. I set the hitbox to invisible and place it over top of the button on the robot chest. So when I hit the button the invisible "hitbox" should be destroy, and trigger the robot to make a sound then fade away until it's destroy. I don't know how to connect both together.
Maybe it's a better way to do this?
On the hitbox, have a rule:
When touch is pressed Change Attribute: destroyRobot1 To: true
In the Robot1 actor, have a rule:
When attribute: destroyRobot1 is true Interpolate self.Alpha to 0, Duration = 1 second Timer (after 1 second) Destroy Actor
Change attribute
Game.fade to true
In the robot add a rule
Game.fade is true
Interpolate or whatever you use
How can i type in destroyrobot1 ?
@therobinsonbros@gmail.com Glad the other guys sorted your problem for you.
Any future threads you start, please make the titles more descriptive. "Need help" is meaningless as most people need help; it's what they need help with that's the point...
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps