1. Check out our app, Forums for Android! Download and leave feedback here!

Help to implement a slot machine

Discussion in 'Application Development' started by aminet73, Sep 25, 2009.

  1. aminet73

    aminet73 Member
    Thread Starter
    5

    Sep 25, 2009
    8
    0
    5
    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?
     

    Advertisement

  2. kabbie_mcfeely

    kabbie_mcfeely Well-Known Member
    61

    Jan 14, 2009
    547
    6
    61
    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.
     
  3. aminet73

    aminet73 Member
    Thread Starter
    5

    Sep 25, 2009
    8
    0
    5
    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
     
  4. ftovalle

    ftovalle New Member
    5

    Mar 16, 2010
    2
    0
    5
    Hi! please, can you tell me if found a solution about this? you implement this with tableLayout? please i have to do the same....
     
  5. aminet73

    aminet73 Member
    Thread Starter
    5

    Sep 25, 2009
    8
    0
    5
    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
     
  6. ftovalle

    ftovalle New Member
    5

    Mar 16, 2010
    2
    0
    5
  7. joyfeel

    joyfeel New Member
    5

    Jul 28, 2010
    1
    0
    5
    Hello !

    I have the same problem about this.

    Can you tell me how to do this?

    My address is

    joybee210@gmail.com

    THX!
     
  8. ChristianKl

    ChristianKl Member
    5

    May 27, 2010
    6
    0
    5
    How about using ListViews and overwriting getView to do something like position = mod(position + x
    , differentSlots.size()) ?
     
  9. mrmikereed

    mrmikereed New Member
    5

    Jan 15, 2011
    1
    0
    5
    I am having the same problem.

    Can you forward me your project as well?

    My address is mrmikereed@yahoo.com

    Thank you.
     
  10. wallym

    wallym New Member
    5

    Mar 20, 2011
    1
    0
    5
    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.
     
  11. pandirideepak

    pandirideepak New Member
    5

    Sep 21, 2013
    1
    0
    5
    I am trying to develop a slot machine application..
    Hope your example project help me a lot..
    Please any one can forward this to deepak.pandiri@gmail.com
    please...
    thank you :)
     
  12. NotoriousSlots

    NotoriousSlots New Member
    5

    Oct 5, 2013
    1
    0
    5
    Male
    CEO NotoriousSlots.com
    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.
     
  13. rockdenim

    rockdenim Member
    15

    Nov 20, 2012
    11
    0
    15
    App Development
    Fremont, CA
  14. AbiramiN

    AbiramiN New Member
    15

    May 5, 2015
    1
    0
    15
    Can anyone help me to implement 3x3 slot game?
    My email id is xxx@xxx.com
     
    #14 AbiramiN, May 5, 2015
    Last edited by a moderator: May 5, 2015
  15. Kaat72

    Kaat72 Guest

    I blanked your address, since it is unwise to post it in this large public forum. Spam and all... If anyone can help you, they should send you a private message. Cheers :)
     

Share This Page

Loading...