User Tag List

Results 1 to 5 of 5

Thread: Surface object

  1. #1
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Surface object

    The Surface object lets you display a modifiable image in your application. You can draw to it, transform it, or adjust the brightness - There are many possibilities which make this object highly flexible. If you are familiar with the Overlay Redux object, make sure to try this object.

    A beta version of the Flash port can be found here.
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Surface object

    Minor update - Probably not needed by many.

    "Blit > From the surface > External > Active" was removed. It was an experiment of mine, and I forgot to remove the menu entry.
    Thanks to LB.

    Blit from/to window now support AND, OR and XOR blit modes, stretching and source regions.
    Attached files Attached files

  3. #3
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Surface object

    This update mainly focuses on threaded file input and output.
    If you want, you can save and load images in another thread, which allows you to execute events simultaneously. While doing that you cannot modify the Surface object's images, however.

    Also, you can now store references to images in the image bank - This is yet another "advanced" feature and you shouldn't deal with it unless you know what you're doing. Basically, instead of the image's data, you hold a reference to an image (from e.g. another object) in the image bank. I will extend this functionality in the future so it becomes more useful; as of now it's useful in rare cases only (Theoretically, you can make images global with this).

    Complete changelog:

    • Added threaded file I/O settings, actions, condition
    • Added "keep points after drawing" action
    • Added "References" submenu in "Images"
    • Added "Copy image from binary surface"
    • Added expressions to get an image's binary surface address
    • Added the "inactive when too far from playfield" setting
    • Added an example that shows threaded saving
    • Fixed a bug in "Add points from string"
    • Updated the documentation, fixed the internal structure of the Surface object and typos
    • Excluded the examples from the main download - get them here



    An online version of the help can be found here.
    Attached files Attached files

  4. #4
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Surface object

    Very small update, I fixed a crash bug in the "Move color channels" action. Sorry for the inconvenience.

    Attached files Attached files

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

    Re: Surface object

    Another major update with the focus on speed and efficiency.

    • Optimization of all action in the Adjust sub-menu (1.5x - 4x faster)
    • Optimization of Transform > Scroll (~4x faster)
    • User callback fill data replaced by "Callback" sub-menu (1.5x faster!)
    • Blitting with callbacks
    • "Export to OpenGL" removed
    • Slightly faster load up time
    • Much better object preview icon (the one that shows the first image)
    • Minor differences in the menu structure.. a bit cleaner now
    • New examples showing the callback feature
    • Updated (and cleaned) documentation


    Note: The online documentation is not updated yet.

    Please report any bugs in the thread in the Extension Development forum.

    EDIT: For your information, Robertrule reported a bug with this version that prevents you from drawing ellipses/shapes in some cases.
    This bug is fixed in the newest 1.5 beta and will eventually be fixed when it's released.
    Attached files Attached files

Similar Threads

  1. Surface Object
    By Looki in forum Extension Development
    Replies: 571
    Last Post: 8th November 2019, 08:19 AM
  2. Surface Object Help
    By Hydra in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 2nd February 2017, 02:42 PM
  3. Help with: Surface Object ?
    By Alon Dan in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 3rd January 2014, 11:42 AM
  4. Surface Object
    By harrysgames in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 23rd February 2012, 03:37 PM
  5. Surface Object
    By imothep85 in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 2nd October 2010, 07:24 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
  •