Search found 18 matches
- Mon Jul 17, 2023 11:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: AlphaMask issues; not appearing
- Replies: 0
- Views: 4432
AlphaMask issues; not appearing
I don't know if this is a bug or intended, but AlphaMask does not show up for my character portraits. Each portrait is defined like so: image e happy: ypos 1220 "images/emmett/e happy.png" I don't think it should effect AlphaMask. But when I try to use one in my code, it straight up doesn'...
- Wed Jul 06, 2022 12:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Issue with renpy.music.get_duration() and syncing lip flaps
- Replies: 2
- Views: 442
Re: Issue with renpy.music.get_duration() and syncing lip flaps
Hi, sorry for late response! This worked like a charm, thank you so much. Also thank you for the advice! I didn't realize timers could be so useful!
- Wed Jun 29, 2022 2:02 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Issue with renpy.music.get_duration() and syncing lip flaps
- Replies: 2
- Views: 442
[Solved] Issue with renpy.music.get_duration() and syncing lip flaps
I'm trying to make a shop screen with a character on the side that randomly talks to you, and his lips will flap when a voice clip is playing. Problem is that I can't seem to get the duration of the voice clip within the screen. I've been doing it like this: screen shop: ## just using a key to test ...
- Fri Jun 24, 2022 4:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Vpgrid scrollbar customization?
- Replies: 3
- Views: 325
Re: Vpgrid scrollbar customization?
vpgrid is still a viewport with some grid properties attacjed. You still can access scrollbars and side_ properties, just as you can for viewport, for example. I'm unsure how to change the scrollbars from there. For this specific vpgrid, I want a custom scrollbar that has a different thumb and bar,...
- Fri Jun 24, 2022 2:22 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Vpgrid scrollbar customization?
- Replies: 3
- Views: 325
[SOLVED] Vpgrid scrollbar customization?
Currently implementing an inventory system that requires a vpgrid rather than a regular viewport. I was wondering if it was possible at all to customize the scrollbars of a vpgrid because every method I've looked up seems to only work for a viewport.
- Mon Aug 09, 2021 12:57 am
- Forum: Ren'Py Questions and Announcements
- Topic: Inconsistent and Flashing Hover Images/Animations
- Replies: 8
- Views: 1266
Re: Inconsistent and Flashing Hover Images/Animations
It works!!! Thank you very much!Captain Monocle wrote: ↑Sun Aug 08, 2021 1:12 am Try adding selected_hover and selected_idle to your ATL events, maybe?
For example:Code: Select all
transform circle_button: on idle, selected_idle: # Your idle ATL on hover, selected_hover: # Your hover ATL
- Sat Aug 07, 2021 4:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Inconsistent and Flashing Hover Images/Animations
- Replies: 8
- Views: 1266
Re: Inconsistent and Flashing Hover Images/Animations
What do you mean when you say "once the button is hidden"? How is it hidden/shown in your code? Apologies in advance for this long reply. It's a bit of a doozy but I feel like I should explain everything properly. So after some closer observation, it isn't the fact that they are hidden. I...
- Fri Aug 06, 2021 10:46 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Inconsistent and Flashing Hover Images/Animations
- Replies: 8
- Views: 1266
Re: Inconsistent and Flashing Hover Images/Animations
Well, I thought my living hell was over, but I have discovered a new error. Whenever the button first shows up, the hover animation works perfectly: it linearly zooms up. However, once the button is hidden and then shows up again, the zoom animation does not work. But, for some odd reason, it still ...
- Fri Aug 06, 2021 5:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Inconsistent and Flashing Hover Images/Animations
- Replies: 8
- Views: 1266
Re: Inconsistent and Flashing Hover Images/Animations
I'd try something like screen circlebuttons: zorder 100 fixed: image "circle_back": xalign 0.5 yalign 0.5 imagebutton at circle_button: xalign 0.5 yalign 0.5 auto "gui/circlesmall_%s.png" action NullAction() image circle_back: "gui/circle_back.png" xalign 0.5 yalign 0....
- Fri Aug 06, 2021 5:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: Inconsistent and Flashing Hover Images/Animations
- Replies: 8
- Views: 1266
Inconsistent and Flashing Hover Images/Animations
I've been trying to program a circle button, but the animation and positioning has been wonky thus far and it's driving me crazy. Essentially, it is comprised of two images: one larger white circle and one smaller brown circle. It should theoretically look like this: theoretical circle button.png Th...
- Wed Aug 04, 2021 9:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Textbox not hiding when I press "H"
- Replies: 2
- Views: 995
Re: Textbox not hiding when I press "H"
Thank you very much! Works like a charm.
- Wed Aug 04, 2021 1:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Textbox not hiding when I press "H"
- Replies: 2
- Views: 995
[Solved] Textbox not hiding when I press "H"
Hello! I have tinkered quite a bit with the textbox to animate it and do some fancy stuff, but now it just doesn't hide when I press "H". I figure it's something to do with tags or layers, but I'm a bit of a novice with that. Here is all the new code I have that deals with the textbox: def...
- Wed Apr 14, 2021 6:58 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Textbox animations, but specifically when a character changes
- Replies: 6
- Views: 1077
Re: Textbox animations, but specifically when a character changes
Transient screens do not recognize the hide event so will not play nicely with transforms like that. One approach might be to use show_layer_at to affect an entire layer... (this example plops the say screen on a new layer so as not to bork other screens) init python: renpy.add_layer(layer='say_scr...
- Wed Apr 14, 2021 6:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Textbox animations, but specifically when a character changes
- Replies: 6
- Views: 1077
Re: Textbox animations, but specifically when a character changes
Slight update. So I think I figured out the problem is, but I'm not sure how to fix it. Here's a repost of the code (fixed for typos and such): init python: def say_window_transform(trans, st, at): global say_window_show_transform if not "say_window_show_transform" in globals(): say_window...
- Wed Apr 14, 2021 5:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Setting a custom animation to hiding the window
- Replies: 0
- Views: 489
Setting a custom animation to hiding the window
I'd like to either define config.window_hide_transition to a custom animation. Alternatively, if this is impossible, create an animation that can be applied to "window hide" (ex: window hide with custom_animation) I am unsure how to create an animation using "define config.window_hide...