Hello Guest

Author Topic: Drag'n'Drop support?  (Read 4904 times)

funshark

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
    • portfolio
Drag'n'Drop support?
« on: December 02, 2013, 07:44:14 pm »
Hello,

Do you think it could be possible to have a Drag'n'Drop feature for Sprites like what we can do with Unity 4.3?
It would be muuuuuch more faster :)

Concrete Iguana

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Drag'n'Drop support?
« Reply #1 on: February 08, 2014, 12:31:59 am »
This would be really helpful for me too. My next game has a lot of (touch) draggable sprites.

Thanks,
Steve

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Drag'n'Drop support?
« Reply #2 on: February 08, 2014, 11:55:34 am »
Aren't these 2 separate requests?

1. No it isn't possible to drag and drop sprites like Unity sprites or indeed modify tk2d to do it while still being backwards compatible.

2. For draggable sprites in the scene you can use tk2dUIs draggable sprite. Check UI demo 1 for an example - thats a button, but the behaviour can be attached to plain sprites and doesn't have to be on a button.