brelto85 Active Member Licensed User Longtime User Feb 28, 2014 #1 I need to move an image, after clicked it, that is positioned in the center of screen It should move in a 0,0 position of the screen in the oblique way The Animation library move the image through the x and y axis but not in a oblique I found the ABExtDrawing and ABPhysucsEngine libraries but are difficult for me to check if there's that i need These libraries can do what I need?
I need to move an image, after clicked it, that is positioned in the center of screen It should move in a 0,0 position of the screen in the oblique way The Animation library move the image through the x and y axis but not in a oblique I found the ABExtDrawing and ABPhysucsEngine libraries but are difficult for me to check if there's that i need These libraries can do what I need?
Erel B4X founder Staff member Licensed User Longtime User Mar 2, 2014 #2 I'm not sure that I understand the required movement. However Animation.InitializeTranslate allows you to animate the view from (0,0) to any other coordinate. Upvote 0
I'm not sure that I understand the required movement. However Animation.InitializeTranslate allows you to animate the view from (0,0) to any other coordinate.
brelto85 Active Member Licensed User Longtime User Mar 2, 2014 #3 yes but move the image first of all on the x axis and after on the y axis I need to move the image on the oblique axis Upvote 0
yes but move the image first of all on the x axis and after on the y axis I need to move the image on the oblique axis
Erel B4X founder Staff member Licensed User Longtime User Mar 3, 2014 #4 That is not correct. Try this: Code: Copy a1.InitializeTranslate("", -100dip, -100dip, 100dip, 100dip) Upvote 0
That is not correct. Try this: Code: Copy a1.InitializeTranslate("", -100dip, -100dip, 100dip, 100dip)
brelto85 Active Member Licensed User Longtime User Mar 3, 2014 #5 thanks, it works but after the animation the button returns to the original position is possible to keep it in the destination position after animation? Upvote 0
thanks, it works but after the animation the button returns to the original position is possible to keep it in the destination position after animation?
Beja Expert Licensed User Longtime User Mar 4, 2014 #6 but after the animation the button returns to the original position is possible to keep it in the destination position after animation? Click to expand... Hi, 1- Check for the end of animation. 2- Re-initialize the button with the last x,y Cheers! Upvote 0
but after the animation the button returns to the original position is possible to keep it in the destination position after animation? Click to expand... Hi, 1- Check for the end of animation. 2- Re-initialize the button with the last x,y Cheers!