User Tag List

Results 1 to 2 of 2

Thread: Display Cards using Deck of Cards extension

  1. #1
    No Products Registered

    Join Date
    Dec 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Display Cards using Deck of Cards extension

    I am trying to use deck of cards extension to create 4 random hands of cards for a bridge type card game. After I create 4 players, fill deck, shuffle, deal 13 cards to players, I know I need to use group.good to display the cards. Do I need to use a fastloop to index each value of deck of card extension? When I just position x,y of group.good I only get 1 card on the frame.

    It seems something like start loop deal cards 52 times, on loop deal cards, set position x+counter, y of group.good should work in theory but there has to be an easier way using the extension. Any help or ideas appreciated.

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2011
    Location
    France
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello,
    What do you think about that. You create a list including all your cards value. In a fast loop, you define a random value within the number of cards. If you want to select 5 cards, you define a 5 repetition loop. on each loop you cut the line defined by the random number and you past it in a new list. And you select the cards defined in your second list.

Similar Threads

  1. Deck of Cards Extension (Fully Flashed!)
    By Eliyahu in forum Extension Development
    Replies: 15
    Last Post: 31st July 2011, 02:30 PM
  2. Deck of Cards Object
    By Eliyahu in forum File Archive
    Replies: 1
    Last Post: 28th July 2011, 08:31 PM
  3. Cards of Ten
    By nivram in forum File Archive
    Replies: 0
    Last Post: 4th December 2008, 09:01 PM
  4. 52 cards in one qualifier
    By nivram in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 6th June 2008, 05:55 AM
  5. Trying to import a standard deck of cards
    By jsoares in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 16th April 2008, 10:16 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
  •