1. Download our Official Android App: Forums for Android!

Apps Help to implement a slot machine

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

  1. aminet73

    aminet73 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    8
    Joined:
    Sep 25, 2009

    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 Android Enthusiast
    Rank:
    None
    Points:
    61
    Posts:
    547
    Joined:
    Jan 14, 2009

    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 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    8
    Joined:
    Sep 25, 2009

    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 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Mar 16, 2010

    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 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    8
    Joined:
    Sep 25, 2009

    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 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Mar 16, 2010

    Mar 16, 2010
    2
    0
    5
  7. joyfeel

    joyfeel Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jul 28, 2010

    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 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    6
    Joined:
    May 27, 2010

    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 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jan 15, 2011

    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 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Mar 20, 2011

    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 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Sep 21, 2013

    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

    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Oct 5, 2013

    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 Newbie
    Rank:
    None
    Points:
    15
    Posts:
    11
    Joined:
    Nov 20, 2012

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

    AbiramiN Lurker
    Rank:
    None
    Points:
    15
    Posts:
    1
    Joined:
    May 5, 2015

    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
    Rank:
    None
    Posts:
    0
    Joined:

    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...