User Tag List

Results 1 to 4 of 4

Thread: Please help me a Fastloop way for this mini game

  1. #1
    No Products Registered

    Join Date
    Dec 2013
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Please help me a Fastloop way for this mini game

    Hi, im here again (and my bad English again)

    My mini game is this:
    - 5x5 squares in grid
    - when you click the Randomize Color button, its will change each square to red or green
    - when you click the Destroy! button, if a column have 3 continuous squares with same color (3 red, or 3 green), those 3 squares will be destroy.

    I tried with Fastloop for an overall method, that can easy change the rule to check 3, or 4, or 5, etc... continuous squares, but i failed.

    Please help me an example, thanks you very much.
    Attached files Attached files

  2. #2
    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)
    I think you could benefit from an underlying "array" structure.

    Like, you create your grid in the array, and then replicate it visually on the frame with actives.

    Then you check the array column by column,
    and simply
    -when array cell = red >> add 1 to red counter / set green counter to 0
    -when array cell = green >> add 1 to green counter / set red counter to 0

    reset counters when you go to next column too

    when red or green counter = 3
    set counter to 0
    reset last three array cells backwards from index position
    and destroy relative active objects

  3. #3
    No Products Registered

    Join Date
    Dec 2013
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I never use array before... dont understand how it work

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    jn2002dk's Avatar
    Join Date
    Mar 2014
    Posts
    217
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is a tutorial on arrays by Snail On


Similar Threads

  1. Here's my first ever mini game creation!
    By Emerson3 in forum Fusion 2.5
    Replies: 3
    Last Post: 29th April 2015, 12:20 PM
  2. mini game with faster time
    By TheCrimsonTaco in forum Fusion 2.5
    Replies: 2
    Last Post: 7th November 2014, 01:22 AM
  3. Mini Game selection menu?
    By Emerson3 in forum Fusion 2.5
    Replies: 3
    Last Post: 22nd July 2014, 08:01 PM
  4. creating a mini game help.
    By strangely in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 4th December 2008, 02:26 PM
  5. pacman-like mini-game
    By frankodragon in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st September 2007, 01:44 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
  •