Search found 51 matches
- Thu Aug 23, 2018 6:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to access Python class in Renpy?
- Replies: 6
- Views: 2045
Re: How to access Python class in Renpy?
But if i use init python, i can't access renpy.input, since i want to ask user for their input
- Wed Aug 22, 2018 10:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to access Python class in Renpy?
- Replies: 6
- Views: 2045
Re: How to access Python class in Renpy?
ah solved it! i should put the python block inside the start label. Thank you! Hope you have a good day
- Wed Aug 22, 2018 10:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to access Python class in Renpy?
- Replies: 6
- Views: 2045
How to access Python class in Renpy?
Hi! I'm sorry if you saw me too often. I was playing around with renpy and python, so i tried to access a python class in renpy. I want to get user input for the numbers, but somehow it didn't work, Btw i know this code isn't applied for visual novel, i just took an easiest example to tested out. So...
- Wed Aug 22, 2018 12:33 am
- Forum: Ren'Py Questions and Announcements
- Topic: get_sensitive() and get_selected() methods in FileLoad() class (in 00action_file.rpy)
- Replies: 1
- Views: 417
get_sensitive() and get_selected() methods in FileLoad() class (in 00action_file.rpy)
def get_sensitive(self): if _in_replay: return False return renpy.can_load(__slotname(self.name, self.page)) def get_selected(self): if not self.confirm or not self.newest: return False return __newest_slot() == __slotname(self.name, self.page) Can you help me about this methods, when will this met...
- Wed Aug 22, 2018 12:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to change hover color of slots?
- Replies: 1
- Views: 418
How to change hover color of slots?
When a slot hovered, there's that vertical bar(i don't know actually what is that called).
I don't have a problem to change the color of the text (the filetime) but how can I change that left bar color when we hovered a slot? Thank you!- Tue Aug 21, 2018 11:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to get current text speed?
- Replies: 3
- Views: 642
Re: How to get current text speed?
Btw, in case someone need the code
it shows the value of your text speed beside the Text Speed text
Code: Select all
python:
def get_speed():
return _preferences.text_cps
$ current_speed = get_speed()
label _("Text Speed ([cur_speed)")
- Tue Aug 21, 2018 11:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to get current text speed?
- Replies: 3
- Views: 642
Re: How to get current text speed?
Ah so i still can access it. Thank you Kia for your answer!
- Tue Aug 21, 2018 8:58 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to get current text speed?
- Replies: 3
- Views: 642
How to get current text speed?
Hi, so umm it's me again.
Since we can change text speed through slider, can we get the value of text speed that has changed? Is there any renpy function that return value from a slider? Thank you.
Since we can change text speed through slider, can we get the value of text speed that has changed? Is there any renpy function that return value from a slider? Thank you.
- Tue Aug 21, 2018 3:17 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Can we draw Renpy Scripts to Class Diagram?
- Replies: 5
- Views: 850
Re: Can we draw Renpy Scripts to Class Diagram?
Um... Okay i'll try to explain as clear as i can. Let me know if it's not clear enough 😅 So, in screen.rpy there's some renpy classes that we used, like Frame(), Preference(), FileAction() and manymore. To use it, we don't need to make an object so we can call it. We just stated out in the script li...
- Sun Aug 19, 2018 9:48 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Can we draw Renpy Scripts to Class Diagram?
- Replies: 5
- Views: 850
Re: Can we draw Renpy Scripts to Class Diagram?
Yes, i know that renpy used python and we can create a block of class using python. But, as i stated above that i didn't create any classes by myself. I just used the basic renpy script for my game.
However, thank you for your answer trooper6
However, thank you for your answer trooper6
- Sun Aug 19, 2018 7:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Can we draw Renpy Scripts to Class Diagram?
- Replies: 5
- Views: 850
Can we draw Renpy Scripts to Class Diagram?
Hi! I wonder can we draw renpy scripts to a class diagram? I use the basic renpy code (i don't add my own class in the script with python). But when I read renpy documentation, it has Classes and Functions (https://www.renpy.org/doc/html/py-function-class-index.html). So, back to my first question, ...
- Sun Aug 19, 2018 7:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: alpha and linear in transform delayed_blink() function
- Replies: 2
- Views: 667
Re: alpha and linear in transform delayed_blink() function
Thank your for answering!
- Sun Aug 19, 2018 7:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to Reset Preference Setting?
- Replies: 4
- Views: 1427
Re: How to Reset Preference Setting?
I just realized that it will be bothersome for player if the preference got restart when the game started. So i'll use the Restart button. Thank you for your answer!
- Wed Aug 15, 2018 12:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to change Page Name(Title) in load/save screen to a Text not a Button?
- Replies: 3
- Views: 1037
Re: How to change Page Name(Title) in load/save screen to a Text not a Button?
In save/load screen there's screenshot and the file time. So the file time name will be added first and then followed by screenhot?
- Wed Aug 15, 2018 12:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: What's the difference of FileSaveName and FileTime?
- Replies: 2
- Views: 671
Re: What's the difference of FileSaveName and FileTime?
yes! Thank you for your answer