User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 24

Thread: finding all the combinations

  1. #11
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,421
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    Going to look at it.

    in this case I think it's B. If there are 3 of the same symbols in each row then it's a win. no matter where they are.. so the more of the same symbols, the more winlines you have

    so if it looks like this

    x-o-o
    x-x-x
    0-x-x

    then
    x-0-0
    0-x-x
    o-o-o is a win

    o-o-o
    x-o-x
    o-x-o is also a win.

    With other words, it's not a straight line

    Edit: so your example is only for straight lines, like you said.

  2. #12
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    Ah ok, then here's an example checking what you are describing:

    slot_test_1.mfa

    (take a look at list object on the right for winning combinations)

    I think working with string functions makes these things quicker and easier
    without need to hard code situations

  3. #13
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,421
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I'll take a look as soon as I am awake lol... Need coffee....

  4. #14
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,421
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Yep, that is what i am looking for, now I need to figure out your code how it all works, so it tells me, how many win lines there are, vs how many of the same symbols are on the screen.

  5. #15
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    cool, if you still need help after the coffees let me know

    how many win lines there are, vs how many of the same symbols are on the screen
    I think I don't understand (win lines= straight matching lines in the same row?)
    but I'm pretty confident we can tweak the example for this

  6. #16
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,421
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    It could be straight lines, but also every other line in any order. as long if there are 1 or more of the same symbols in each reel. See post 11
    Now it shows like that there are 5 symbols matching

    0 4 0
    4 1 4
    4 4 4

    there are 8 win combinations for 3 4's .

  7. #17
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    mmm
    isn't it simply

    (number of occurences reel 1)
    * (number of occurrences reel 2)
    * (number of occurrences reel 3)

    ?

    If so, you could easily have it with the string parser numberofsub function,
    use it for every reel (column) subsequently
    and multiply by the previous

    see example and check out if works correctly:

    slot_test_2.mfa

  8. #18
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,421
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Yep, that's what I meant
    You rock..
    Now figuring out all the logic.

    24 events vs 300-600 events....

  9. #19
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,554
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    Wow amazing schrodinger, what a time saver. I must admit it makes my head hurt though, too clever for me.

  10. #20
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,421
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    I know right... I am still figuring it all out.. all those formulas is making my head spin more then the slot machine

    If I am able to figure it out, then it will save a HUGE amount in file size, since I only need 1 active vs. 6 actives with each 60 frames, which add up in the file size..

    His code is amazing, and I thought I was good at it, but he puts it together while it took me weeks to figure something out properly... except it's a lot more events haha..

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 31st July 2014, 04:44 PM
  2. Adding data to list based off multiple combinations of array variables?
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 10th August 2013, 02:19 PM
  3. Simulate Key combinations useing ControlX???
    By Locaz00 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 3rd November 2008, 04:07 PM
  4. Keyboard Combinations
    By Locaz00 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th October 2008, 10:16 AM

Posting Permissions

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