stretch an actor?

glyst81glyst81 Member Posts: 6

I'm new to GS and was wondering if it's possible to stretch an actor while holding finger down and dragging it across the screen?

I didn't see any examples in the templates provided on Mac version of GS.

Comments

  • SocksSocks London, UK.Member Posts: 12,822

    To stretch something - other wise translate it - you just need to consider the starting point and the end point - and define a relationship between the two, with a stretch the object will be having its size and position changed . . . .

    Hold on I'll make you a quick demo . . .

  • SocksSocks London, UK.Member Posts: 12,822

    Here you go, pull the red box down . . . .

    I stuck some audio on too, ignore it, it was just an experiment.

    Link: https://www.mediafire.com/?ivb2euhkzkisdbk

  • glyst81glyst81 Member Posts: 6

    Thanks. I didn't get a chance to test this out with a touch event. I tried changing the template to use mouse (hold down click and drag it), but doesn't appear to work.

  • SocksSocks London, UK.Member Posts: 12,822
    edited May 2014

    @glyst81 said:
    Thanks. I didn't get a chance to test this out with a touch event.

    I don't know what that means ?

    @glyst81 said:
    I tried changing the template to use mouse (hold down click and drag it), but doesn't appear to work.

    You don't really have to change anything, did you try to simply click on the red rectangle and drag it downwards . . . . ?

    Let me make you an instructional video (!!) . . . :D

  • SocksSocks London, UK.Member Posts: 12,822

    Here you go . . . .

  • glyst81glyst81 Member Posts: 6

    Appreciate it. Ah...the whole time I was dragging right and left and didn't see anything.

    How would you go about stretching left, right, up or down? Do I add a new rule showing mouse position is greater(or less) than the actor position?

  • SocksSocks London, UK.Member Posts: 12,822
    edited May 2014

    @glyst81 said:
    Appreciate it. Ah...the whole time I was dragging right and left and didn't see anything.

    Damn! Not a lot more you can do than make someone a very very simple demo, a single actor in an empty scene - and clearly state 'pull the red box down'.

    Lol :smile:

  • glyst81glyst81 Member Posts: 6

    I know I feel like an idiot LOL

    Is it possible for you to show me a demo or upload the GS template that demonstrate the stretch feature depending if user drag right, left, up or down? I tried messing with it for a few minutes and couldn't get it to work.

  • SocksSocks London, UK.Member Posts: 12,822

    @glyst81 said:
    I tried messing with it for a few minutes and couldn't get it to work.

    What did you try ?

  • glyst81glyst81 Member Posts: 6

    Here's the template I modified.

    mediafire.com/download/vn8gj79ad5oawmp/stretch.zip

Sign In or Register to comment.