I'm making a simple fruit machine / slot machine for Android. I'm thinking how I can make the "reel" appear to spin, then gradually stop.
The way I was thinking was to have a surround, and then have images randomly generated at the top, moving down the screen. Only part of the image would be visible.
Any help with ideas, or how it can be done, would be absolutely fantastic!
I followed a tutorial online here: http://mobile.tutsplus.com/tutorials/android/android-sdk-achieving-movement/
This showed me how to extend surface view and create a class with movement. All I need to be able to do is find how to put that into my relativelayout, with the correct size depending on the phone, so it fits into my layout instead of the static image which currently is in it's place.
Thanks,
There's a very good 3rd party open source project called Android Wheel that pretty much does everything involved in creating a slot machine for you. And if you want to customise it, it's under an Apache licence, so no issues there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With