|
Post by AnkuLua on Oct 29, 2015 3:32:06 GMT
Add stepCount parameter for dragDrop Thanks to zpt's report. Some games have problems on original dragDrop. Original dragDrop is designed for speed. And the movement from drag position to drop position is in one step. It seems too fast for some games. If you meeting problems on dragDrop, try to modify this parameter. The step count could be modified with
setDragDropStepCount(int stepCount)
Here is the summary of dragDrop related methods The behavior of dragDrop could be modified by following methods setDragDropTiming(downMs, upMs) downMs: Press the drag position for downMs milliseconds before moving. upMs: Hold on drop position for upMs milliseconds before releasing the touch. setDragDropStepCount(stepCount) stepCount: The number of steps moving from drag to drop positions.
In summary, the behavior of dragDrop is
press the drag position for downMs milliseconds move to drop position in stepCount steps keep holding on drop position for upMs millisecods
If finding any problem on developing script, please tell us. We are pleased to help you.
|
|