Page 1 of 1
How to make an object move when I swipe my finger up?
Posted: Fri Mar 22, 2013 4:40 pm
by ahmedinvent24BUSGdU9
Hello
I have now an object and a line to move the object on, and I added a button when I click on it the object move on the line,,I want to remove the button and use swiping, when i
swipe up the object move on line1 , when I
swipe down the object move on line2, when I
swipe left the object move on line3, when I
swipe right the object move on line4, how to make this?
Please help
Note: This for mobile devices. (Android)
Thanks
Re: How to make an object move when I swipe my finger up?
Posted: Fri Mar 22, 2013 7:19 pm
by Dixie
hi ahmedinvent24BUSGdU9
whew.. what a long name !... I don't have the time to adjust the scripts, but if you substitute going from card to card in the stack that is attached with code to move a graphic, it will do what you wish... this stack allows you to swipe to the left or right or up or down...
be well
Dixie
Re: How to make an object move when I swipe my finger up?
Posted: Thu Apr 11, 2013 8:36 pm
by ahmedinvent24BUSGdU9
Hi, Dixie
This is not working!
Re: How to make an object move when I swipe my finger up?
Posted: Thu Apr 11, 2013 8:43 pm
by Dixie
Can't help you... it works here both in the simulator and on an iphone.
Dixie
Re: How to make an object move when I swipe my finger up?
Posted: Thu Apr 11, 2013 8:56 pm
by ahmedinvent24BUSGdU9
Oops!
I'm Using Android!
Sorry!
How to make it working on Android?
Ahmed F.
Re: How to make an object move when I swipe my finger up?
Posted: Thu Apr 11, 2013 11:06 pm
by Simon
Here is the lesson:
http://lessons.runrev.com/s/lessons/m/4 ... ll-a-field
It uses text but you can use a graphic instead.
Simon
Re: How to make an object move when I swipe my finger up?
Posted: Fri Apr 12, 2013 12:41 pm
by ahmedinvent24BUSGdU9
Hi Simon
So how can I use graphic instead the field?
Thanks
Re: How to make an object move when I swipe my finger up?
Posted: Fri Apr 12, 2013 2:20 pm
by KennyR
Re: How to make an object move when I swipe my finger up?
Posted: Fri Apr 12, 2013 4:30 pm
by Dixie
ahmedInvent.....
Stack with a graphic on a card... swipe up to move it 'up, swipe 'down' to move it down..
Dixie
Re: How to make an object move when I swipe my finger up?
Posted: Fri Apr 12, 2013 6:53 pm
by ahmedinvent24BUSGdU9
Woow!
Thank you Dixie!
But still have a question
How to make the
swipe left and right?
Best Regards
Ahmed F.