Draw with actor in delimited zone

Hi! How can draw in one zone of my project, by example:
http://jglif.files.wordpress.com/2012/11/cara.gif
Draw only skin (no eyes, no mouth ..) with an actor named "pencil 1"
Drag the pencil and can draw the face. How can I do?

Thanks in advance!!!

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    Do you mean 'colouring in' ?

  • aitor010aitor010 Member Posts: 282
    yes! its!
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    That was impressive, @Socks. Photo-realistic hands and everything.

    The demo I made (attached) is the only way I know to accomplish that. Tap and drag to color in the image.
  • aitor010aitor010 Member Posts: 282

    Although I did not find anything where say "dot can not leave the girl" Where I can find it in the project? How does it work?
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    It's a trick of sorts and therefore potentially not all that useful. But here's how it works: there is an overlay image that is a gray rectangle with her silhouette cut out and then a separate image of just "the girl." On the girl actor, it spawns a dot where the mouse is (with touch is pressed) as long as the touch is inside of the actor. So what's really happening is that below the gray rectangle actor are a bunch of stray marks that you can't see because it's covering things up. Don't believe me? ;) Try deleting the cover actor from the scene.
  • SocksSocks London, UK.Member Posts: 12,822
    edited November 2013
    That was impressive, @Socks. Photo-realistic hands and everything.
    @tatiang

    All done with sin and cos.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    And this is slightly better only because I decided to spawn the dot behind the girl actor and make her somewhat transparent. That way the black lines stay black and aren't covered up by the drawing of the dots.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    the trick is here? http://s2.subirimagenes.com/imagen/previo/thump_870105420131117-23.png

    :)
    Well, sure, they are layered which covers up the stray marks.
  • SocksSocks London, UK.Member Posts: 12,822
    The demo I made (attached) is the only way I know to accomplish that. Tap and drag to color in the image.
    That works surprisingly well !

    I shuffled the layers around so you could use solid colours which I think works well too (file attached).

    I wonder if there's a way to have more discrete 'areas' ?
  • SocksSocks London, UK.Member Posts: 12,822
    @tatiang

    I threw a quick colour selection palette onto your project (file attached).

    Click on the squares to select that colour.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited November 2013
    Thanks, @Socks. I actually made a demo a while ago (http://forums.gamesalad.com/discussion/41084; my video is no longer hosted) that includes dot size, color choice, and a rewind feature that let you undo and then watch what you had drawn.

    And even though I think your solid color layers look better, I had transparency on my original demo because it allowed for blending of colors. :)
  • SocksSocks London, UK.Member Posts: 12,822
    edited November 2013
    @tatiang
    Thanks, @Socks. I actually made a demo a while ago (http://forums.gamesalad.com/discussion/41084; my video is no longer hosted) that includes dot size, color choice, and a rewind feature that let you undo and then watch what you had drawn.
    Yeah, I think I remember you posting that, good stuff, especially the rewind feature.
  • aitor010aitor010 Member Posts: 282
    thank you so much!! @Socks and @tatiang !! :)
Sign In or Register to comment.