User Tag List

Results 1 to 7 of 7

Thread: Tablet Draw Example

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Tablet Draw Example

    This example shows how the Tablet object and the Line Surface object can work together to make a pressure-sensitive drawing table. It's a bit glitchy, but overall, it works.

    If anyone has any comments on how to make it better (e.g. anti-aliasing, different drawing system) please share!
    Attached files Attached files

  2. #2
    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: Tablet Draw Example

    Haha, very nice! Maybe you should add max(1,pressure) to make it draw with at least 1px diameter when pressing.

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tablet Draw Example

    hmmm

    good idea.

    I have another question: How can I make it so that the info actually erases, instead of just another white line overlapping the black? I'm asking this because I want to have some kind of background image (like notebook paper).

  4. #4
    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)

    Re: Tablet Draw Example

    delete created backdrop at (x,y)

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tablet Draw Example

    Umm, it doesn't create a backdrop object. This uses the Line Surface Object....

  6. #6
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tablet Draw Example

    With the overlay you can draw a transparent (0,0,0) line over an existing line to erase it. Is this possible with the line surface object?

  7. #7
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tablet Draw Example

    Hmmm I don't think so. I think Jamie should add an erase function to the Line Surface object. That would be quite awesome.

Similar Threads

  1. Tablet Object
    By Looki in forum Released Extensions
    Replies: 4
    Last Post: 25th February 2014, 09:03 AM
  2. [Screen Draw Object]Bug with Draw Line
    By LB in forum Extension Development
    Replies: 1
    Last Post: 2nd June 2009, 12:32 AM
  3. Tablet Draw Example
    By wizkidweb in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 26th October 2008, 01:31 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
  •