User Tag List

Results 1 to 7 of 7

Thread: Set effect from expression?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Set effect from expression?

    I think it would be useful to have the option to select an object's shader from an expression (great for custom level formats and editors). The shaders to include in an application could be determined in a similar way that you can right now select what sound and image filters to include.

    That's just an idea though

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Set effect from expression?

    Yes it's in the wish list, but I don't know when that will be done.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Set effect from expression?

    I think it's planned, but it would require some changes. The static dialog probably gets pre-checked, and all the effects that are being used in the application are compiled at start of frame.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set effect from expression?

    Well, that's why I suggest an option to select which shaders to include in the app, just like you can manually select which sound and image filters to include.

    ...but then, I guess this is also a feature I can live without if I have to

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Set effect from expression?

    Well, Yves said it's on the wish list, that means it will be added sooner or later anyway

  6. #6
    No Products Registered

    Join Date
    Dec 2006
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set effect from expression?

    yeah- if you have to select what pixel shaders you are including in the app anyway, it doesn't really help for levels editors and such. You are just as well off saving even a single number that defines which of the shaders to use. 1=water effect, 2=perspective, etc...

    It isn't too much extra work to have events that parse that at the beginning of the frame to specific shaders you have included...

    -Andy

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set effect from expression?

    I beg to differ. You'll need one event for every possible shader, instead of just a single action that does it all automatically. Sure, it's quick to add, but it's terribly inefficient. Imagine if a loop is iterating through the objects created on a given frame and setting all the shaders out of 50 possible ones. You'll need to run 50 "on loop" events on each object creation for each possible shader. Fastloops are a lot less fast than people think, just creating a bunch of objects and iterating through all those "on loops" events will result in a noticable pause in time during gameplay. I'm already facing this problem in something I'm working on.

    If you specify what shaders to include in the application properties, and then get to set them using expressions, you'll get cleaner events that run a lot faster.

    I'm not saying that Clickteam should add this, I'm just saying does make a difference.

Similar Threads

  1. Help with expression
    By Kentronisk in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 31st October 2012, 11:57 PM
  2. Help: need an expression
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 11th October 2012, 12:10 PM
  3. Asking about mod expression
    By Ran_TH in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 12th March 2009, 01:31 AM
  4. Looking for an expression
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th July 2008, 03:05 AM
  5. Explosion effect - possible with particle effect?
    By MediYama in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th April 2008, 08:36 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
  •