Waldemar Lima Well-Known Member Licensed User Longtime User Jul 11, 2021 #1 I'm making a game, with native elements (ImageView, Buttons and Labels) but I would like to animate ImageView with BitmapCreator, as it will be several ImageView I recommend using Threading to animate all asynchronously ?
I'm making a game, with native elements (ImageView, Buttons and Labels) but I would like to animate ImageView with BitmapCreator, as it will be several ImageView I recommend using Threading to animate all asynchronously ?
Erel B4X founder Staff member Licensed User Longtime User Jul 12, 2021 #2 BitmapCreator supports async drawings. Adding more threads will only make things run slower. Upvote 0
Waldemar Lima Well-Known Member Licensed User Longtime User Jul 12, 2021 #3 Erel said: BitmapCreator supports async drawings. Adding more threads will only make things run slower. Click to expand... would have any simple code example? Upvote 0
Erel said: BitmapCreator supports async drawings. Adding more threads will only make things run slower. Click to expand... would have any simple code example?
Erel B4X founder Staff member Licensed User Longtime User Jul 13, 2021 #4 Use XUI2D. You will not get better performance than it. Upvote 0
Waldemar Lima Well-Known Member Licensed User Longtime User Jul 13, 2021 #5 I'm making a card game using ImageView, I'd like to animate only 12 cards and the background... would it use too much hardware? Upvote 0
I'm making a card game using ImageView, I'd like to animate only 12 cards and the background... would it use too much hardware?
Erel B4X founder Staff member Licensed User Longtime User Jul 14, 2021 #6 If you do it correctly then it will run fast. Check the XUI2D examples... Upvote 0