Card Calling
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Card Calling

  1. #1
    Senior Member
    Join Date
    Mar 2000
    Posts
    303

    Post

    I'm making a black jack game and was wondering if you can help me out alittle. I'm trying to think of an easy way to show the cards. I was going to have all the cards not visible until the random number called it. But the problem with this appraoch, is I will have to have 52 invisible cards for every card dealt... this might mean having 14 invisible decks! I'm used to programming in Visual Basic where you can set the variable of the card...ie AceHearts = 1, TwoHearts = 2, ect. You can do this also in flash, but if the random number was 1, then what do I set? Do I call the target? and if so...where? Do I set up say 6 or 7 card templates and if the number was 1, call the Acehearts to template 1? Any advice would be appreciated


    Steve

  2. #2
    Junior Member
    Join Date
    Apr 2000
    Posts
    10

    Post

    Your problem can be easily solved by using Duplicate Movie Clip. You'll find in Action Clip list. Pay attention to the "depth" of your duplicated movie clip when you are using it.
    You could figure it out!

    ------------------
    halfnet from Wingames
    halfnet@hotmail.com

Posting Permissions

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




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com