Object Movement using states, swiping/dragging and random selection (Moving objects out of the way)
I have an idea but cannot figure out how to combine all the components that may be needed to create. I would like an object to roll through some states and land on the next state and in a specific (or approx) place on the screen, where the user swipes (or mouse drags) toward. Ultimately I would like for the user to find two like items out of a bunch scrambled throughout the screen, and allow them to move objects if they seen another one peeping out behind another one to select it.
Below is the thought process
- User swipes (or click-n-drags) an object towards the upper right corner (basically anywhere on the screen)
- The object rolls through some states (acting like it's rolling toward the destination), and ends up in that area, and lands on the next state.
- The user swipes (or click-n-drag) the same object and it picks up where the state left off and rolls to the next area
- If the object is at the end of the states is starts over.
Thank you for any direction someone can provide! :-) I will continue to see what I can figure out and upload new files when something is discovered.