Saturday, 25 April 2015

Dragging elements

I have broken down the click and drag into three segments/ steps to help myself code it all together more easily:


1. Draggable objects
2. Reaction occurs when in contact with another object
3. Multiple reactions occur when in contact with various objects

Thus far, I have managed to get my metal ions draggable on click (yay!). I now am in the process of having reactions occur when an ion is placed on the flame... which is proving more difficult then expected. I have tried multiple methods, and none have worked thus far so I will keep working on this.



No comments:

Post a Comment