Search found 2377 matches

by Alex
Wed Feb 26, 2020 4:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Failing at adding variables in a search items mini-game
Replies: 2
Views: 61

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: 64

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: 3
Views: 138

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: 150

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: 57

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: 10
Views: 138

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: 64

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: 182

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: 182

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: 144

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: 182

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
by Alex
Tue Feb 18, 2020 5:31 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Struggling with the text box moving downwards after calling an image map
Replies: 6
Views: 147

Re: Struggling with the text box moving downwards after calling an image map

Well, I was hoping that you post the code that related with the pics you've posted... Anyway, try not to call a screen but just show it. And set the modal property of the screen to True (to force player interact with this screen only), and add an action to hide this screen when choice made. Like scr...
by Alex
Tue Feb 18, 2020 4:42 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Struggling with the text box moving downwards after calling an image map
Replies: 6
Views: 147

Re: Struggling with the text box moving downwards after calling an image map

Could you provide some code lines, like character declaration and part with normal text, imagemap calling and bugged text.