User Tag List

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

Thread: I need help with an Idea...

  1. #11
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    On my idea:

    Add all the cards to a qualifier group

    Use the condition to pick a random object in a zone (off screen)
    Place all the cards to start with there.

    Then under the qualifier you can set the position you want the card to go.

    It will move the random object that was picked to that position.

    I can dig up an example if you can't figure out what I do.

  2. #12
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Personally, I'd do it Kondias' way, but I don't see why the other methods wouldn't work too.
    The hard part is going to be working out whether you want an Ace to represent a 1 or 11 (eg. A+A+4+5 = 21), and splitting pairs.

  3. #13
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Jun 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the reply Jeff. An example would be great if you have one.

  4. #14
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Not to take anything from Jeff and this is an 4 year old post.

    I have a "Random Card Example" on my website.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  5. #15
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Eliyahu has since made a Deck of Cards extension which simplifies this greatly

  6. #16
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Jun 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for example Marv. For my clarification, once the card object is picked from the zone is the object removed from the zone? So the next time you pick a random object from that zone, the same object won't be chosen again?

    I'm not working on a card game but trying to understand the concept of the pick random object from zone. Where is the object that was picked stored if I want to do something with the picked object later or destroy it?

  7. #17
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    You give all the objects in the zone the same qualifier, then you pick one particular qualifier object at random from within that zone, and move it somewhere else.

  8. #18
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ST View Post
    Thanks for example Marv. For my clarification, once the card object is picked from the zone is the object removed from the zone? So the next time you pick a random object from that zone, the same object won't be chosen again?

    I'm not working on a card game but trying to understand the concept of the pick random object from zone. Where is the object that was picked stored if I want to do something with the picked object later or destroy it?
    As Chris said is good. The cards are removed from the zone into another. They are still available to blow up if you want, or move them again.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  9. #19
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ehhh...board games seem to be easy but not....its VERY difficult........I'm trying to make a SUDOKU game and I'm stucked around 4 weeks...ChrisBurrows and Phi helped me A LOT...but I'm stucked in trying to check for duplicate numbers arrays in the same column, row or group.....

    but I think that you case it's a little more easy..I dont know...maybe I'm wrong..

  10. #20
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by paobrasil View Post
    Ehhh...board games seem to be easy but not....its VERY difficult........I'm trying to make a SUDOKU game and I'm stucked around 4 weeks...ChrisBurrows and Phi helped me A LOT...but I'm stucked in trying to check for duplicate numbers arrays in the same column, row or group.....

    but I think that you case it's a little more easy..I dont know...maybe I'm wrong..
    The quick and dirty way to do a sudoku style check would be to save each column/row/group's values in a string like so:

    row1 = "2,3,1,x,5,6,8,9"
    column1 = "1,2,3,4,5,6,7,8,9"
    group1="x,x,4,5,2,9,8,5,1"

    You'd just check to see what string doesn't have an "x", meaning it's a completed row/column/group and then check for doubles in that specific string. If no doubles, the string is okay. When all strings are full with no doubles, the game is done.

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. Brilliant Idea! No idea how to implement!
    By ProdigyX in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 27th November 2011, 04:46 PM
  2. PMO Idea
    By Impresario in forum File Archive
    Replies: 2
    Last Post: 28th February 2008, 03:27 PM
  3. SDK Idea
    By vortex2 in forum Extension Developers Lobby
    Replies: 13
    Last Post: 26th December 2006, 02:44 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
  •