User Tag List

Results 1 to 4 of 4

Thread: Surface object - build 1

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

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

    Surface object - build 1

    This object is similar to the overlay redux but it supports loading/saving many more file formats thanks to MMF2's graphic filters, flood fill tolerance, gradient shape fills etc.

    The only thing it lacks at the moment is a default surface (editable by MMF2's picture editor) because I don't know how to make a property like that (help?)

    If anyone wants to make their object manipulate the surface object (for example, LIJI's colorizer object could possibly colorize a surface), I have included a "get address" expression which returns the address of rdPtr. Here is my rdPtr structure:

    typedef struct tagRDATA
    {
    headerObject rHo;
    rCom rc;
    rMvt rm;
    rVal rv;
    cSurface * surf;
    LPSMASK mask;
    COLORREF ffillcol1,ffillcol2,bffillcol1,bffillcol2;
    int bffillmode,ffillmode;
    bool bfhozver,fhozver;
    int thickness;
    int tolerance;
    char * error;
    char * func;
    int funcI;
    int looptimes;
    int loopindex;
    } RUNDATA;

    Enjoy! There is probably plenty of bugs at the moment and the "count colours" function isn't implemented yet, but it is usable for now <img src="/center/images/graemlins/smile.gif" alt="" />

    I have prevented EXE building for the moment.
    Attached files Attached files

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on
    LIJI's Avatar
    Join Date
    Jun 2006
    Location
    Israel
    Posts
    1,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Surface object - build 1

    Bug:
    At the attached file the first elipse has a black border while it should have a gardient one.
    Attached files Attached files

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Melbourne, Australia
    Posts
    765
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Surface object - build 1

    Interesting Object, looks pretty interesting.

    Bugs or should I say not yet implimented feature.
    - Action - save file - missing valid save formats in the drop down selector ie bmp png gif etc.
    - Action - paste file - missing valid open formats in the drop down selector ie bmp png gif etc.

    Suggestions
    - In the actions where possible write the valid range in the title bar. ie "new tolerance (default 0)" could read
    "new tolerance (default 0, valid range 0-255)"

    This make it easier for newbees to ensure that the values are in a valid range.

    - Properties (Reducing the width for small screens)
    -- In the settings tab insert a heading on the second line called gradient.
    -- Then rename all the subsequent titles "without the word gradient" or "put the word at the end of the statement".
    ie.
    - Border start colour gradient
    - Border end colour gradient
    - Fill start colour gradient
    - Fill end colour gradient
    - Border gradient
    - Shape fill gradient
    - Horizontal border gradient
    - Horizontal fill gradient

    This minor changes will make it easier to work with a small screen say 1024x768 (ie laptop)

    I won't have time to write a test app today but the functionality look very good.
    I would love to see a good example that shows off the capability of this object.

    regards,

    Joewski.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Surface object - build 1

    My MMF2 don't see this extension...
    But it looks great.

Similar Threads

  1. Surface Object
    By Looki in forum Extension Development
    Replies: 571
    Last Post: 8th November 2019, 07:19 AM
  2. Surface Object Help
    By Hydra in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 2nd February 2017, 01:42 PM
  3. [BUG] Surface Object
    By BigHatLogan in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th May 2013, 10:53 PM
  4. Surface Object
    By imothep85 in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 2nd October 2010, 06:24 PM
  5. surface object
    By imothep85 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 17th September 2010, 01:05 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
  •