See: Drag and Drop
https://www.renpy.org/doc/html/drag_dro ... g-and-drop
Search found 678 matches
- Tue Nov 14, 2017 5:09 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to make a drag and drop menu-like screen?
- Replies: 2
- Views: 1058
- Mon Nov 13, 2017 4:53 am
- Forum: Ren'Py Questions and Announcements
- Topic: (SOLVED) Determining and Modifying Information Set In Variables
- Replies: 4
- Views: 686
Re: Determining and Modifying Information Set In Variables
Counting symbols (characters?) in a string would be len().
- Mon Nov 13, 2017 1:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: (SOLVED) Determining and Modifying Information Set In Variables
- Replies: 4
- Views: 686
Re: Determining and Modifying Information Set In Variables
A read on Python Strings should help take you towards the right direction.
- Mon Nov 13, 2017 1:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: Creating a search bar in a screen (SOLVED)
- Replies: 2
- Views: 628
Re: Creating a search bar in a screen
"_return" will only return value when you "call" the screen, not show. Use Input Value objects to get result of the input instead: default input_result = "" screen search(): frame: has vbox: input value VariableInputValue("input_result") text "[input_resu...
- Sat Nov 11, 2017 11:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved] couldn't find file in image composite using images with effects applied
- Replies: 2
- Views: 774
Re: couldn't find file in image composite using images with effects applied
"im.Composite" is an old code, and if my memory serves me right it only takes image file. Use LiveComposite instead.
Code: Select all
image quizp1 = LiveComposite(
(720, 1280),
(0,0), "quiz.png",
(100, 700), "purple duck"
)
- Sat Nov 11, 2017 10:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]There is a problem with the use of flash and fade.
- Replies: 2
- Views: 679
Re: There is a problem with the use of flash and fade.
Code: Select all
define fade = Fade(1.0, 1.0, 2.0)
define flash = Fade(0.1, 0.2, 0.5, color="#FFFFFF")
define flashred = Fade(0.5, 1.0, 0.5, color="FF0000")
- Thu Nov 09, 2017 12:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Keeping Information Between Saves? (SOLVED)
- Replies: 1
- Views: 504
- Thu Nov 09, 2017 11:41 am
- Forum: Ren'Py Questions and Announcements
- Topic: Add a vertical bar when there are too many choices?
- Replies: 6
- Views: 1845
Re: Add a vertical bar when there are too many choices?
"xalign" and "yalign" both set to 0.5 so viewport should appear in the middle of the screen. Does that not the case? "xadjustment" and "yadjustment" are the position of "horizontal" and "vertical" scroll. If that's the part you want to move...
- Wed Nov 08, 2017 11:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: keysym & android
- Replies: 4
- Views: 671
Re: keysym & android
"K_AC_BACK"? It also list on the keymap as rollback.
http://pygame-sdl2.readthedocs.io/en/latest/#mobile
http://pygame-sdl2.readthedocs.io/en/latest/#mobile
- Wed Nov 08, 2017 11:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Add a vertical bar when there are too many choices?
- Replies: 6
- Views: 1845
Re: Add a vertical bar when there are too many choices?
You have to make an edit to current "screen choice" in "screens.rpy" by add Viewport in: screen choice(items): style_prefix "choice" if len(items) >= 10: viewport: draggable True mousewheel True scrollbars "vertical" xsize gui.choice_button_width ysize config....
- Tue Nov 07, 2017 12:41 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Switching Quick Menus?
- Replies: 3
- Views: 632
Re: Switching Quick Menus?
The method above does have an issue, though. If "window hide" is use, the variable reset to False. Another way to do it is to set the variable in two places. First for ADV: screen say(who, what): style_prefix "say" on "show" action SetVariable("nvl_showing", F...
- Tue Nov 07, 2017 12:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Switching Quick Menus?
- Replies: 3
- Views: 632
Re: Switching Quick Menus?
I can't find variable needed in the documentation, so here is my take on making one up: First, declare a boolean variable: default nvl_showing = False In "screens.rpy" search for "screen nvl". Then add two line of code: screen nvl(dialogue, items=None): # Add these two lines. on ...
- Tue Nov 07, 2017 7:36 am
- Forum: Ren'Py Questions and Announcements
- Topic: How do I reset a value? (example: coins) (SOLVED)
- Replies: 2
- Views: 652
Re: How do I reset a value? (example: coins)
Depending on the system, but you could just set the variable to zero.
Code: Select all
$ coins = 0
- Tue Nov 07, 2017 4:57 am
- Forum: Ren'Py Questions and Announcements
- Topic: syntax error help (resolved)
- Replies: 2
- Views: 472
Re: syntax error help
action ["I just left though.",Jump map] What with the text "I just left though." in action? That's not screen action. I assumed you're trying to have the narrator say that line? The easiest way is to jump to the appropriate label that says those line instead. Also, you can't jum...
- Tue Nov 07, 2017 4:38 am
- Forum: Ren'Py Questions and Announcements
- Topic: Circular timer
- Replies: 1
- Views: 687
Re: Circular timer
Something like this?
viewtopic.php?f=8&t=42301&p=442246
viewtopic.php?f=8&t=42301&p=442246