User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: Stupid Question (still need help)

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    Game_Master's Avatar
    Join Date
    Jul 2007
    Location
    England
    Posts
    1,705
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Stupid Question (still need help)

    My question is:
    What are alterable values, and how do they help?

  2. #2
    Clicker Fusion 2.5

    Join Date
    Jun 2006
    Location
    Stockholm, Sweden
    Posts
    1,529
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stupid Question (still need help)

    Hi!
    Alterable values is just like a counter, but instead it's binded to a Active/Object (or "Global", hmm.... Global Values, that is not binded to a Object, but instead a Value that can be returned in any frame).

    Alterable values can be used for many good things, like ID handeling, life countering, True(1) or False(0) state (maybe use flags instead), timer/timing. and many other things.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    Game_Master's Avatar
    Join Date
    Jul 2007
    Location
    England
    Posts
    1,705
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stupid Question (still need help)

    Thanks coco

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    Game_Master's Avatar
    Join Date
    Jul 2007
    Location
    England
    Posts
    1,705
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Another Stupid Question

    Another stupid question:
    What are flags, how do they help?
    What does it do when you "negate" function on the event editor do, how does it help?

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

    Re: Another Stupid Question

    Flags are like a light switch
    It can be on or off

    Then you can test if in a condition if its on or off.
    Similar to an alterable value but is only on or off.

    Negate is negative

    So if you had an event
    Active collides with Active2

    You could negate that and then the event is true when they are not colliding.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Another Stupid Question

    I hate to correct Jeff, but that specific condition can not be negated, because a collision is only happening at an instant.

    You have to say:
    Active is overlapping Active2.
    This condition can be negated, and that simply translates to:
    Active is not overlapping Active2

    So you see that [negate] can be very useful.

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

    Re: Another Stupid Question

    hehe yes of course I pick a condition that can't be negated
    Nice catch Popcorn.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    Game_Master's Avatar
    Join Date
    Jul 2007
    Location
    England
    Posts
    1,705
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Another Stupid Question

    Thanks everyone!

  9. #9
    No Products Registered

    Join Date
    Jun 2006
    Location
    Land of raging rockets
    Posts
    1,231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Another Stupid Question

    A little tip about flags:

    I recommend not to use flags at all (unless you need their enumeration for an expression). As you can not give flags a name, it takes roughly between 24 hours and 3 days until you don't have a clue anymore what the flag was for.
    Even comments are not a big help, as you constantly have to search for the comments that describe the flags you see (and it is not always obvious if you already use a flag or not).

    So the bigger your project is, the bigger is also the "I make your life miserable"-factor of flags.

    As you have plenty of alterable values, just use an alterable value and set it to 1 or 0 and you have the same as a flag, but you can give it a name.

    And for the person who is going to comment about memory usage or speed now: MMF reserves the memory for flags and values in advance, and the speed difference of access is neglectable. Maintainability is more important than speed.


  10. #10
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperiOS Export ModuleMac Export ModuleSWF Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    JasonDarby's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    4,938
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Another Stupid Question

    24 hours and 3 days until you don't have a clue anymore what the flag was for
    Does no one write a simple one page game doc these days with information about their game?

    If not i would certainly recommend it. Get a A4 or A5 pad, and write your game ideas and important information in them. Thats the best way to remember what you've done, I learnt this from experience of using over 50+ array slots for saving different information, there is no way to remember them manually, and why try.

    Jason

Page 1 of 2 1 2 LastLast

Similar Threads

  1. May be a stupid question but...
    By WEich1213 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th November 2013, 04:38 AM
  2. another stupid question - set look dir to X, Y pos
    By integrality in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 9th January 2008, 02:50 PM
  3. Stupid question
    By Winston in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 8th January 2008, 09:15 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
  •