Help to implement a slot machine


Last Updated:

  1. aminet73

    aminet73 Member This Topic's Starter

    Joined:
    Sep 25, 2009
    Messages:
    8
    Likes Received:
    0
    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

    Joined:
    Jan 14, 2009
    Messages:
    547
    Likes Received:
    6
    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 This Topic's Starter

    Joined:
    Sep 25, 2009
    Messages:
    8
    Likes Received:
    0
    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

    Joined:
    Mar 16, 2010
    Messages:
    2
    Likes Received:
    0
    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 This Topic's Starter

    Joined:
    Sep 25, 2009
    Messages:
    8
    Likes Received:
    0
    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

    Joined:
    Mar 16, 2010
    Messages:
    2
    Likes Received:
    0
  7. joyfeel

    joyfeel New Member

    Joined:
    Jul 28, 2010
    Messages:
    1
    Likes Received:
    0
    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

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

    mrmikereed New Member

    Joined:
    Jan 15, 2011
    Messages:
    1
    Likes Received:
    0
    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

    Joined:
    Mar 20, 2011
    Messages:
    1
    Likes Received:
    0
    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

    Joined:
    Sep 21, 2013
    Messages:
    1
    Likes Received:
    0
    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

    Joined:
    Oct 5, 2013
    Messages:
    1
    Likes Received:
    0
    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

    Joined:
    Nov 20, 2012
    Messages:
    11
    Likes Received:
    0
  14. AbiramiN

    AbiramiN New Member

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

    Kaat72 Take a deep breath Guide

    Joined:
    Feb 26, 2013
    Messages:
    8,469
    Likes Received:
    5,375
    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...