Drawing on an Object

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.
  • Is there any way to draw on an object? I'm trying to make a flight control-like game, and I need to be able to "draw" the lines without creating too many objects. I thought I would make this happen by having the mouse (or finger) draw a line on an otherwise transparent object, but I can't find a way to make this happen in the iOS runtime.

  • That's exactly how I do it. You can paste to background as an obstacle or platform while the mouse key is pressed. I am creating a faux physics style game where you draw the platforms to guide a ball to a goal. It works really well on the iPhone now too. I do get dots if I swipe too quickly though. I haven't found a way around that yet.

    Marc Wakefield

    mrm design
    Please login to see this link.

  • That's exactly how I do it. You can paste to background as an obstacle or platform while the mouse key is pressed. I am creating a faux physics style game where you draw the platforms to guide a ball to a goal. It works really well on the iPhone now too. I do get dots if I swipe too quickly though. I haven't found a way around that yet.

    that reminds me of crayon physics deluxe (i love that game!) i actually play it using my Wacom tablet so i can use the pen to draw... i am really intersted in this type of mechanic - keep us posted :D

  • Glad you like the idea. :)
    I almost thought of discarding it a while back as there are a few doodle style games on the app store. The only issues I have is the dotty lines (I may have found a way round this though), the misbehaving pinball object and an issue with dissappearing lines when they are out of the camera area. The lines go away visually but the ball still bounces on their invisible ghostly leftovers. Any one have any ideas? Thanks.

    Marc Wakefield

    mrm design
    Please login to see this link.

  • Good idea. I tried it myself and found out that you should use fading circles like this: Please login to see this link. as the PAINTOBJECT. Maybe put a little add fx on it so the illusion of a line starts to happen (hmm funny... am I soundling like Bob Ross?). But a good and simple idea! Thx.

    Please login to see this link.
    Gamedesign - Music - Sfx

  • You could get around the dots problem by getting the current coordinates of the touch and the coordinates it was on during the last run through the event loop, and creating objects along the line between the two points. (Admittedly I'm making this sound more simple than it is!)

    Please login to see this link.
    Please login to see this link.

  • Yea this is something I´d love to see ( I havent managed to create the "in betweeners" yet). If I find out a way - I´ll post it here. At the moment I work with the faded dot and "slower" moving mouse... or finger :)

    Please login to see this link.
    Gamedesign - Music - Sfx

  • Whenever I'm trying to draw a line, each time the mouse moves I resize and rotate the object to the size and angle between the point where the mouse was in the last loop and the point where the mouse is now. You get Fruit Ninja-style vector lines when you swipe too fast. Works well.

  • Could someone post an example of how to do this? I am trying to create a notepad to record student work and would love to see how this can be done with ios application.

    Thanks in advance.

Participate now!

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