Search found 106 matches

by Adrian_DVL
Sat Jan 30, 2021 7:33 am
Forum: Ren'Py Questions and Announcements
Topic: Different textbox position depending on the situation
Replies: 6
Views: 368

Re: Different textbox position depending on the situation

Remix wrote:
Thu Jan 28, 2021 3:28 pm
You could adapt my Speech Bubble dialogue system to your needs...

https://github.com/RenpyRemix/speech-bubbles
Your system made my day, man! Thank you so much!
Also, thanks to _ticlock_ and Alex as always!
by Adrian_DVL
Thu Jan 28, 2021 9:55 am
Forum: Ren'Py Questions and Announcements
Topic: Different textbox position depending on the situation
Replies: 6
Views: 368

Different textbox position depending on the situation

Hi! I'd like to change the position of the textbox depending on the situation, and by it I don't mean that I want three or four different positions and neither do I mean I want different characters to have different positions for their textbox, because I'd already know how to do it. The thing is tha...
by Adrian_DVL
Thu Jan 21, 2021 10:26 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Looking for the right event handler for a transform
Replies: 2
Views: 236

Re: Looking for the right event handler for a transform

Hi, Adrian_DVL , That's doable, although there is no straightforward way to achieve it (there is no magic event handler that solves all your problems). I think this post may give you some ideas. That post gave me an idea, and I set a net of variables that are used to tell the game whether a button ...
by Adrian_DVL
Wed Jan 20, 2021 2:40 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Looking for the right event handler for a transform
Replies: 2
Views: 236

[Solved] Looking for the right event handler for a transform

Hi! Okay, so in a nutshell: I have a screen with an imagebutton that changes a variable. When that variable changes, some images in the screen are replaced by others with the same size and in the same position. So far, so good: the player clicks a button and some of the images in the screen may chan...
by Adrian_DVL
Thu Jan 07, 2021 3:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Screen showed at unhovered doesn't hide after Renpy update
Replies: 0
Views: 222

Screen showed at unhovered doesn't hide after Renpy update

Hi! So I have a screen with buttons which, when hovered by the mouse, pop up other screens as a tooltip, and hide these screens when unhovered. This always worked fine and smooth. But today I've updated Renpy to 7.4 and since then, the tooltip screens won't hide when I unhover the buttons. Can anyon...
by Adrian_DVL
Thu Jan 07, 2021 10:10 am
Forum: Ren'Py Questions and Announcements
Topic: About changing variables in imagebuttons
Replies: 1
Views: 236

About changing variables in imagebuttons

Hi! Let's see, this is going to be long, so I apologize in advance. I have a complex screen that acts like the end screen for missions in which the player gathers items with different values for food, power and money, which then are distributed to the tastes of the player to increase his own food, p...
by Adrian_DVL
Thu Jan 07, 2021 5:18 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] On hover animation
Replies: 4
Views: 272

Re: On hover animation

Hi, Adrian_DVL , Here is an example with 2 imagebuttons. I used the variable on_hover , that controls which transform is used( itshake or z_zoom ). The value of the variable on_hover is used to figure out which imagebutton is hovered ( on_hover =1 for first button, on_hover =2 for 2nd button) Works...
by Adrian_DVL
Wed Jan 06, 2021 8:36 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] On hover animation
Replies: 4
Views: 272

Re: On hover animation

Try to set 'on idle' event for your transform instead of 'on show'. Then set 'on hover' event as well. https://www.renpy.org/doc/html/atl.html#on-statement 'on idle' doesn't work at all, no matter the indentation or the order I put it on, and I'm thinking that's because the transform does not act o...
by Adrian_DVL
Wed Jan 06, 2021 5:55 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] On hover animation
Replies: 4
Views: 272

[Solved] On hover animation

Hi! I have a section of my game which is like a point and click, for which I'm implementing items that are on the screen waiting for the player to click on them. My problem is with the transform that goes with the items, which are buttons. I implemented a kind of "shaking" effect, which works well, ...
by Adrian_DVL
Tue Dec 08, 2020 11:49 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Center a variable amount of buttons inside a hbox
Replies: 5
Views: 331

Re: Center a variable amount of buttons inside a hbox

you can try eliminating the possible problems. try a simple displayable first like a frame, just in like in the example, if it works then probably the way you created the buttons is the cause (styles, the background image itself, etc.) Okay, the problem was so obvious I'm ashamed. The problem was t...
by Adrian_DVL
Tue Dec 08, 2020 11:22 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Center a variable amount of buttons inside a hbox
Replies: 5
Views: 331

Re: Center a variable amount of buttons inside a hbox

hbox: xalign 0.5 When I say "I've been trying" it means that I've tried the most basic things... Thank you, though! The thing is that when I xaling the hbox, the buttons are still aligned to the left. When there are two buttons, the first one appears at the same pixel as the only button when there'...
by Adrian_DVL
Tue Dec 08, 2020 11:06 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Center a variable amount of buttons inside a hbox
Replies: 5
Views: 331

[Solved] Center a variable amount of buttons inside a hbox

Hi all! Okay, so in a screen, I have a space where I want to display a different number of buttons, from 0 to 7, and I want that, no matter the number of buttons displayed, they're always centered. To put an example ASCII-style, if X is a button, if there's only one button, it has to be displayed li...
by Adrian_DVL
Thu Jul 30, 2020 9:32 am
Forum: Ren'Py Questions and Announcements
Topic: Action to end more than one consecutive replay
Replies: 1
Views: 292

Action to end more than one consecutive replay

Hi mates! So I have a few buttons that play three consecutive replays, like this: Replay("{0}pre4".format(girl.id)), Replay("gal{0}4".format(girl.id), locked=False), Replay("{0}4".format(girl.id)) And I have in my game menu the default button that comes with RenPy to end a replay: EndReplay(confirm=...
by Adrian_DVL
Wed May 06, 2020 9:25 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Centering all the lines in a text statement
Replies: 3
Views: 192

Re: Centering all the lines in a text statement

The reason they don't align is because renpy is treating them as a single text block. In order to have them center align you have to create a text element for each line, align them to center, and pack them in a vbox. Something like this: screen lines(line_list): vbox: for line in line_list: text li...