Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi,

    I'm making a white board add-on for my chatprogram. I'm having problem with the pen tool though. Since the mouse moves too fast for MMF2 the add backdrop command can't keep up and I end having a line looking like this:
    ___ ____ __ __ _ _

    What I want is this:
    ________________________

    Is there a way to fill in the gaps? If possible without the use of extensions.

    Please login to see this link. Please login to see this link.
    Freelance Dev | Currently Working on Jarvis | Please login to see this link.

  • Fastloops is the key here :)

    You need one little active object that will be the drawing tool.
    I named it Pen.

    [events]

    *Repeat while left mouse-key is pressed
    -start loop "draw" 1000 times

    *On loop "draw"
    +X Position of Pen < XMouse
    -(Pen) Set X Position to X Position of Pen + 1
    -(Pen) Add backdrop (not an obstacle)

    *On loop "draw"
    +X Position of Pen > XMouse
    -(Pen) Set X Position to X Position of Pen - 1
    -(Pen) Add backdrop (not an obstacle)

    *On loop "draw"
    +Y Position of Pen < YMouse
    -(Pen) Set Y Position to Y Position of Pen + 1
    -(Pen) Add backdrop (not an obstacle)

    *On loop "draw"
    +Y Position of Pen > YMouse
    -(Pen) Set Y Position to Y Position of Pen - 1
    -(Pen) Add backdrop (not an obstacle)

    *Always
    -(Pen) Set X Position to XMouse
    -(Pen) Set Y Position to YMouse

    [/events]

    The more often the loops are ran, the less holes you get in your drawing :)
    Any value from 400 and up should be safe.

  • I never thought of it that way. It works great. Thanks! :)

    Please login to see this link. Please login to see this link.
    Freelance Dev | Currently Working on Jarvis | Please login to see this link.

  • Another way of doing it is to draw a line from x,y to oldx, oldy.[events]
    *Xmouse <> Oldx
    +Ymouse <> Oldy
    -Draw line (xmouse,ymouse)(Oldx,Oldy)
    -Set Oldx: Xmouse
    -Set Oldy: Ymouse[/events]

    Coming Soon - Feryl Studios - For more information please contact me - hugh@feryl.org

  • Sweet! It's even smoother. Just like MS Paint. Thanks :D

    Please login to see this link. Please login to see this link.
    Freelance Dev | Currently Working on Jarvis | Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!