Click, drag and show a line with and arrow point in the way you have to shoot...

azavegaazavega Member Posts: 362
edited November -1 in Working with GS (Mac)
Hi everybody is it any templates on that? or any post or comments, cant find anything...

Comments

  • azavegaazavega Member Posts: 362
    something more like what tshirtbooth did of his last video with the balls any toughs...?
  • SnowSnow Member Posts: 124
    I bet you could start with and rework the cannon template that comes default with GameSalad. The cannon points toward the mouse. Then all you have to do is instead of the cannon, you have an arrow image. You can even make the image stretch so that the bottom of the arrow sticks to the pivot point and the end stays with the mouse. Just have it so that when the mouse x y is measured from the pivot x y, the resulting number is stored as a global (game) attribute. Then constrain the width or length (depending on image orientation) of the arrow to that game attribute. I think that is how you'd do it.

    Just look for templates that show you how to measure the distance between the mouse and another object and templates that show you how to stretch an object with the mouse. You should be able to figure it out quickly after that.
  • azavegaazavega Member Posts: 362
    thanks man ill give it a try
Sign In or Register to comment.