manipulating view properties VS redrawing canvas

capisx

Member
Licensed User
Longtime User
hi everybody...

I'm still new in b4a and i would like to ask which is the best way to make a smooth moving object animation, whether by manipulating view properties or using canvas?
in my case i'm using left view properties and manipulate it to make it moving from side to side, but when i run the app in real device its movement sometimes laggy.
sorry if my question is silly and my english is bad..

Thanks...
 

capisx

Member
Licensed User
Longtime User
Thanks Erel for your fast response... :sign0098:
i've already read and implemented the animation lib on my previous project.
but, can i capture the left/top value while the view is being animated ? if it can, how to capture the value?
 
Last edited:
Upvote 0

capisx

Member
Licensed User
Longtime User
i want the value because i need to know where is the object position while the object is moving.
currently I'm working on game projects, that's why i was asking which is the better way to make moving object either by manipulating the view properties or by using canvas. for me is much easier to manipulate view properties than using canvas, but the result is not too smooth. maybe i must take more time to learn to use canvas.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…