|
51.
|
|
|
All positional parameters to the DragGroup constructor should be Drags, that are added to the DragGroup.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:128
|
|
52.
|
|
|
Adds `child`, which must be a Drag, to this DragGroup.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:133
|
|
53.
|
|
|
Returns the first child of this DragGroup that has a drag_name of name.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:137
|
|
54.
|
|
|
Removes `child` from this DragGroup.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:142
|
|
55.
|
|
|
Examples
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/drag_drop.rst:42
|
|
56.
|
|
|
An example of a say screen that allows the user to choose the location of the window by dragging it around the screen.::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/drag_drop.rst:44
|
|
57.
|
|
|
Here's a more complicated example, one that shows how dragging can be used to influence gameplay. It shows how dragging can be used to send a character to a location::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/drag_drop.rst:67
|
|
58.
|
|
|
More complicated systems take significant programming skill to get right. The `Ren'Py cardgame framework <http://www.renpy.org/wiki/renpy/Frameworks#Cardgame>`_ is both an example of how to use drag and drop in a complex system, and useful for making card games in its own right.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/drag_drop.rst:125
|