User Tag List

Results 1 to 4 of 4

Thread: Making hide and seek/hidden objects game

  1. #1
    No Products Registered

    Join Date
    Dec 2010
    Location
    Indonesia
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Making hide and seek/hidden objects game

    Hi, I want to make a hidden objects game similar to Mystery Case.
    I've read the Mystery of Paris tutorial and it's very helping me in doing it.
    But can I make the list of the objects player has to find in randomly?
    Since I'm making the game for children, so the game must be fun and simple.
    I've already prepared 10 objects in the scene, they are:
    - tomato
    - apple
    - orange
    - grape
    - spinach
    - pear
    - banana
    - corn
    - fish
    - peach

    What I want is the player only needs to search 5 objects in order to win.
    But the list of the objects appears randomly, so when the player played it the second time, the five objects he/she needs to find are different from the first one.
    At the other hand, the location of the objects in the scene is still the same.
    And then I wonder can we add the swf files into mmf?
    Can somebody help me?
    Thank you very much


  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Pineapple's Avatar
    Join Date
    Oct 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making hide and seek/hidden objects game

    First, you'd need to generate your random list.

    *Set flag 1 on for each of the 10 items

    *Object: if flag 1 on, set alterable val A to 1, if off, set to zero. (one condition for each object)

    *Set global val A to: Object1 alterable value A + Object2,3,ect. (basically, add val A of all objects together, should give Global A the value of 10 when flag 1 is on for all of the objects)

    Then do something like:
    *If global val A is greater than 5, set global B to random(10)
    *Global B=0 & Global A is greater than 5, set flag 1 off for Object1 (copy this for globalB=1 through 9)

    Basically, you're checking to see if more than 5 objects have flag 1 on, and then eliminating items at random until you're left with just 5.

    I hope this makes sense, I'm not too well versed at sharing code examples, but once you have your random bunch of 5 items, figuring out the rest should be easy.

  3. #3
    No Products Registered

    Join Date
    Dec 2010
    Location
    Indonesia
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making hide and seek/hidden objects game

    OK, thanks for your help =D
    I'm sorry. I'm very new in this.
    So how do we make flag on MMF?

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Pineapple's Avatar
    Join Date
    Oct 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making hide and seek/hidden objects game

    In the event editor, right click the box below the object, and select "flags"

    If you're super new, perhaps spending some time with the built in help file will do you some good.

Similar Threads

  1. Upon pressing key, hide/show 2 objects?
    By J3sseM in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 10th February 2013, 06:28 PM
  2. Hidden objects (it thinks objects inside the screen are outside?)
    By SoftWarewolf in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 16th December 2012, 11:15 PM
  3. Performance issues: hidden List Objects
    By Boba Fonts in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 26th April 2012, 10:59 PM
  4. (ask) Problem in making a hidden game
    By L13n in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 24th January 2011, 02:20 PM
  5. Hide objects without actions
    By Blood_Wist in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 17th May 2009, 05:14 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
  •