User Tag List

Results 1 to 3 of 3

Thread: Looking for a Black Jack MMF2 example (simple)

  1. #1
    Clicker Multimedia Fusion 2
    2dgamers's Avatar
    Join Date
    Jul 2006
    Location
    United States
    Posts
    63
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looking for a Black Jack MMF2 example (simple)

    Jeff sent me a "video poker" example but it is too much for my feeble brain to wrap around it. (Thanks Jeff, I appreciate that!)

    So does anyone have a simple black jack example that doesn't use any extraordinary extensions -- just the ones that come with MMF2, (expansion packs included?)

    If you could make a quick, commented example, I would greatly appreciate it. Thanks!

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Burfelt's Avatar
    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    526
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Looking for a Black Jack MMF2 example (simple)

    I did a blackjack game a couple of years ago, but I don't have it at hand:


    But it's not that hard to make one. Basically I had 2 important objects. The list object and one active object.

    The active object stored 4 useranimations (diamonds, clubs, hearts, spades). And the cardgfx being directions 1 to 13 in each useranimation. 11-13 would be jack,queen,king.

    The list object would store all possible cards in the deck (52). Everytime I needed to generate a card, I would randomly select a line in the list object and create the active object with the right animation/direction to display the right card. Then delete the line from the list to make sure not to have the same card drawn twice.

    For player and dealer turns I used 2 different groups to keep track of who was drawing the cards and where to place them.

    Each time a card is drawn by player or dealer, I would have a counter for each one, which would keep track of the card values by adding up as cards were drawn.

    Hope this gives you some ideas how to make it?

  3. #3
    Clicker Multimedia Fusion 2
    2dgamers's Avatar
    Join Date
    Jul 2006
    Location
    United States
    Posts
    63
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Looking for a Black Jack MMF2 example (simple)

    It gives me some ideas -- I'll see what I can come up with. If you find that code though, it would help to see an example. ;P

Similar Threads

  1. Black bars?
    By GeioRay in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th April 2013, 02:34 PM
  2. How do you render black (0,0,0, 255)?
    By redpandagames in forum SWF/Flash Export Module Version 2.0
    Replies: 6
    Last Post: 7th October 2012, 10:42 PM
  3. True black
    By Bipolar_Games in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 20th November 2008, 01:00 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
  •