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
Search found 3788 matches
- Sun Oct 29, 2023 12:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: Display text in an image cinematic?
- Replies: 6
- Views: 2940
- Sat Oct 28, 2023 11:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Display text in an image cinematic?
- Replies: 6
- Views: 2940
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
In that case, add the text1 definition in the init -1 as well, before the ParameterizedText
- 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: 3558
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.
I don't have any experience using these, so cannot help more than this, sorry.
- Sat Oct 28, 2023 12:23 am
- Forum: Ren'Py Questions and Announcements
- Topic: Display text in an image cinematic?
- Replies: 6
- Views: 2940
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...
- 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: 3546
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
Is not the same as
Code: Select all
action SetVariable("quick_menu", False), ShowMenu("my Menu")
Code: Select all
action ShowMenu("my Menu"), SetVariable("quick_menu", False)
- Wed Oct 25, 2023 9:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Changing the position of Start button? [SOLVED]
- Replies: 2
- Views: 2100
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...
- Fri Oct 20, 2023 10:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Music volume slider acting strange
- Replies: 2
- Views: 1842
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.
Thank you for the help, get_mixer was exactly what I needed.
- Fri Oct 20, 2023 7:34 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Music volume slider acting strange
- Replies: 2
- Views: 1842
[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...
- Mon Oct 16, 2023 2:55 am
- Forum: Ren'Py Questions and Announcements
- Topic: Browser Renpy, Persistent Saving?
- Replies: 5
- Views: 83551
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.
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.
- Fri Oct 13, 2023 5:10 am
- Forum: Ren'Py Questions and Announcements
- Topic: (Solved) Question about Boolean Variables
- Replies: 6
- Views: 2360
- Thu Oct 12, 2023 4:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: (Solved) Question about Boolean Variables
- Replies: 6
- Views: 2360
Re: (Solved) Question about Boolean Variables
Another tip is whenever you have something like
you've actually written
You can actually simplify that to
Code: Select all
if variable == True:
Code: Select all
if True == True
Code: Select all
if variable:
- 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: 486
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
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
- Wed Sep 27, 2023 8:53 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Help, ask about AlphaMask
- Replies: 2
- Views: 452
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.
- Mon Sep 25, 2023 8:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: Requesting Guidance on Styling Ren'Py Text Buttons Using Styles
- Replies: 2
- Views: 1198
Re: Requesting Guidance on Styling Ren'Py Text Buttons Using Styles
add a style_prefix to your element
for example:
for example:
Code: Select all
screen myScreen():
vbox:
style_prefix "crazyFont"
text "Your text goes here"
style crazyFont:
size 200
- Thu Sep 21, 2023 9:05 am
- Forum: Ren'Py Questions and Announcements
- Topic: renpy.get argument for buttons??
- Replies: 2
- Views: 478
Re: renpy.get argument for buttons??
# In your screen, create a ScreenVariable, we'll call this 'myVar', but you can call it almost anything you like. screen myScreen(): # Give myVar a default state, in this case I'll use a boolean, True/False. default myVar = False # In your button, set the action to change the variable 'myVar', this...