User Tag List

Results 1 to 5 of 5

Thread: What is flag?

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2011
    Location
    East of Africa
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What is flag?

    I'll be happy if any one could tell me what is a flag?, how yo use it. What are these for? 1. Flag On 2. Flag Off 3. Toggle flag

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: What is flag?

    A flag is just a value that can either be on or off - active objects have 32 of them (numbered from 0 to 31). Flag On and Flag Off... should have obvious uses, and Toggle flag will set a flag to On if it's Off, and Off if it's On.

  3. #3
    Clicker SWF Export Module

    Join Date
    May 2010
    Location
    Tennessee, USA
    Posts
    247
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: What is flag?

    Nyasiro-

    Flags have many uses.
    If you wanted to make a game like PAC-man for instance, you could set the ghost flag 1 to "off".
    If PAC man eats a big dot, set the ghost flag 1 to "on"

    When PAC man collides with the ghost with ghost flag on,
    PAC man eats the ghost.

    If PAC man collides with the ghost with ghost flag 1 off, the ghost eats
    PAC man.

    Just an example - hope it helps.

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2011
    Location
    East of Africa
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: What is flag?

    Thanks Drcooper

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2011
    Location
    East of Africa
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: What is flag?

    Thanks, DavidN

Similar Threads

  1. high flag # bug
    By Ahiru in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 4th April 2015, 06:28 AM
  2. [REQ] Set flag by expression
    By Olivier in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 28th April 2013, 07:48 PM
  3. I need more flag
    By MEHRDAD in forum Multimedia Fusion 2 - Technical Support
    Replies: 24
    Last Post: 23rd January 2012, 06:37 PM
  4. Flag Frenzy
    By Kisguri in forum iOS Released Games & Apps
    Replies: 0
    Last Post: 24th August 2011, 08:03 PM
  5. Set Internal Flag 2 Not Working?
    By Michael_Gummelt in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 1st August 2006, 09:57 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
  •