Search found 1292 matches

by Obscura
Thu Feb 07, 2019 1:31 am
Forum: Ren'Py Questions and Announcements
Topic: How to Prevent Input Box A from Losing Its Contents when Input Box B is Selected? [SOLVED]
Replies: 7
Views: 399

Re: How to Prevent Input Box A from Losing Its Contents when Input Box B is Selected?

Ah, understood. I was just using the firstname and lastname since it was the example used from this thread: https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=38080 from Namastaii. These would have a different purpose in my game. I may just use Namastaii's alternative code to do this, which does...
by Obscura
Thu Feb 07, 2019 1:27 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Not Understanding the Styles System
Replies: 2
Views: 152

Re: Not Understanding the Styles System

Well, that explains it! Thanks so much for clearing up the confusion, philat!!!
by Obscura
Thu Feb 07, 2019 1:24 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Creating Preference Screen Options (change game font, adjust opacity, change text colour)
Replies: 4
Views: 245

Re: Creating Preference Screen Options (change game font, adjust opacity, change text colour)

At least in terms of font preferences, you can register different styles, then allow the user to switch styles in the preferences menu using buttons.

https://www.renpy.org/doc/html/style.ht ... preference
by Obscura
Thu Feb 07, 2019 1:14 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Not Understanding the Styles System
Replies: 2
Views: 152

[SOLVED] Not Understanding the Styles System

I'm trying to learn the more current way styles are implemented in Renpy, and I'm not sure I understand. The documentation gives these examples: style my_text is text: size 40 font "gentium.ttf" style big_red: size 40 Why does the first have "is text" after it? Why doesn't the second? How do you kno...
by Obscura
Thu Feb 07, 2019 1:08 am
Forum: Ren'Py Questions and Announcements
Topic: How to Prevent Input Box A from Losing Its Contents when Input Box B is Selected? [SOLVED]
Replies: 7
Views: 399

Re: How to Prevent Input Box A from Losing Its Contents when Input Box B is Selected?

Thanks for the simplified code. The issue I'm having is: Type in box 1, you'll be able to input fine. Then type in box 2, you'll be able to input fine. If you GO BACK to box 1 to edit it (because the player may want to edit the first box before submitting both), you cannot click into it unless you c...
by Obscura
Wed Feb 06, 2019 4:08 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py @ 15
Replies: 13
Views: 2023

Re: Ren'Py @ 15

You and your team's work has transformed the lives of many, many people all over the world, be they players, hobbyists, or devs. You have built quite a legacy. Thank you for everything, Tom & company.
by Obscura
Wed Feb 06, 2019 3:41 am
Forum: Ren'Py Questions and Announcements
Topic: How to Prevent Input Box A from Losing Its Contents when Input Box B is Selected? [SOLVED]
Replies: 7
Views: 399

Re: How to Prevent Input Box A from Losing Its Contents when Input Box B is Selected?

I edited this post--which was originally about how to double click and edit a draggable button, but it seems double-clicking gets complicated, at least according to this thread, so I'm approaching the issue from a different angle but have run into the questions above.
by Obscura
Tue Feb 05, 2019 4:52 pm
Forum: Ren'Py Questions and Announcements
Topic: How to Prevent Input Box A from Losing Its Contents when Input Box B is Selected? [SOLVED]
Replies: 7
Views: 399

How to Prevent Input Box A from Losing Its Contents when Input Box B is Selected? [SOLVED]

I have a screen containing multiple, draggable input boxes. The problem is when I am filling out one box, the contents of the other box momentarily disappears. screen text_input_screen(): frame: xpos 250 ypos 300 draggroup: drag: xpos 300 ypos 300 default screenvar = False droppable False imagemap: ...
by Obscura
Wed Jan 30, 2019 11:10 am
Forum: Ren'Py Questions and Announcements
Topic: Changing storyline on second playthrough?
Replies: 3
Views: 166

Re: Changing storyline on second playthrough?

Ugh, sorry, DON'T use default! Instead use persistent: Before your game starts: init python: if persistent.first_playthrough_completed is None: persistent.first_playthrough_completed = False ..... At the end of your game, and before the "return", put this: $ persistent.first_playthrough_completed=Tr...
by Obscura
Wed Jan 30, 2019 12:28 am
Forum: Ren'Py Questions and Announcements
Topic: Changing storyline on second playthrough?
Replies: 3
Views: 166

Re: Changing storyline on second playthrough?

-deleted and corrected below-
by Obscura
Tue Jan 29, 2019 9:00 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Building Dists for Markets in 7.1.3 means I no longer need to insert additional Steam libraries?
Replies: 0
Views: 185

[SOLVED] Building Dists for Markets in 7.1.3 means I no longer need to insert additional Steam libraries?

I just want to clarify that one no longer needs a separate link of Steam libraries from Tom to build a Steam distribution using the latest Renpy. Will "building distributions for markets" automatically do that? (The game contains achievements, not sure if they'll work without additional libraries?) ...
by Obscura
Tue Jan 29, 2019 12:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Text is not an image error? Issue with Parameterized Text?
Replies: 0
Views: 165

Text is not an image error? Issue with Parameterized Text?

My code contains: init 3: image formattedwriting = renpy.ParameterizedText(style="arial", color=("#000")) # and several other attributes label start: $somewriting = "Hello world" show formattedwriting ("[somewriting]") While this runs fine in the game, when I run lint, I get the follow error: format...
by Obscura
Mon Jan 28, 2019 11:45 pm
Forum: Creator Discussion
Topic: Three Cheers for PyTom!
Replies: 17
Views: 1422

Re: Three Cheers for PyTom!

I'm convinced there are multiple PyToms running around at this point. Not sure how one person is able to work on RenPy, this forum, the games database, Patreon articles...
by Obscura
Mon Jan 28, 2019 11:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Best way to style text conditionally?
Replies: 3
Views: 224

Re: Best way to style text conditionally?

Thanks very much, IrinaLazareva! I'm not sure if I'll be able to use that since I already have multiple menus and am not sure how I'd integrate this into each one of them. But that's an extremely useful code to know for the future. :) @Remix, thanks for the heads up. That looks like a great new feat...
by Obscura
Sat Jan 26, 2019 6:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Best way to style text conditionally?
Replies: 3
Views: 224

Best way to style text conditionally?

Let's say you want to ask the player a lot of questions. Each of the menu choices will be colored differently depending on whether or not the player has agreed for help. menu: "Do you want my help?" "Yes": $help=True "No": $help=False menu: "How do you feel about this issue?" "Good.": #this word wil...