Search found 2467 matches
- Thu Jul 25, 2024 12:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Custom font not working
- Replies: 3
- Views: 150
Re: Custom font not working
Also, you are using "breach.tff", not "breach.ttf" in character definition.
- Mon Jul 22, 2024 7:05 am
- Forum: Ren'Py Questions and Announcements
- Topic: Calling a label and returning the return value in Python
- Replies: 2
- Views: 161
Re: Calling a label and returning the return value in Python
renpy.call does not return anything. It does not even directly executes label. It simply sends signal to interpreter that next statement should be executed from there and sets up call stack. When label starts executing, your python function already finished. Called labels place result into _return ...
- Mon Jul 22, 2024 3:42 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Type hinting in Python not respected?
- Replies: 3
- Views: 342
Re: Type hinting in Python not respected?
ah okay... this is kind of a disappointment to me. I mean... why in hell introduce type hints into the language syntax when they are not validated during runtime?! This is strange... However thank you for this clarification! This is more in-code documentation, IDE helper and static analyser support...
- Sun Jul 21, 2024 11:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: Creator Defined Statement (CDS) not working
- Replies: 3
- Views: 273
Re: Creator Defined Statement (CDS) not working
Creator-Defined Statements (CDS) must conform to the following rules: • They must be defined in a python early block. • They cannot be used in the same file in which they are defined. • The file containing the CDS must be loaded earlier than any file that uses it. (Since Ren'Py loads files in the U...
- Sun Jul 21, 2024 8:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: How does one delete a project?
- Replies: 5
- Views: 5087
Re: How does one delete a project?
Can I please be a bit of a stickler and say that this is very poor user interface design. Having the delete function outside of the app is unintuitive and does not allow for an immersive experience. And in realm of industrial design occasionally used irreversible actions are often placed outside of...
- Mon Jul 15, 2024 9:58 am
- Forum: Ren'Py Questions and Announcements
- Topic: Problem with DictInputValue [solved]
- Replies: 2
- Views: 245
Re: Problem with DictInputValue
note_song is a list. 'note_song' is a string. DictInputValue expects a dict (or a list), not a string.
- Sun Jul 07, 2024 3:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Ren'Py Issues with Load Order, Defaults, and Pickling
- Replies: 6
- Views: 719
Re: Ren'Py Issues with Load Order, Defaults, and Pickling
THere is something very wrong with prev_character definition. As in "I cannot even start to think how to reproduce it". Weird thig is that RenPy load system is not dependent on init order. On load RenPy reruns default statements and after that replaces objects contents with data from save....
- Sat Jul 06, 2024 10:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: Strange issue with list retention between loads
- Replies: 8
- Views: 521
Re: Strange issue with list retention between loads
Is mazewalked explicitely defined anywhere else? How do you call SetVars label?
- Thu Jul 04, 2024 3:50 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Assistance with OOP
- Replies: 21
- Views: 913
Re: Assistance with OOP
define character = [ . . . ] HEre you are defining character to be a list. It is no surprise that character.a gives you an error after that. Character is a reserved name in RenPy. It is a function for creating dialogue characters. You should not redefine it with your own classes, because RenPy uses...
- Wed Jul 03, 2024 3:58 am
- Forum: Ren'Py Questions and Announcements
- Topic: Showing image without resetting animation
- Replies: 3
- Views: 310
Re: Showing image without resetting animation
Same animation base works only if two images share the same tag:
Code: Select all
image room angle1:
# . . .
image room angle2:
# . . .
show room angle1
"some dialogue"
show room angle2
"some dialogue"
- Tue Jul 02, 2024 3:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to turn a store variable into a defined 'variable'
- Replies: 2
- Views: 287
Re: How to turn a store variable into a defined 'variable'
Right now it is better to simply reassign character in after_load label. What is saved cannot be unsaved (unless you give them a program to fix their saves). What would I do: 1) Define correct character under new name. 2) Assing new character to the old variable 3) After load check if old variable e...
- Tue Jul 02, 2024 12:49 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Adding a new functionality to old Ren'Py release
- Replies: 2
- Views: 253
Re: Adding a new functionality to old Ren'Py release
There is a hard way and even harder way. If you have a GIT set up for your fork, you can simply try to merge current version, resolve all merge conflicts, debug new stuff and be done. If you don't, then go to RenPy github page, generate diff between current and your version, see something like 916 c...
- Tue Jul 02, 2024 5:50 am
- Forum: Ren'Py Cookbook
- Topic: Removing ALL bubbles from screen
- Replies: 3
- Views: 489
Re: Removing ALL bubbles from screen
Another hack: 1) define a bubble character which has no name: define remove_bubbles = Character(None, image="remove_bubbles", kind=bubble, interact=True) 2) add an empty say statement where you need bubbles to be cleaned. remove_bubbles '' 3) Set the speech bubble to the bottom right of yo...
- Thu Jun 27, 2024 9:35 am
- Forum: Ren'Py Questions and Announcements
- Topic: string translation fails
- Replies: 4
- Views: 272
Re: string translation fails
It depends on how do you show these strings. Translation does not happen until string is displayed (because you can change language anytime), and if you choose a way of displaying that does not work with translations, then they are not translated.
- Wed Jun 26, 2024 3:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a similar function to ui.imagebutton and ui.interact in the latest versions of Renpy?
- Replies: 1
- Views: 170
Re: Is there a similar function to ui.imagebutton and ui.interact in the latest versions of Renpy?
UI functions cannot be predicted, cannot be cached and everything else in RenPy works in terms of screens. So they are outdated and underperforming. Hence the removal. If you want a single imagebutton, you create a screen with a single imagebutton and show it whenever you want to show it. You can ev...