Help with the drag and drop feature

0 favourites
  • 5 posts
From the Asset Store
Now you can drop everything in your game with sound :)
  • I need help with the drag and drop game feature. I'm trying to create a simple drag and drop game. The problem is that when I click on the spirit it attaches itself straight to the target oppose to allowing me to drag it to the object. I know I'm probably doing something so minor and was hoping someone can advise me on what I'm doing wrong. If this isn't the correct area to leave this message please direct me to where I can ask this sort of question.

  • Do you have logic that says to set its position to another object when clicked?

  • I thought this was going to simple but I can't seem to get this little event to work here is a image to show the event page

  • Ahh that makes sense. You can simply delete these events. Drag n drop will automatically do the "set position" stuff correctly, no need for your own "set position" events.

    Delete the events then test again.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Drag n drop will automatically do the "set position" stuff correctly, no need for your own "set position" events.

    I assume the idea is to snap it to another object - HostD to Host1, MediaD to Media1.

    The event #2 should probably be "on drop" instead of "is dragging".

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)