Drag and throwing problem

bullshinbullshin Member Posts: 8
edited November -1 in Working with GS (Mac)
Hi,
I am studying tshirtbooth 's template abt drag and throw.
I want to combine this function to the "Pachinko Template" by GS.
The problem is,i dont want player directly drag and release the ball to the Goal and get score.I want them drag and release the ball at the top "only" so that it will fall down and go through the pads.
How to make the dragging ball can "only be" released at the top limited area after i drag?

Thanks!

Comments

  • bullshinbullshin Member Posts: 8
    hi,thanks tshirtbooth!that's work!
    another problem is,after the rule stopped the ball dragging,it fall down but i can still drag it again at that "unwanted dragging area"
  • bullshinbullshin Member Posts: 8
    is there a function count the dragging times like:after i release that ball,i can never drag it again.
    thanks!
  • simo103simo103 Member, PRO Posts: 1,331
    perhaps change the 'if touch is pressed and mouse.position.Y is greater then 260' to ....

    if touch is pressed and self.position.Y is greater then 260 (ie: check to see that that actor instance is above the line .. if not then the touch and drag is disabled?
Sign In or Register to comment.