Hi,
i’ve tried to program a slotmachine like scroller.
I needs to do following:
- Has lot’s of thumbs (images in a row)
- Scroll vertical (unlimited) so when go’s offscreen, move y to outside top of screen en rescroll etc etc
- Can accelerate
- Can stop
As you can see, it’s identical to a slot machine, i like to do this without animation, so the current slot machine source code won’t satisfy!
first try: i’ll tried it with accelerating the images (so each image) has a speed and when off screen place it back to the top off-screen so simply replacing the y. With this solution i got stuck with the acceleration, images are going over each other.
Second try, doing it with two identical groups with images and then scroll the whole group and then place the group on top of the other, also the same problem as the first try, got the speed conflict, images overlapping.
Anybody got an idea how i can accomplish this ?
Thanks [import]uid: 2734 topic_id: 28474 reply_id: 328474[/import]