User Tag List

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

Thread: Small issue...

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

    Join Date
    Jul 2006
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Small issue...

    If I change the animation sequence by "Use a calculation", the Expression Calculator says "Result should be greater or equal than 1". That's wrong and confusing because the animation sequences are 0-based.

  2. #2
    No Products Registered

    Join Date
    Apr 2008
    Location
    Weston-super-mare
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Small issue...

    No, there not, the animation sequences have always begun with 1.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

    Join Date
    Jul 2006
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Small issue...

    This 0 and 1-based stuff is very confusing. Animation Frames are 0-based...

    Now I know what happened:
    Change animation sequence to 0 will show sequence 1.
    BUT then the expression Anim Number( "Active" ) returns 0 not 1!
    Why does he do this?

  4. #4
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Small issue...

    Yeah they can be slightly confusing for beginners, but in the end they don't really make that much of a difference since you can pretty much just add or subtract 1.

  5. #5
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Small issue...

    Once you figure out which base everything is, it is easier to cope with. I'm not quite sure why some things are 0-based and some are 1-based, but when it comes to extensions, most give you the option. Also, as MechaBowser said, you can just simply find out what it is and add or subtract one from it. Personally, I like to keep my entire game on a 0-based index because that is how loops base their indexes.

  6. #6
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Small issue...

    So if it's 1 based it must be like this
    set animation to #1# makes it "stopped"
    set animation to #2# makes it "walking"
    set animation to #3# makes it "running"

    and so on...

    Am I right or wrong?

  7. #7
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Small issue...

    When setting animation it's 0 based, so:

    0 = Stopped
    1 = Walking
    2 = Running

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

    Join Date
    Jul 2006
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Small issue...

    Oh good god ... What you are talking about? That's clear...

    The point of this topic as I said before is THIS:

    Quote Originally Posted by Gustav
    Change animation sequence to 0 will show sequence 1.
    BUT then the expression Anim Number( "Active" ) returns 0 not 1!
    Why does he do this?

  9. #9
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Small issue...

    I replied to dragonguy who, as usual, managed to completely misunderstand what the other people in the thread said.
    Unless he meant that IF it was 1 based it would be whatever he said, and in that case I'm sorry for bringing it up.

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

    Join Date
    Jul 2006
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Small issue...



    For me it looks like a bug...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Counter updating issue or code issue?
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 14th March 2013, 01:48 PM
  2. Small issue with Min()
    By MJK in forum XNA Export Module Version 2.0
    Replies: 2
    Last Post: 4th September 2012, 04:15 PM
  3. A small bug!
    By Dam1an in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 15th January 2012, 01:19 PM
  4. Small issue with comments in event editor
    By Shawn in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th October 2009, 03:08 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
  •