need help grabbing things

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • in my game my chracter streches his arms out and grabs on to things similar to a game called ristar. how do u make him grab on to things and stop moving, and when he does grab on to an enemy stop it as well from moving. thx

  • Here's one way of doing it:

    Have an invisible square object always in front of the player. We'll call this object 'Detector'. Then do the following events:

    *Always
    -- Set position of Detector to (somewhere to the right of the player) (LOCATED)

    ... this 'located' option is important. To activate it, click a button like 'options' or something when you're doing the 'set position' action. It opens a new window, and you select 'Located in direction of player'). This means that when your player turns in the opposite direction, the Detector will flip around to the left.

    Then do:

    *Player presses 'Grab' button (whatever it is, like shift or something)
    +Detector overlaps a grabbable object

    -- Stop Player
    -- Stop Grabbable Object (enemy or whatever it was you hit)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!