drag platform (up,down) and other tips please! (help needed)

stackpoolestackpoole Melbourne, Victoria, AustraliaMember, PRO Posts: 473
edited June 2012 in Working with GS (Mac)
Hi,

I actually forgot how to do it and couldn't find any answers to my questions but I have a platform and I want the user to drag it up and down ... how do you do this?

Also,

I have a ball that goes into a bucket (actually a truck but works like a bucket) ..

How could I do something like.. the level is completed when the ball is in the bucket..
what I have done currently is I made 3 walls (left side, right, side and the bottom of the bucket) and if it goes into there (between the three walls) the level is completed..

Is there an easier way I could complete the level?

Thanks for any help!

Sydney Swans 2014!!

Best Answer

  • HC_DKHC_DK Posts: 92
    Accepted Answer
    For the platform, make a rule:

    When ALL

    Actor receives event: TOUCH is PRESSED

    Contrain Attribute: self.Position Y to game.Mouse.Position.Y

    game.Mouse.Position.Y you find under DEVICES

    You can add Actor receives event: TOUCH is INSIDE to the rule. This forces the user to actually touch the platform for it to move.

    Regarding the bucket, I would do the same thing.

    HC
Sign In or Register to comment.