Swipe gesture
TackyAttack
Member Posts: 141
Is there anyway to make a Swipe Gesture in gamesalad, like in the photo app on the iphone?
Comments
I'm working on something that I need to know constant swiping motion, specifically a tickle. I want a rule that keeps some behaviors going while the finger is in motion over the actor.
rule
if game.releasex is greater then game.touchx
it's in the behaviors list (alphabetical order) and it's towards the top right after you double click on an actor.
What is a Rule? Are you kidding me?
Doesn't anyone read anything in the support section before posting on the forum anymore?
Good night...I'm gonna go sleep now!
Can you explain a little more about this:
"now depending on what your doing
rule
if game.releasex is greater then game.touchx
then do ?????
rule
if game.releasex is less then game.touchx
then do ?????"
I'm a little confused on what I should be replacing the question marks with.
Thanks.
--Lee
Example (tickle).
Create a boolean game attribute called tickled.
For the question marks have a behavior that says change game.tickled to 1 (true)
Then in the thing being tickled have a rule that says:
rule - when game.tickled is true
-----animate (put laughing animation sequence images in here)
-----play sound (laugh.ogg or giggle.ogg etc)
that was the most confusing thing (along with attribute=variable in the Game Section)
how are you supposed to know [Rule] = "if statement" as it says "When" not "If" and while I have used "while" had never used "When" before...sometimes reading all the documentation before getting your feet wet is more confusing than reading none...after you get a quick look/see you can develop questions and search for answers.
@synthesis...this isn't a swipe at you...hope you had sweet dreams!
MH