Two actors using mouse button down. Bad idead.
Hi all, good morning.
I just have implemented the camera sliding effect, it works with mouse button down, an motion linear velocity x same as template.
But i want to do it on the template of canon, then the canon uses too mouse button down.. and when you start to shoot, you shoot and move camera at same time.
If i use touch pressed for canon, then i can't graduate correct values of power because my touch dont is near the canon.
What is the best way to do that? create another invisible actor, front of canon working with touch pressed?
I just have implemented the camera sliding effect, it works with mouse button down, an motion linear velocity x same as template.
But i want to do it on the template of canon, then the canon uses too mouse button down.. and when you start to shoot, you shoot and move camera at same time.
If i use touch pressed for canon, then i can't graduate correct values of power because my touch dont is near the canon.
What is the best way to do that? create another invisible actor, front of canon working with touch pressed?
Comments
So
Rule
When: key F is down and when mouse is down
Cannon behaviors.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
But i want to do it fun, and playable, on an a iphone you cant press f, maybe... some actor called fire activated ?
When i select a bomb, then you cant move the cam...same as angry really?
thank you very much for help me
YAY works amazing!!
Thank you FryingBaconStudios!!