Cursor/Mouse Sprite on Drag and Drop

  • Hi, I have a simple problem but I suck at this stuff! I'm new to game programming.

    I've already seen tutorials on how to change the cursor sprite when hovering over a certain object (in my case a bean) but I can't get the cursor sprite to change when I'm dragging and only dragging the Bean.

    How do I fix this?

    And how do I make my cursor sprite change with any clickable object, not just the Bean?

    Thanks for any suggestions!

    P.S. In the image provided I'm showing what I'm trying to do. I've tried many variations of implementing the part that doesn't work, but haven't found a solution yet.

  • I think about some problem that you could get :

    1) Your sprite cursor must not bigger than 64x64

    2) For changing cursor when drag the any clickable objects, you could put them all in a family, and check on it's family only.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks! I fixed the issue. Unfortunately, I have the free version and can't make families (ouch) but I'm considering buying the full version.

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