Search found 1109 matches

by noeinan
Wed Sep 16, 2020 7:42 pm
Forum: Ren'Py Cookbook
Topic: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials etc]
Replies: 96
Views: 47489

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials etc]

I'm really glad that you found it helpful! If I have time, I'll go over and update things to make it more polished, I'm glad folks are still getting some use out of this.
by noeinan
Fri Jul 17, 2020 8:28 pm
Forum: Ren'Py Questions and Announcements
Topic: For loop in Screen to populate buttons?
Replies: 1
Views: 275

For loop in Screen to populate buttons?

Hello! I am trying to make a very simple shop. I have all the code for my inventory management, but am struggling with getting the shop itself working. I have a random generator (custom class I made) that creates random toys. I want the shop to take a dictionary and iterate through a for loop, addin...
by noeinan
Wed May 20, 2020 12:28 am
Forum: Ren'Py Questions and Announcements
Topic: Syntax Question: Accessing Dictionary Using Variable as Key? (solved)
Replies: 2
Views: 207

Re: Syntax Question: Accessing Dictionary Using Variable as Key?

Doing it like that unfortunately also doesn't work, however, I did just figure it out! Been ramming my head against it for a while (not helped by me initially using the wrong search terms) and I eventually found the answer here: https://renpy.org/wiki/renpy/doc/reference/Text#Interpolation So for my...
by noeinan
Tue May 19, 2020 11:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Syntax Question: Accessing Dictionary Using Variable as Key? (solved)
Replies: 2
Views: 207

Syntax Question: Accessing Dictionary Using Variable as Key? (solved)

Hello! I was wondering if there was a way I could replace the index of a dictionary with a variable? To elaborate, here is what I am trying to do: I've got a random generator which creates a dictionary, each index is one character, each with their own set of stats. Normally, if I want to use the gen...
by noeinan
Sun May 17, 2020 8:16 am
Forum: Ren'Py Questions and Announcements
Topic: Modifying Extend to Show All At Once? (solved)
Replies: 6
Views: 239

Re: Modifying Extend to Show All At Once?

Ah, thanks! I didn't realize {nw} was used like this. Much appreciated!
by noeinan
Sun May 17, 2020 2:18 am
Forum: Ren'Py Questions and Announcements
Topic: Modifying Extend to Show All At Once? (solved)
Replies: 6
Views: 239

Re: Modifying Extend to Show All At Once?

What I was showing was just an example, but what I'm doing is a bit more complicated. I have a lot of random events, and sometimes add line extensions based on variables in classes, and not all the lines will show up in the same order every time. It might be plausible to fenagle it with variables, b...
by noeinan
Sun May 17, 2020 1:19 am
Forum: Ren'Py Questions and Announcements
Topic: Modifying Extend to Show All At Once? (solved)
Replies: 6
Views: 239

Modifying Extend to Show All At Once? (solved)

I was wondering if there was a way to modify dialogue extend so that when the player clicks to see the next line, all the extended sections show at the same time as the first line instead of having to click again for each extended bit. Ex. "There was a series of unfortunate events." if weather == "s...
by noeinan
Tue Apr 28, 2020 12:32 am
Forum: Ren'Py Cookbook
Topic: [Tutorial] Customizing the NVL Textbox
Replies: 38
Views: 25564

Re: [Tutorial] Customizing the NVL Textbox

Got an answer to this in another thread, so I'm posting here in case anyone else runs into this problem! gui.nvl_borders = Borders(0, 10, 0, 20) is what's used to change the nvl window padding. Changing the second value in Borders with adjust the height at which the dialogue will start appearing. El...
by noeinan
Tue Apr 28, 2020 12:26 am
Forum: Ren'Py Questions and Announcements
Topic: NVL Thought Ypos Adding Spacing Between Lines? (solved)
Replies: 5
Views: 212

Re: NVL Thought Ypos Adding Spacing Between Lines?

Thanks again, MaydohMaydoh! I really appreciate your help, this one works
by noeinan
Mon Apr 27, 2020 4:23 am
Forum: Ren'Py Questions and Announcements
Topic: NVL Thought Ypos Adding Spacing Between Lines? (solved)
Replies: 5
Views: 212

Re: NVL Thought Ypos Adding Spacing Between Lines?

Thanks for the response! This has really been bugging me but I haven't made any progress so far. After trying out your suggestion, I got an error "Value is not a style." so it seems like maybe this isn't programmed into the new style format? (Unless I just messed up and did something wrong, I just a...
by noeinan
Mon Apr 27, 2020 2:22 am
Forum: Ren'Py Questions and Announcements
Topic: Syntax Question: If item in list (contained within a dict) (solved)
Replies: 2
Views: 161

Re: Syntax Question: If item in list (contained within a dict)

Oh, thanks! That worked-- I could swear I tried putting it in quotes before, but maybe I had a typo somewhere. Thank you very much!
by noeinan
Sun Apr 26, 2020 10:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Syntax Question: If item in list (contained within a dict) (solved)
Replies: 2
Views: 161

Syntax Question: If item in list (contained within a dict) (solved)

Hello! I am in the middle of coding some combat/interaction code and ran into a syntax issue. I'm using this code to generate a random NPC for the triggered event: def GenerateMultipleNPCs(npc): ## npc is number of npcs you want to create npc_dict = {} for x in range(npc): ## add new dictionary entr...
by noeinan
Sun Apr 26, 2020 6:35 pm
Forum: Ren'Py Questions and Announcements
Topic: NVL Thought Ypos Adding Spacing Between Lines? (solved)
Replies: 5
Views: 212

NVL Thought Ypos Adding Spacing Between Lines? (solved)

I've been customizing my nvl textbox using information in this tutorial: https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=17232 but I've run into some issues and was wondering if anyone had some insight! This is the code posted in the thread for adjusting the position of the nvl text: Gui.rpy:...
by noeinan
Sun Apr 26, 2020 6:29 pm
Forum: Ren'Py Questions and Announcements
Topic: NVL Textbox Not Accepting Custom Layer
Replies: 1
Views: 169

Re: NVL Textbox Not Accepting Custom Layer

Hm, still working on this one. It seems the nvl textbox is just not accepting the custom layer since custom layers work properly everywhere else. I only found two threads that even somewhat mention someone doing this, but neither seem to apply to my issue... https://lemmasoft.renai.us/forums/viewtop...
by noeinan
Sat Apr 25, 2020 8:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Choices in NVL Textbox? (solved, kinda)
Replies: 1
Views: 124

Re: Choices in NVL Textbox? (solved, kinda)

Alright, I figured out a way to make it work with labels instead of a button, so hyperlink will probably be easier than figuring out how to make choices show up in nvl. Still a bit curious as to how that would work, but for my purposes I guess this is solved!