GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Simple Question. Dragging?

Is there a way to drag an item with your finger? i don't know what that would be like but i haven't updated my software yet so i don't know if that would be a new feature or something. idk.

Comments

  • JohnPapiomitisJohnPapiomitis Posts: 6,256Member
    all you do is have a rule when touched is pressed

    constrain self position x to mouse position x and constrain self position y to mouse postion y
  • I'm still lost i don't know much about this...

    Is this constrain thing a behavior?

    or is it like

    When Actor Receives: Attribute : Game.Touch.Touch1.X = 0 or somthing?

    Thanks
  • JohnPapiomitisJohnPapiomitis Posts: 6,256Member
    DestructionProductions said:
    I'm still lost i don't know much about this...

    Is this constrain thing a behavior?

    or is it like

    When Actor Receives: Attribute : Game.Touch.Touch1.X = 0 or somthing?

    Thanks

    constrain is a behavior

    Have a rule when actor recieves event touch is pressed

    drag to constrain attribute hehaviors into that rule

    in the first constrain attribute before constrain self position x to devices mouse position x and in the second constrain behavior constrain self position y to devices mouse position y.

    You select those attributes from the attribute drop down menu
  • Thanks!!!!
This discussion has been closed.