Search found 3775 matches

by Imperf3kt
Tue Oct 31, 2023 9:04 am
Forum: Ren'Py Questions and Announcements
Topic: Trouble optimizing a large viewport.
Replies: 10
Views: 5131

Re: Trouble optimizing a large viewport.

Are your images cropped and placed with positioning, or full size with transparency?
If you're using focus mask, that can significantly slow things down with so many large images
by Imperf3kt
Sun Oct 29, 2023 12:04 am
Forum: Ren'Py Questions and Announcements
Topic: Display text in an image cinematic?
Replies: 6
Views: 2569

Re: Display text in an image cinematic?

Oh nevermind, I've just noticed you're using parameterized text, which is different to regular text.
What I suggested won't work the same way
by Imperf3kt
Sat Oct 28, 2023 11:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Display text in an image cinematic?
Replies: 6
Views: 2569

Re: Display text in an image cinematic?

My mistake, I didn't see that.
In that case, add the text1 definition in the init -1 as well, before the ParameterizedText
by Imperf3kt
Sat Oct 28, 2023 12:25 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Can you put an ATL transform on a bar?
Replies: 4
Views: 2742

Re: Can you put an ATL transform on a bar?

I believe you'll need to use a CDD, creator defined displayable.
I don't have any experience using these, so cannot help more than this, sorry.
by Imperf3kt
Sat Oct 28, 2023 12:23 am
Forum: Ren'Py Questions and Announcements
Topic: Display text in an image cinematic?
Replies: 6
Views: 2569

Re: Display text in an image cinematic?

I believe this should work but haven't checked. Define your image earlier than the image 'cinematic2' is defined. By default, images are defined during init, so increment that by -1 init -1: image text1 = ParameterizedText(size=30, slow_cps=20, xalign=0.5, yalign=0.1) image cinematic2: "e0m1b&q...
by Imperf3kt
Thu Oct 26, 2023 8:06 pm
Forum: Ren'Py Questions and Announcements
Topic: How to show or hide quick menu on certain screens [Solved]
Replies: 4
Views: 2943

Re: How to show or hide quick menu on certain screens

Make sure you set the variable before showing the screen, actions are actioned in the order you give them

Code: Select all

action SetVariable("quick_menu", False), ShowMenu("my Menu")
Is not the same as

Code: Select all

action ShowMenu("my Menu"), SetVariable("quick_menu", False)
by Imperf3kt
Wed Oct 25, 2023 9:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing the position of Start button? [SOLVED]
Replies: 2
Views: 1972

Re: Changing the position of Start button?

one way is to place your button inside a container, such as a vbox or hbox, frame, fixed, etc (examples can be found in the documentation) and position that container element. Something like screen navigation(): style_prefix "navigation" if main_menu: vbox: xalign 0.5 yalign 0.8 textbutton...
by Imperf3kt
Fri Oct 20, 2023 10:21 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Music volume slider acting strange
Replies: 2
Views: 1614

Re: Music volume slider acting strange

Yes it was a typo, it's supposed to be Preference.

Thank you for the help, get_mixer was exactly what I needed.
by Imperf3kt
Fri Oct 20, 2023 7:34 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Music volume slider acting strange
Replies: 2
Views: 1614

[Solved] Music volume slider acting strange

I have had this issue for many months now, but it's been low priority so I ignored it, but my volume slider appears to be scaled incorrectly. The first ~90% of the bar will only increase the volume to 50%, with the final 50% crammed in a tenth of the slider. It's almost like it's in logarithmic mode...
by Imperf3kt
Mon Oct 16, 2023 2:55 am
Forum: Ren'Py Questions and Announcements
Topic: Browser Renpy, Persistent Saving?
Replies: 5
Views: 45350

Re: Browser Renpy, Persistent Saving?

This is specifically what incognito mode is for, it doesn't save any session data or cookies at all, that includes saved games.
I don't think there's a way around this, you're trying to do something that is designed specifically not to do what your trying to do.
by Imperf3kt
Fri Oct 13, 2023 5:10 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved) Question about Boolean Variables
Replies: 6
Views: 1674

Re: (Solved) Question about Boolean Variables

Two Dollars wrote: Thu Oct 12, 2023 4:50 pm
Would that look like...

if crawlacrossthefield:
Yes
by Imperf3kt
Thu Oct 12, 2023 4:24 pm
Forum: Ren'Py Questions and Announcements
Topic: (Solved) Question about Boolean Variables
Replies: 6
Views: 1674

Re: (Solved) Question about Boolean Variables

Another tip is whenever you have something like

Code: Select all

if variable == True:
you've actually written

Code: Select all

if True == True
You can actually simplify that to

Code: Select all

if variable:
by Imperf3kt
Thu Oct 05, 2023 3:19 am
Forum: Ren'Py Questions and Announcements
Topic: Can i make something like this in ren'py?
Replies: 2
Views: 386

Re: Can i make something like this in ren'py?

This is more than possible.
One simple way would be to make a screen, add imagebuttons or image maps to it, then show the screen when you want the choices to be presented.

When clicked, the buttons should ideally Hide the screen then jump to wherever you want to take the player
by Imperf3kt
Wed Sep 27, 2023 8:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Help, ask about AlphaMask
Replies: 2
Views: 359

Re: Help, ask about AlphaMask

To answer the question as to why it doesn't work, I believe it is because you are using an anchor for two images and then masking them with an image that isn't anchored at the same point, meaning your image and its mask are not aligned the same relative to each other.