• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Help to implement a slot machine

aminet73

Lurker
Hi,

I'm working on a slot machine. I'm having some problems implementing the animations. I'm looking for a simple algorithm which shows the 3x3 images.

I've tried to use the translation animation api together with tablerow and linearlayout - I've tried a programaticly aproach instead of the xml approach. Anybody got a good idea which layouts to use? Which Animation is suitable for the purpose?
 
There are a couple slot apps on the market. You could try contacting the developers thru their e-mail listed on the market app. I am sure you can find one that would be willing to help.

Worth a try anyway.
 
thanks for the suggestion :-)

But I wasn't looking for the whole solution - just a few hints on how to get on with the animations - and not least which layout to use
 
Hi! please, can you tell me if found a solution about this? you implement this with tableLayout? please i have to do the same....
 
Hi ftovalle,

No I ended up by extending the LinearLayout view. The LinearLayout then represents one slotColumn that spins independently from the other two. If you give me your emailaddress I can forward you the whole project.

/Anders
 
aminet73, can you forward your example to me in a zip file, assuming u still have it. :-) my email is theevilprogrammer at hotmail dot com. I'm working on a demo and am trying to figure out the slot machine effect. Thanks for any assistance.
 
When developing my slotmachine app I also tried to use different layouts and animations to get the job done. Got it sort of working, but it didn't look fluid. Eventually decided to use AndEngine and now the movement is nice and fluid.
 
Back
Top Bottom