Search found 2439 matches

by Alex
Fri Feb 28, 2020 3:19 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Having trouble hiding screens and images automatically during choice menu
Replies: 9
Views: 305

Re: Having trouble hiding screens and images automatically during choice menu

What's the actual code you are using (the part that shows hud_bottom screen and choices menu and some lines around this part of code)?
by Alex
Fri Feb 28, 2020 3:08 pm
Forum: Ren'Py Questions and Announcements
Topic: Game fails to detect the start label
Replies: 6
Views: 325

Re: Game fails to detect the start label

Check the archive options in options.rpy to see what files are archived and what are not. This might be that your script file with start label not included in distribution somehow... Or I don't know what else...
(edit: I'm sloooow...)
by Alex
Wed Feb 26, 2020 4:32 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Failing at adding variables in a search items mini-game
Replies: 4
Views: 275

Re: Failing at adding variables in a search items mini-game

If you need some active parts of screen, then try imagemap or a number of imagebuttons - they are suit well for player's interaction with the game. Check tutorial game - section about screens and screen language, and some documentation https://www.renpy.org/doc/html/screens.html https://www.renpy.or...
by Alex
Tue Feb 25, 2020 5:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Having an issue with text message code
Replies: 3
Views: 179

Re: Having an issue with text message code

Hmm... as documentation says "The init python statement runs Python at initialization time, before the game loads." ( https://www.renpy.org/doc/html/python.html#init-python-statement ) "The default statement sets a single variable to a value if that variable is not defined when the game starts, or a...
by Alex
Tue Feb 25, 2020 2:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Game fails to detect the start label
Replies: 6
Views: 325

Re: Game fails to detect the start label

In what script file you have this 'start' label? Are you sure this file is in your distribution?
If game works fine from launcher, try to rebuild distribution.
by Alex
Tue Feb 25, 2020 2:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Enabled Textbutton Display on Preference Screen
Replies: 3
Views: 272

Re: Enabled Textbutton Display on Preference Screen

Try

Code: Select all

textbutton _("NVL") action SetField(persistent, nvl, True)
by Alex
Tue Feb 25, 2020 1:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Displaying Images "At Left"
Replies: 1
Views: 167

Re: Displaying Images "At Left"

Both options would work - you can create your own transform to position characters on screen or redefine existed ones (all those left, right, etc.). transform my_left: xalign 0.3 label start: "..." show eileen at my_left "?!" https://www.renpy.org/doc/html/transforms.html https://www.renpy.org/doc/h...
by Alex
Tue Feb 25, 2020 1:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Different random after scroll back
Replies: 12
Views: 375

Re: Different random after scroll back

By the way, you can't stop players from er... kind of cheating. If your random number would be different after rollback, then player will be able to rollback until (s)he wins. And if you'll block the rollback function, player could save game before making stake and restore the game in case of lose.....
by Alex
Tue Feb 25, 2020 1:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Having an issue with text message code
Replies: 3
Views: 179

Re: Having an issue with text message code

The program complaines that it expected something like "#fff" as an argument for Solid statement, but got some text ("[bubble_color]"). If you want to use a variable for color, then it should look like Solid(bubble_color) (without quotes, so the program could understand that this is a variable). Var...
by Alex
Thu Feb 20, 2020 2:20 pm
Forum: Ren'Py Questions and Announcements
Topic: renpy.restart_interaction AFTER a Return?
Replies: 11
Views: 279

Re: renpy.restart_interaction AFTER a Return?

You can use the screen you have, but show it with Show action to stay in a game context.
by Alex
Wed Feb 19, 2020 7:23 pm
Forum: Ren'Py Questions and Announcements
Topic: renpy.restart_interaction AFTER a Return?
Replies: 11
Views: 279

Re: renpy.restart_interaction AFTER a Return?

How do you show your inventory screen - using ShowMenu action? If so change it to Show action.

https://www.renpy.org/doc/html/screen_a ... l#ShowMenu
https://www.renpy.org/doc/html/screen_actions.html#Show
by Alex
Wed Feb 19, 2020 3:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Label starts in the middle
Replies: 5
Views: 229

Re: Label starts in the middle

Also, you could try to do it like default lbl_name = None label chat: if lbl_name: jump expression lbl_name # or $ renpy.jump(lbl_name) chat chat chat $ lbl_name = "chat_1" label chat_1: chat chat chat $ lbl_name = "chat_2" label chat_2: chat chat chat $ lbl_name = "chat_end" label chat_end: "...not...
by Alex
Wed Feb 19, 2020 2:59 pm
Forum: Ren'Py Questions and Announcements
Topic: renpy.restart_interaction AFTER a Return?
Replies: 11
Views: 279

Re: renpy.restart_interaction AFTER a Return?

Try to name your in-game menu, store its name in variable, jump to this menu if your inventory screen was opened while in menu.

viewtopic.php?f=8&t=57948&p=524422#p524422
https://www.renpy.org/doc/html/menus.html