User Tag List

Results 1 to 4 of 4

Thread: Random Card Deck Help

  1. #1
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2015
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Random Card Deck Help

    Hi

    Looking for some help in making a simple card app, i want to be able to flip card to reveal then flip back. Im also looking to make it drag and drop around the screen. Would anyone have any advice.

    Regards

    Alec

  2. #2
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleSWF Export ModuleFirefly 3D Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    fnkycoldmadeanr's Avatar
    Join Date
    Jul 2017
    Location
    Melbourne, Australia
    Posts
    220
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    This can be done a ton of different ways

    For a standard deck of cards

    I'd make one active

    With alterable values
    CardSuit
    CardValue

    Flag
    IsFlipped

    I'd store the card back in the stopped animation

    I'd create 4 custom animations one for each suit. Hearts(0), Diamonds(1), Clubs(2), Spades(3)

    With the card value as each frame
    A,2,3,4,5,6,7,8,9,10,J,Q,K

    And use the built in drag and drop movement

    Run loop 4 times 'SetCardSuit'
    Run loop 13 times 'SetCardValue'
    Create Card
    Set CardSuit to SetCardSuit.loopindex
    Set CardValue to SetCardValue.loopindex

    Card is clicked
    Set flag Isflipped ON

    IsFlipped = ON
    set animation to custom animation 1 + CardSuit
    Set Frame to CardValue

    IsFlipped = OFF
    set animation stopped

    Not at PC so can't do an example mfa

  3. #3
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2015
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wow thank you

  4. #4
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2015
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi

    Having a little issue, would you mind having a look sorry.

    Regards

    Alec
    Attached files Attached files

Similar Threads

  1. 5 Card Trick - a magic card trick app on Google Play today
    By AyreGuitar in forum Android Released Games & Apps
    Replies: 7
    Last Post: 5th June 2016, 07:33 AM
  2. large deck
    By bugmenot in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 27th January 2016, 03:10 PM
  3. High Quality Card Deck
    By Ryan in forum File Archive
    Replies: 0
    Last Post: 31st July 2010, 07:03 AM
  4. Assign random word to card
    By Ela15 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 3rd June 2010, 08:51 PM
  5. random card draw help
    By csj1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 28th August 2008, 07:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •