Newbie help

deaddirtyddeaddirtyd Member Posts: 27
edited November -1 in Working with GS (Mac)
Hi all,

I'm totally new to GS and I would like to find out if any one can help.
I have a character constrain to and I have a crosshair constrain to x as well, I would
like to have the crosshairs y value (distance) to be controlled by a fire button.

In short the longer you hold in the button the further the crosshair moves from the character, and after my projectile is launched for the crosshair to return to it's original position.

Any help would be much appreciated

Comments

  • FrazzleFrazzle Member Posts: 223
    I'd say do it like this:
    When fire is pressed change linear y velocity to _.
    When fire is released change linear y velocity to 0 and latch projectile(whatever way you've set it up to) and change y position to _.
  • deaddirtyddeaddirtyd Member Posts: 27
    hi frazzle

    thanks so much for the reply, i had some free time today and managed to sort it out very simillar to the way you've explained(with a whole bunch of attribute changes) and it seems to be working.

    thanks
    again
Sign In or Register to comment.