User Tag List

Results 1 to 4 of 4

Thread: Adding halfs don't work.

  1. #1
    Clicker Multimedia Fusion 2 Developer

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

    Adding halfs don't work.

    I think it's bad that MMF2 can't ad halfs (0.5) to values (in my case it's the scale value) =/

    SOMEONE should fix this.
    This also didn't work in MMF 1.5.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2006
    Posts
    1,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Adding halfs don't work.

    'Add' and 'subtract from' work with whole numbers. If you want to add 0.5 to Alterable Value A of object, use Set instead:

    Set Alterable Value A("myobject") to Alterable Value A("myobject") +0.5

    If you want to add 0.5 to the scale of your object, (assuming it is scaled the same in both X and Y directions):

    Set Scale("Active") to XScale( "Active" )+0.5

  3. #3
    Clicker Multimedia Fusion 2 Developer

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

    Re: Adding halfs don't work.

    Thanks, I'll give it a shot!

  4. #4
    No Products Registered

    Join Date
    Jul 2006
    Posts
    111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Adding halfs don't work.

    This is the kind of thing I don't think the runtime should do; while some of us can figure these otherwise unintuitive behaviors out on our own or find them on the forum, a lot of users are just going to go "WTF," especially if they are combining "Add" commands with value calculator stuff--they're not going to know where the error is coming from. And with all the runtime is doing, I don't think the processor savings from using integers in a few events is going to be worth much.

Similar Threads

  1. Adding 1
    By Jibs in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 6th November 2011, 08:57 PM
  2. Adding a zero.
    By Fimbul in forum File Archive
    Replies: 1
    Last Post: 15th November 2009, 10:06 PM
  3. Adding Qualifiers
    By Nusua in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 4th March 2009, 07:19 AM
  4. Adding DirectShow in Demo doesn't work?
    By benjamin in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 1st July 2006, 12:12 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
  •