User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 20 of 20

Thread: Ship Sway Effect MMF2?

  1. #11
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    They go into the Effects folder in the MMF2 directory.

    They are accessed in HWA using the Application Properties and changing the Display Mode to >3D8 or 3D9. Then Click on the Frame Properties > Effects.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  2. #12
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I am always bugging yves to add an angle option to the frame or layers effects as a hardcoded feature so it can use a vertex rather than pixel shader

  3. #13
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thanks Marv!!

  4. #14
    Clicker Fusion 2.5
    darkmanx_429's Avatar
    Join Date
    Jun 2010
    Posts
    365
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by oasuke View Post
    Or you can use the rotate pixel shader on a layer. (Take care to make sure you have Complex-softwares pixel shader pack)
    Is there some kind of tutorial on exactly on how this works? (I don't know why the active objects is moving side to side like that...I don't need that part) but the part with the ground moving is exactly what I am trying to replicate. Just mimicing the values just don't cut it...can someone explain this to me more....

  5. #15
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Until CT is kind enough to add vertex angles to frame/layers (purty pwease :3), you should use pixel shader;
    http://community.clickteam.com/showthread.php?t=58282

    To be step-by-step; put that .fx and .htm file into your "effects" folder in MMF2's main folder.
    In the properties for your project, make sure the display mode is set to "direct3d 9"; you can't use HLSL shaders in iOS or Java or Flash or anything, each has its own proprietary form of HWA and shaders
    In the event editor, you can either using the "storyboard controls" object, or the "layers extension" in the same way. The layers extension needs to be added to your frame editor to be able to use it, but storyboard is always there.
    Under the actions for that column, you can use the "frame->effect->set effect" option to choose the rotation shader. Say do this at the start of the frame
    Now all you need to do is adjust the parameters to the shader, in this case "fAngle" for the angle of rotation.
    You should do this through an always event or whatever, saying "frame->effect->set effect parameter", and set the angle there. You can rotate this as you please
    Now select

  6. #16
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yves said he tried to add Vertex Shaders, but it was impossible, and planned for MMF3 instead.

  7. #17
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Yes that would be difficult for adding generic vertex shaders to the pipeline, however the code for angles themselves couldn't be any different than that for active objects and other objects that already exists.

  8. #18
    Clicker Fusion 2.5
    darkmanx_429's Avatar
    Join Date
    Jun 2010
    Posts
    365
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Pixelthief View Post
    Until CT is kind enough to add vertex angles to frame/layers (purty pwease :3), you should use pixel shader;
    http://community.clickteam.com/showthread.php?t=58282

    To be step-by-step; put that .fx and .htm file into your "effects" folder in MMF2's main folder.
    In the properties for your project, make sure the display mode is set to "direct3d 9"; you can't use HLSL shaders in iOS or Java or Flash or anything, each has its own proprietary form of HWA and shaders
    In the event editor, you can either using the "storyboard controls" object, or the "layers extension" in the same way. The layers extension needs to be added to your frame editor to be able to use it, but storyboard is always there.
    Under the actions for that column, you can use the "frame->effect->set effect" option to choose the rotation shader. Say do this at the start of the frame
    Now all you need to do is adjust the parameters to the shader, in this case "fAngle" for the angle of rotation.
    You should do this through an always event or whatever, saying "frame->effect->set effect parameter", and set the angle there. You can rotate this as you please
    Now select
    I am using Build 253 where is the display mode option at?

  9. #19
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    In the Application Properties.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  10. #20
    Clicker Fusion 2.5
    darkmanx_429's Avatar
    Join Date
    Jun 2010
    Posts
    365
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by nivram View Post
    In the Application Properties.

    Marv
    Much Thanxs!

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Sway Effect (Wind)
    By darkmanx_429 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 26th March 2016, 07:12 PM
  2. Floating Ship Example using platform objects (PMO) with MMF2.
    By darkmanx_429 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 12th December 2013, 11:57 PM
  3. [Aperçu] Ship'Em Up
    By strito in forum Android Released Games & Apps
    Replies: 14
    Last Post: 2nd July 2013, 08:22 AM
  4. 8/16 Bit Effect in MMF2
    By Dominic in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th September 2011, 06:36 PM
  5. ship
    By Nate in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th February 2008, 01:12 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
  •