Search found 9 matches

by Sirifys-Al
Wed May 15, 2024 11:28 am
Forum: Ren'Py Questions and Announcements
Topic: Adding screen text to history log
Replies: 6
Views: 1542

Re: Adding screen text to history log

Hello, have you found a better solution to avoid copying "$ narrator.add_history(kind="adv", who="Charname", what=_("the needed text"))" every time? If so, could you please share the code?
by Sirifys-Al
Sun May 12, 2024 2:34 am
Forum: Ren'Py Questions and Announcements
Topic: Eyes following the mouse cursor in the main menu.
Replies: 8
Views: 855

Re: Eyes following the mouse cursor in the main menu.

Hello, did it work? If so, could you please share the code? I need the same thing, but I'm not good enough in coding for this. Here is a very simple way of doing it, just put the image into your images folder for that. You can of course add another eyeball, figuring that out should be a little lear...
by Sirifys-Al
Sun May 05, 2024 9:29 am
Forum: Ren'Py Questions and Announcements
Topic: Eyes following the mouse cursor in the main menu.
Replies: 8
Views: 855

Re: Eyes following the mouse cursor in the main menu.

Any help is appreciated! :D 1. Create a screen that is also shown within the main_menu screen you will find in <screens.rpy> (or put all your code into the main menu) 2. Within that screen call renpy.get_mouse_pos() using a repeating timer of let's say 0.1 secs, which gets you the mouse coordinates...
by Sirifys-Al
Sun Apr 28, 2024 1:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Can speech bubble's size be edited with code (not with Shift+B) to fit the text's length and height?
Replies: 0
Views: 337

Can speech bubble's size be edited with code (not with Shift+B) to fit the text's length and height?

I find it a bit inconvenient to edit bubbles during the game every time they are smaller than the text, so is there any way to set their height and width depending on the amount of text ? Also the problem is that in renpy.variant('small') the text's size is bigger and I have to make bubbles too big ...
by Sirifys-Al
Sat Apr 27, 2024 2:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?
Replies: 13
Views: 2025

Re: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?

Also interested since bublé came up.... I should check out the info on this... Thanks to @m_from_space, I've made this: screen bubble_input(prompt): style_prefix "bubble" frame: style "bubble_window" background Frame("gui/thoughtbubble2.png", 55, 55, 55, 55) #your bubb...
by Sirifys-Al
Sun Apr 21, 2024 5:36 am
Forum: Ren'Py Questions and Announcements
Topic: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?
Replies: 13
Views: 2025

Re: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?

Yes, Renpy handles all of this as part of the renpy.input() function, so you can just pass the usual keyword arguments like "length", "exclude", "mask"... at least I hope it won't raise some exception because the prompt is not just a string anymore. Yeah, me too... I m...
by Sirifys-Al
Sat Apr 20, 2024 6:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?
Replies: 13
Views: 2025

Re: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?

Edited: oh, one more question: with this code, will I be able to set things like input length, allowed characters and so on? Yes, Renpy handles all of this as part of the renpy.input() function, so you can just pass the usual keyword arguments like "length", "exclude", "mas...
by Sirifys-Al
Sat Apr 20, 2024 6:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?
Replies: 13
Views: 2025

Re: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?

Normally, the "input" screen is doing the work here. You can find it inside <screens.rpy>. So depending on what you want, you either change that screen, making sure it has a namebox that shows the name of a specific character, or you create your own screen and tell that when using renpy.i...
by Sirifys-Al
Sat Apr 20, 2024 4:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?
Replies: 13
Views: 2025

Re: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?

Andredron wrote: Fri Apr 19, 2024 7:39 am Also interested since bublé came up.... I should check out the info on this...
Have you found a solution yet? I would really like to know!