Collision - Drag-Drop - responsive

hi there!
some useful docs, in order to develope more, based on it.
based on hypes new api and can be used in responsive layout. (this was always my problem)
let me know, if anyone gets a better solution. you´re welcome.

collisionFlexi.hype.zip (14,9 KB)dragDropFlexi.hype.zip (13,3 KB)

5 Likes

Thanks @strmiska !
Certainly very usefull.
I want to try to make the dragged square to grow in size when dragged. So a small square grows to the current 100% size and when released outside the dropzone shrinks again. If dropped right it keeps its size.
I’m not sure what would be the best way. Turn it into a symbol and animate it’s timeline? Or can this be accomplished in javascript? I’ll give it a try and see if I can accomplish this.

i think, all cases are possible. in earlier versions i used jquery to do this without timelines.
but for now maby better the other way.

Brilliant, just got to try figure out how to make multiple situations