Search found 52 matches
- Wed Feb 19, 2020 11:23 am
- Forum: Ren'Py Questions and Announcements
- Topic: Label starts in the middle
- Replies: 5
- Views: 316
Label starts in the middle
Is it possible to create a way for the label to skip seen parts of a label? I'm doing a chat system and you can exit anytime you want and open it the same way. My problem is that everytime I open the chat label it starts from the beginning. I'm thinking on adding some id's to each of the lines or so...
- Wed Feb 19, 2020 10:36 am
- Forum: Ren'Py Cookbook
- Topic: telegram messenger (2 version)
- Replies: 122
- Views: 27365
Re: telegram messenger (2 version)
Is there any way to close the chat from the x button and when you get back to continue where you were?
- Wed Feb 19, 2020 4:25 am
- Forum: Ren'Py Questions and Announcements
- Topic: NVL, Labels and Screens
- Replies: 2
- Views: 295
Re: NVL, Labels and Screens
Thank you. I've been looking for something like this. I hope it is what I need. I'll take a look now.
- Tue Feb 18, 2020 12:49 pm
- Forum: Ren'Py Questions and Announcements
- Topic: NVL, Labels and Screens
- Replies: 2
- Views: 295
NVL, Labels and Screens
I'm trying to build a chat system and I have found the NVL stuff, which I think might be exactly what I need. The game I'm trying to build is a little bit complex, but I have implemented a phone with different apps. One of the apps is a chat. I have a screen where you can select an app which will lo...
- Sun Feb 16, 2020 6:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Proper way of using classes
- Replies: 7
- Views: 593
Re: Proper way of using classes
Adding a call to renpy.retain_after_load() to the end of the incTime method will likely resolve the issue you see. It's definitely worth reading up on this function in the documentation as it's not a panacea for all related cases, and so it's use can be quite situational. Thank you very much good s...
- Sat Feb 15, 2020 5:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Proper way of using classes
- Replies: 7
- Views: 593
Re: Proper way of using classes
You should name your class something else since time is already in use in python. also you need to create an instance of your class and use that in your screen: default timekeep = timekeep_class(0, 0) I'm not sure I understand what's an instance. Isn't the default timekeep = timekeep_class(0,0) an ...
- Sat Feb 15, 2020 6:57 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Proper way of using classes
- Replies: 7
- Views: 593
[SOLVED] Proper way of using classes
Hello guys, I have build a class with a few methods to change the parameters, but when I save I loose my changes. Here is one of the classes that I have created and a variable. init -100 python: class Time: def __init__(self, time, day): self.time = time self.day = day def incTime(self): if self.tim...