User Tag List

Results 1 to 2 of 2

Thread: Detect when no more moves in Advanced Game Board

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Aug 2011
    Location
    Beverly Hills, CA USA
    Posts
    508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Detect when no more moves in Advanced Game Board

    I am looking at the Advanced Game Board Blox sample and would like to detect when there are no more possible moves. How could this be done?

  2. #2
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Detect when no more moves in Advanced Game Board

    You would have to disable all other game mechanic tests and run a loop over the entire board trying out all possible moves. All this shouldn't be recorded or alter the board state. It no valid move was found you know that there was no possible move left.

    As a speed optimization you can stop checking for any other valid moves when it finds the first one.

    You would have to perform this check after each move for example or whenever it is relevant.

Similar Threads

  1. Advanced Game Board Object (AGBO): how to detect squares of 4 bricks?
    By Pineapple in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 26th April 2013, 06:58 PM
  2. Advanced Game Board object example please
    By PandaExplosion in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 15th July 2011, 03:35 AM
  3. Need help with Advanced Game Board object
    By jellytot in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 16th September 2008, 07:20 PM
  4. Need help converting this to Advanced Game Board
    By jellytot in forum File Archive
    Replies: 0
    Last Post: 16th September 2008, 07:19 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
  •