Search found 1635 matches

by philat
Wed Sep 18, 2019 9:30 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Conditional "say" screen position changes
Replies: 3
Views: 326

Re: Conditional "say" screen position changes

Yeah, I'd prob use styles passed to a character rather than a check in the screen (although the latter is possible).

https://renpy.org/doc/html/dialogue.html#Character

Scroll down to Styling Text and Windows.
by philat
Mon Sep 16, 2019 11:57 pm
Forum: Ren'Py Questions and Announcements
Topic: How do you make a ‘notepad’ screen? SOLVED
Replies: 4
Views: 292

Re: How do you make a ‘notepad’ screen?

screen notepad(image): add "images/notepad.png" at slideup add image at slideup transform slideup: yalign 0.5 yoffset 1080 linear 0.5 yoffset 0 label start: "Blah blah" show screen notepad("images/imsorry.png") "blah blah" hide screen notepad "blah blah" Extremely simplified and untested, but the b...
by philat
Fri Sep 13, 2019 5:04 am
Forum: Ren'Py Questions and Announcements
Topic: Do I need to define all the attributes in a class?
Replies: 10
Views: 330

Re: Do I need to define all the attributes in a class?

Character() is a reserved class anyway, so don't use that. (Remix's link is good, but probably over your head at this point.)
by philat
Tue Sep 10, 2019 9:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Automatically adding pauses to accentuate dialogue?
Replies: 4
Views: 330

Re: Automatically adding pauses to accentuate dialogue?

Actually you can use config.say_menu_text_filter instead of config.replace_text and it will work.
by philat
Wed Sep 04, 2019 9:51 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Items in Inventory Disappearing on Load
Replies: 2
Views: 233

Re: Items in Inventory Disappearing on Load

No, the items are still there, the game just doesn't recognize them as the same items because you're using define. Use default for your Item definitions and it works.
by philat
Fri Aug 30, 2019 2:43 am
Forum: Ren'Py Questions and Announcements
Topic: Enabling Textbuttons to Add Duplicate Items to the Inventory
Replies: 8
Views: 415

Re: Enabling Textbuttons to Add Duplicate Items to the Inventory

You should roll your own screen action instead of using AddToSet. It's not very difficult if you look at 00action_data.rpy in the common files. You'd only have to copy AddToSet and change a few names/lines.
by philat
Sun Aug 11, 2019 9:51 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to make gender-specific dialogue translatable
Replies: 9
Views: 375

Re: How to make gender-specific dialogue translatable

I mean, them's the breaks. Gendered language is inconvenient. Don't know what to say. Ren'py isn't specifically built to deal with this kind of stuff very easily -- if you're open to other stuff, I'd look into ink.
by philat
Tue Aug 06, 2019 9:29 pm
Forum: Ren'Py Questions and Announcements
Topic: Issue with returning item count and displaying only unique values in a list
Replies: 7
Views: 294

Re: Issue with returning item count and displaying only unique values in a list

I mean, there are too many ways to do what you want to do. You could do it with dictionaries, you could do it with lists of tuples, you could put a separate attribute for each item class to indicate the number of items held. Heck, if you wanted to, you could count the number of duplicates in a list ...
by philat
Tue Jul 16, 2019 8:20 am
Forum: Ren'Py Questions and Announcements
Topic: Having trouble with choice menus
Replies: 3
Views: 323

Re: Having trouble with choice menus

Seems it should work. Probably something else affecting it. In any case, I would move the jump statements out of the menu choices and let the menu fall through unless exited (by choosing "Nothing right now.") and use bracket interpolation throughout for consistency and readability. label vending_mac...