Search found 22 matches

by Uy27
Tue Oct 22, 2019 10:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Variables and Replay
Replies: 4
Views: 327

Re: Variables and Replay

try this if this you want i have tried it and works for me but i did use the replay cause i don't have it so hope it works for you that you want it too Edit: it only work inside of the game textbutton _("testing") action [ Jump("test"), povname.strip() ] textbutton "The meaning of life": action [ R...
by Uy27
Tue Oct 22, 2019 3:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Variables and Replay
Replies: 4
Views: 327

Re: Variables and Replay

can you post your code that you are using? are you using: textbotton? hotspots? imagebuttons? here are some examples textbutton you can do the same for other as well SetField: textbutton _("Cousin Hearts") action [ ShowMenu("test"), SetField(cousin, "lim", cousin.lim+50) ] SetVariable: textbutton _...
by Uy27
Tue Oct 22, 2019 2:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Variables and Replay
Replies: 4
Views: 327

Variables and Replay

Hello I am trying to add a scene gallery to my game. Calling the replay seems simple enough but how do you make replay remember some variables? For example, in my game the player writes their own name (povname = playername) so in a replay every time the player talks it gives the error (povname not d...
by Uy27
Sun May 05, 2019 3:20 pm
Forum: Asset Creation: Writing
Topic: When to use more dialogue/narration?
Replies: 5
Views: 514

Re: When to use more dialogue/narration?

I did my game with pure dialogue as I kind of was tired of the amount of narration that was used on visual novels. I feel like it kind of defeats the purpose of the visual part. Don't tell me that he/she is picking up the towel- show me. Don't tell me that he/she is mad or sad- show me. A wall of te...
by Uy27
Sun May 05, 2019 2:58 pm
Forum: Creator Discussion
Topic: A Game I Made For Practice is Getting Attention. Do I Continue Development?
Replies: 7
Views: 950

Re: A Game I Made For Practice is Getting Attention. Do I Continue Development?

Go for it. That's the best way of learning. When I released my game I felt a bit pressure once the people started to play the game and expected all kinds of stuff. But due to the pressure and not wanting to let the player base down- you learn a ton and grow as a developer. But like mentioned above m...
by Uy27
Tue Aug 28, 2018 8:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Updating label on new updates (Quest log)
Replies: 0
Views: 457

Updating label on new updates (Quest log)

So I am using the quest log from jw2pfd: https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=25245#p310193 I got it to work. The thing is, in my game I update it monthly and I just realized that the quests declarations are in a label. Example: label createlog: python: quests = [ ] ###############...
by Uy27
Mon Aug 27, 2018 3:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Working with time variables
Replies: 2
Views: 146

Re: Working with time variables

Hello trooper6. I just want to say a quick thanks. I remember when I was making my game that I saw your other post (while helping others) that also solved my own issues. So big thanks for that. Anyway, I have seen through all the dating sim scripts, but sadly none that I could find (maybe due to my ...
by Uy27
Mon Aug 27, 2018 3:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Working with time variables
Replies: 2
Views: 146

Working with time variables

So I have this very simple code define day = 1 $ day_number = (day%7) $ day_name_values = ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday") $ day_name = day_name_values[day_number] $ dayTime_number = (dayTime%6) $ dayTime_name_values = ("Morning", "Noon", "Afternoon","Ev...
by Uy27
Tue Jul 31, 2018 4:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Show success rate with non-uniform probability distribution.
Replies: 6
Views: 319

Re: Show success rate with non-uniform probability distribution.

Thank you so much for that Remix! It works. However, is there a way for it to appear before you 'run the code'". Example of the code; label theft1: while dayTime == 4: scene black "It's late. I better get some sleep." return $ results = [('success',1 +pc.stealth),('fail',3)] $ place = NonUniformRand...
by Uy27
Tue Jul 31, 2018 1:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Show success rate with non-uniform probability distribution.
Replies: 6
Views: 319

Re: Show success rate with non-uniform probability distribution.

Not quite. I think it may be my explanation that is lacking so I apologize for that. $ results = [('success',1),('fail',9)] $ place = NonUniformRandom(results) I changed it to 1 and 9 to explain it better. In the renpy documents, this means on average out of 10 times. 1 will be success and 9 will be...
by Uy27
Tue Jul 31, 2018 11:26 am
Forum: Ren'Py Questions and Announcements
Topic: Show success rate with non-uniform probability distribution.
Replies: 6
Views: 319

Re: Show success rate with non-uniform probability distribution.

Check this in the manual https://www.renpy.org/doc/html/text.html Hello, thanks for taking your time to reply to my question. I have of course seen that and I also know how to add variables in the text. It's more than I don't know what in the code is the variable that will show that success rate. A...
by Uy27
Tue Jul 31, 2018 10:31 am
Forum: Ren'Py Questions and Announcements
Topic: Show success rate with non-uniform probability distribution.
Replies: 6
Views: 319

Show success rate with non-uniform probability distribution.

Hello everyone So I have this code; $ results = [('success',1 +atk),('fail',10)] $ place = NonUniformRandom(results) Works fine and as it supposed to. Question is; Is there a way to show the success chance in a text? Like that code above and let's say that atk is 1 so the success probability is 2. C...
by Uy27
Wed May 30, 2018 9:26 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Format string problem
Replies: 4
Views: 244

Re: format string problem

I see so as I though it's not possible to add more to that code I have to rewrite it. Thank you for the help, I will try to play around with it again and see if I can make it work this time. *Edit* So for people who may have the same problem, I solved it by simply making 3 copy paste of the whole co...
by Uy27
Wed May 30, 2018 9:10 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Format string problem
Replies: 4
Views: 244

Re: format string problem

I'm a bit of a newbie. How exactly does someone go about that with this kind of code?
Also what is ternary operators?
by Uy27
Wed May 30, 2018 8:46 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Format string problem
Replies: 4
Views: 244

[Solved] Format string problem

So I'm messing around with a code made my trooper6 from here https://lemmasoft.renai.us/forums/viewtopic.php?t=39482 , which works no problem. My problem is here: init python: class PointLocker(object): def __init__(self): self.dp = 0 self.np = 0 def ch_pts(self, type, num): if num >= 0: start = "{c...