Sprite speed problem

Hi guys, I’m building an app that has an effect like a slot machine, but I used multiple sprites as the moving object. I set the speed for all sprites to be the same, but after running some time, the coordinates of the sprites tend to be shifted (the starting position of all sprites are the same).

May I know what’s the issue here?
https://x.thunkable.com/projects/5db4731903a402661e6cc682/2001818e-e34b-4c36-a321-9a56f48717f6/blocks

Hi,

The discrepancy is due to the appearance of a delay. I do not see blocks on your screen for synchronizing actions on sprites. Each sprite collides separately and the coordinate 0 is set separately in it. Why did you decide that the sprites should always be moving at the same time?

Thank you for your quick response. May I know what is your suggestion on synchronizing the sprites? Because like in a slot machine, each object needs to be moved together, so the sprites won’t collide with each other (else it just makes the “slot machine” look strange).

I just wanted to check whether the speed of the sprites can be synchronized, but it seems like my method doesn’t work.

Check it

https://x.thunkable.com/projects/5de8fc18528d3ce911758b40/project/properties/designer/

Best regards, Alex
ACtech demo project
Thunkable X Basic Programming Course
Block Reference
Component Reference
Bug tracker
Polipaint
Map canvas
Method Inspector
Performance

I’ve tried your program, but out of 10 times, there are still several times, where the sprites did not move at the same time.

Besides, what I want is something like a slot machine, where the all the sprites will move at the same speed, and eventually slow down.

Reference image of a slot machine: https://www.google.com/url?sa=i&source=images&cd=&ved=2ahUKEwiPjbDj2Z7mAhXf7HMBHZTZDG4QjRx6BAgBEAQ&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DEX-uzP6BdjI&psig=AOvVaw0I7rqzoXxNfEe5-shLnJys&ust=1575641927918757

I think that due to some problems, the simultaneous movement of sprites in Thunkable X is possible only in one case - when all three images are in one moving sprite. How to do it? Unfortunately, with the available functionality, I do not know how to do this.

You can try the solution when sprites fly out from the borders of the canvas, in which the y-coordinates are aligned with one sprite, but the canvas does not work with negative coordinates.

Check new version

https://x.thunkable.com/projects/5de8fc18528d3ce911758b40/project/properties/designer/