text
stringlengths
0
40.9k
label
stringlengths
5
23
dataType
stringclasses
2 values
communityName
stringlengths
5
23
datetime
stringclasses
32 values
I hope this explanation helped :)
r/renpy
comment
r/RenPy
2024-30-08
Thank you very much! This is the kind of solution that I was looking for. However, it doesn't seem to work as intended: none of the text elements appear now. I removed the background to check and added a pause statement afterwards to make sure that they were not just covered or replaced by something else as soon as the...
r/renpy
comment
r/RenPy
2024-31-08
Thank you very much for your detailed answser. I'm afraid this is waaaay beyond what I'm able to understand and use effectively for now, with my limited grasp of the language, especially the parts in Python. I think I'll continue trying to find a way to make it work with the more basic tools that I have, and progressiv...
r/renpy
comment
r/RenPy
2024-31-08
Thank you so much. I thought about using a menu, but didn't see how I could fit + and - buttons on the same line for each stat with a standard menu, so that's why I went with an imagemap. I guess creating a label at the start and jumping back to it as soon as a point is allocated solves the question of refreshing the s...
r/renpy
comment
r/RenPy
2024-31-08
Ah, I think I get it. Should I use this script to define the screen, and then call upon the screen where I want it to appear? Is there a specific place in the game's "screens.rpy" where it is good practice to place one's own screens, or can they just be added at the end or wherever? Or should I create a "myscreens" fi...
r/renpy
comment
r/RenPy
2024-31-08
Hello! I never programed in ren'py in my entire life, but my final project for school depends on it! I've been trying to set an different textbox for each character, but everytime I do, it squishes, even though it's the exact weight and height in pixels. I already tried this code: define dono = Character ("???", w...
r/renpy
post
r/RenPy
2024-29-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-29-08
try it like this define dono = Character ("???", window_background=Frame("gui/textbox1.png", 0, 0) )
r/renpy
comment
r/RenPy
2024-29-08
It didn't work :((
r/renpy
comment
r/RenPy
2024-30-08
can you share the textbox1.png ?
r/renpy
comment
r/RenPy
2024-30-08
For the “gui/textbox1.png” image, try it like this: ‘gui/textbox1.png’ That should work. I saw a post where the solution was this: define N = (‘Name’, who_color=‘#000000’, what_color=‘#000000’, window_background=‘gui/customtextbox.png’) I hope this helps
r/renpy
comment
r/RenPy
2024-30-08
I'm also new to coding but I've been messing around with the same issue, and some people have told me it's because my image was too big—I used a 1920x1080px canvas thinking the textbox would be in the exact spot but apparently I'm supposed to crop it to just the textbox, no other black space. Maybe you have the same is...
r/renpy
comment
r/RenPy
2024-30-08
Hey ho, I try to connect my defined character with my layer image. So i dont have to \_\_\_show name happy "Hi im eileen"\_\_\_ all the time, and can rely on the basic \_\_\_a happy "Hi im eileen"\_\_\_ I know i coud just render the combination of every expression and outfit and could get the same result, but tha...
r/renpy
post
r/RenPy
2024-29-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-29-08
I can share with you how to do this when I get back home.
r/renpy
comment
r/RenPy
2024-29-08
Thank you very much, thatd be helpfull :)
r/renpy
comment
r/RenPy
2024-29-08
My pleasure :) I should probably make a post on how to make layered images (the way I make it). Do you also want to know how to add a side image with this form of coding?
r/renpy
comment
r/RenPy
2024-30-08
Yes pls :) good idea to make it a public post, ty
r/renpy
comment
r/RenPy
2024-30-08
ok, so I will make separate parts for this explanation and how to set it up. I will use one of my characters from my visual novel ***Dreamscape Highschool: Remastered***. ------------------------------- Part 1: First thing we do is define the character. I will use my character Miyako Tsukino for this and the re...
r/renpy
comment
r/RenPy
2024-30-08
What I did above was add the character's name "Miyako Tsukino" and then add a side image called "miyako" which represents the variable from the layered image code. The who color and who outlines are color edits for the name. The what color and what outlines is the color edits for the character's dialogue. ...
r/renpy
comment
r/RenPy
2024-30-08
Now, the step is making the layeredimage code. ------------------------- Part 2: This is how I made the code for the layeredimage: layeredimage miyako: group base auto: attribute school default attribute date attribute Dneutral "miyako_base_date" ...
r/renpy
comment
r/RenPy
2024-30-08
i made 2 different outfits, and assigned all expressions to each outfit as an attribute. the way I made the naming in each quote was based on character variable name, group type, and which outfit attribute it's assigned to. attribute neutral is used to search for miyako character name, group name called base, and att...
r/renpy
comment
r/RenPy
2024-30-08
I hope this guide helped you :) if you have any questions, please do not hesitate to ask.
r/renpy
comment
r/RenPy
2024-30-08
Yes, that helped :) ty
r/renpy
comment
r/RenPy
2024-30-08
It’s my pleasure :) I’m always happy to help
r/renpy
comment
r/RenPy
2024-30-08
I am trying to make a fully custom gui renpy game, however I just started using it so I’m struggling lol I was wondering on how to make one scene have a textbox and get rid of it for another scene? Also how do I make text appear on screen typewriter style in certain dimensions for a certain scene?
r/renpy
post
r/RenPy
2024-30-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-30-08
For the textboxes, you can put the textbox images within the character define code. As for custom text, there’s a section where you can add custom text in the code, but you also need to add the file for the custom text in the game folder somewhere (I put it in the gui folder).
r/renpy
comment
r/RenPy
2024-30-08
Ty :)
r/renpy
comment
r/RenPy
2024-30-08
My pleasure :)
r/renpy
comment
r/RenPy
2024-30-08
Would you also know how to have my text be in one location in one scene then have it be in another location for a different scene?
r/renpy
comment
r/RenPy
2024-30-08
The way custom text (aka custom text font) works is you use a .ttf file extension to put in the gui.rpy There’s a section in the gui.rpy called Fonts and Font Sizes. There are 3 define code where you can place your text font in: define gui.text_font = “custom_text.ttf” define gui.name_text_font = “custom_text.ttf” ...
r/renpy
comment
r/RenPy
2024-30-08
Is it possible to make only certain choices be vbox? (I ask because having three on the same screen doesn't fit if the choices are in an hbox!)
r/renpy
post
r/RenPy
2024-30-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-30-08
You could display it differently based on certain conditions or a variable you pass to the screen
r/renpy
comment
r/RenPy
2024-30-08
How can I make multiple objects to appear at the same time? Like two sprites showing up simultaneously? I was thinking about using the "and" prompt but I'm not sure. Any advice is appreciated.
r/renpy
post
r/RenPy
2024-30-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-30-08
try this: `show sprite1 at left` `show sprite2 at right` `with dissolve`
r/renpy
comment
r/RenPy
2024-30-08
are there any good software to make sprites and backgrounds that are free?
r/renpy
post
r/RenPy
2024-30-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-30-08
That depends on what you mean by "making" sprites and backgrounds. If you're able to draw, then pretty much any means of generating a transparent .PNG or .WEBP would work for sprites. Likewise, anything capable of saving .PNG, .WEBP, or even JPEG will be sufficient for backgrounds. Even if you draw on paper, you can s...
r/renpy
comment
r/RenPy
2024-30-08
thx
r/renpy
comment
r/RenPy
2024-30-08
I want to make a script where you get an item, but if you already have it a different dialogue happens when I try to do it it just doesn't work no matter what I try
r/renpy
post
r/RenPy
2024-30-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-30-08
First, declare your variables with `default`: ``` default have_paper = False default have_pen = False ``` Test them like this: ``` label write_note: if not have_pen: "I need something to write with." elif not have_paper: "I have a pen but I still need something to write on". else: "...
r/renpy
comment
r/RenPy
2024-30-08
You already got a great explanation below but don't forget to look at the links provided by the AutoModerator. Your question was explained here for example https://www.renpy.org/doc/html/quickstart.html#supporting-flags-using-the-default-python-and-if-statements  
r/renpy
comment
r/RenPy
2024-30-08
thank you so much!!! ill try it right now!!
r/renpy
comment
r/RenPy
2024-30-08
IT WORKED TYSM
r/renpy
comment
r/RenPy
2024-30-08
So I'm not sure if this is even possible because I tackled this in a couple ways: I am trying to make a "Darken Flashes" setting on my Preferences screen where if it is toggled on, all of the different "flash" transitions I define use a gray colour instead of a true white. I have this added to my Preferences screen:...
r/renpy
post
r/RenPy
2024-30-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-30-08
If it's a user setting that's meant to persist between sessions, then you should be using `default` instead of `define`. This ensures that when a save game is loaded, the value is loaded from the save file and not set to the initial value. Also, Ren'Py saves the value of `default` variables at every user interaction, s...
r/renpy
comment
r/RenPy
2024-30-08
Hi, so I tried implementing this, but the issue is the same, and the define -> default made it almost worse? 1. Based on some tests, I think what's happening is the "flash" and "flashquick" defined as default variables is being considered as different variables from the "flash" and "flashquick" inside the fix\_flashes...
r/renpy
comment
r/RenPy
2024-31-08
*Insert usual disclaimers here about code typed in at the terminal, yadi, yadi...* I do something similar when it comes to allowing the user to change the display font from the Preferences menu. In my case, I don't have a toggle but an offset number into a list of font names, which I set and then call a function that ...
r/renpy
comment
r/RenPy
2024-31-08
I've tried making a different screen that would **make a choice button grey (insensitive) when clicked on**, but it failed multiple times. Even I don't know what I'm looking at anymore. But if any of y'all can tell me **how I can make this work, or tell me a different way of doing it**, let me know. Note: Am trying th...
r/renpy
post
r/RenPy
2024-30-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-30-08
are you trying to make the button greyed out whenever the option is selected?
r/renpy
comment
r/RenPy
2024-30-08
Am trying to make the button greyed out and do nothing after it's being chosen. Like once you click on it, you can't select it anymore. 
r/renpy
comment
r/RenPy
2024-30-08
Okay, I think I know what you're trying to do: You want a selection of different buttons to be selectable, and then have them turn grey or otherwise indicate they've already been selected so the player knows what they've already clicked on? If that's the case, here, I'll demonstrate it with a single button and you can ...
r/renpy
comment
r/RenPy
2024-30-08
The way I've done it here, the button will only turn grey when hovered, but you can easily change the idle to be grey instead if you want, just switch the images.
r/renpy
comment
r/RenPy
2024-30-08
Screen shots are a pain, and I'm not going to re-type your code. See the bot's reply for how to post code blocks. Each of your buttons should probably look like this (no need for the if/else): ``` imagebutton: sensitive not button_clicked # Sensitive until clicked auto "false_choice0_%s.png" ...
r/renpy
comment
r/RenPy
2024-30-08
I was trying to make an action happen while a button was pressed. Not finding a way, I tried to solve it by making the action start when the button is pressed and end when the button is no longer pressed. Either by calling and hiding a screen or something more pertinent to my specific problem. So I've been looking for...
r/renpy
post
r/RenPy
2024-30-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-30-08
try it like this key ["keyup_K_x"] action Play("sound","textBleep.wav")
r/renpy
comment
r/RenPy
2024-30-08
That worked properly, thank you! :)
r/renpy
comment
r/RenPy
2024-31-08
I created a button to show a status screen: https://preview.redd.it/vwf372qvitld1.png?width=1274&format=png&auto=webp&s=ba87a52fab39de52b5bce4e657468725d909cb61 However, the script continues even if that "tokimeki" screen exists. I wanted to stop the execution of the script while the screen exists. I used this: ...
r/renpy
post
r/RenPy
2024-30-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-30-08
I'm a newbie but as far as I've understood, calling a screen does exactly what you're asking. In the documents, it says Call control action calls a label but you might wanna try this: textbutton _("Screen") action Call('tokimeki_001') If that doesn't work, this might (not sure about the syntax): `textbutton _("...
r/renpy
comment
r/RenPy
2024-30-08
All of them don't work: textbutton _("Screen") action Call('tokimeki_001') **It gives me the error:** ScriptError: could not find label 'tokimeki\_001' Also, this code: textbutton _("Screen") action Function(renpy.call_screen, "tokimeki_001") **It gives me the error:** Exception: Cannot start an inter...
r/renpy
comment
r/RenPy
2024-30-08
You need to use the `modal` style property, docs [here](https://www.renpy.org/dev-doc/html/style_properties.html#style-property-modal).
r/renpy
comment
r/RenPy
2024-30-08
try it like this screen tokimeki_001(): modal True #add this line frame: xalign 0.5 ypos 50
r/renpy
comment
r/RenPy
2024-30-08
for example, on this screenshot, after i press "W", another image pop up. an image button that would be clicked with keyboard. https://preview.redd.it/hbgq1erqytld1.png?width=957&format=png&auto=webp&s=f1925803f1c976915626f8c99696916d7d900d1d
r/renpy
post
r/RenPy
2024-30-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-30-08
https://i.redd.it/76lsd1vweuld1.gif So I'm using Live2D for my game, and one of the issues is sometimes it loads default before applying the pose so it can be jarring especially with outfit changes. It also loads in overlays before the scene so you see the checkered background. I'm not sure how to fix it unless I ap...
r/renpy
post
r/RenPy
2024-30-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-30-08
Could it be adding transitions to the appearance of the character and the next scene? ``` scene bg black with dissolve pause 1.5 scene colleen_room_rain with fade show Colleen exp_ng_smitten with dissolve show overlay blue: alpha 0.7 blend 'multiply' ```
r/renpy
comment
r/RenPy
2024-30-08
This did cut her transition by 2 frames which looked smoother but seemed to mess with the overlay making it show bright for 7 frames before switching to blue. making it fairly jarring. But it did give an idea to do show black and use z order to organize everything
r/renpy
comment
r/RenPy
2024-30-08
Yeah i don't use too much z order because of the way i make my scenes. But let me know if that works out!
r/renpy
comment
r/RenPy
2024-30-08
 show black zorder 5 with dissolve     pause .5         show Colleen exp_ng_confused zorder 2     show colleen_room_rain zorder 1     show overlay blue zorder 100:         alpha 0.7 blend 'multiply'     pause 1.0     hide black with dissolve so we ended up...
r/renpy
comment
r/RenPy
2024-30-08
I've never used Live2D, so this is off the top of my head, but: you might use a `Composite` image to build a single image with your `colleen_room_rain` background, Colleen character, and overlay into one image that you could then display all at once? You might also need to use a `DisplayableImage` to be sure that the p...
r/renpy
comment
r/RenPy
2024-30-08
It's not the most elegant way to do it, but you can force the black screen over your screen as if it were a “curtain” and then hide the black screen once it's done. show black onlayer screens with dissolve scene colleen_room_rain show Colleen exp_ng_smitten show overlay blue: alpha 0.7 blend '...
r/renpy
comment
r/RenPy
2024-30-08
You can also just use a fade transition for the scene that will show up. And if it’s not exactly what you’re looking for, you can do scene black with dissolve. That might help.
r/renpy
comment
r/RenPy
2024-30-08
we did something like this but instead of scene we used show or else the room would show, and overlay would appear after. It was weird. but also doing show black and scene it would pop the scene over the show
r/renpy
comment
r/RenPy
2024-30-08
I've never used composite before so I'll have to look into it.
r/renpy
comment
r/RenPy
2024-30-08
You have to force with "onlayer screens" statement on the black screen otherwise everything will be on the same laye.
r/renpy
comment
r/RenPy
2024-30-08
[Please how do i fix this. I dont know what any of it means](https://preview.redd.it/3zss7u5vbvld1.png?width=588&format=png&auto=webp&s=a3e8be31d3e86de2e6b57073266cc79a01e33837)
r/renpy
post
r/RenPy
2024-30-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-30-08
What have you done and do you use any version control like git?
r/renpy
comment
r/RenPy
2024-30-08
Well what we do know is that it’s saying the problem is: - style property ground is not known That could imply that the property called ground has no value or has no function applied to it.
r/renpy
comment
r/RenPy
2024-31-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-31-08
I've been trying to make a little class of 09 ripoff and decided to start coding today and I would like the text to scroll over images like they do in class of 09 endings. I just don't know how to make the text scroll across the screen like credits or something. I would really appreciate some help as I am very new to t...
r/renpy
post
r/RenPy
2024-31-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-31-08
this what i use to scroll the credit up the screen (be sure to see the other post) style credits_hbox:     spacing 40     ysize 30 style credits_vbox:     xalign 0.5     text_align 0.5 style credits_label_text:     xalign 0.5     justify True     size 125     text_...
r/renpy
comment
r/RenPy
2024-31-08
        vbox:             label "Credits" xalign 0.5             null height 75             label "Producer" xalign 0.5             null height 75             text "BadMustard"             null height 150             label "Art" xalign 0.5             null height 75             t...
r/renpy
comment
r/RenPy
2024-31-08
I want the player to be able to change their name in the preferences screen. How do I code this?
r/renpy
post
r/RenPy
2024-31-08
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out [the posting guide](https://www.reddit.com/r/RenPy/comments/1099hpg/a_short_posting_guide_or_how_to_get_help/), [the subreddit wiki](https://www.reddit.com/r/RenPy/wiki/index/), [the subreddit Discord](https://disco...
r/renpy
comment
r/RenPy
2024-31-08
So this is what I would do: First, we define the name that will be changed whenever you want. `define mc = Character("[mcname]", who_color="#10fde1", who_outlines=[ (1, "#000000") ], what_color="ffffff", what_outlines=[ (1, "#000000") ])`
r/renpy
comment
r/RenPy
2024-31-08
This will allow the mc's name to change whenever you want. Next, we put a button in the Preferences screen with an action to jump to a custom label: button: style "mybutton2" xysize (499, 74) xpos 400 ypos 600 action Jump("name_change") ...
r/renpy
comment
r/RenPy
2024-31-08
lastly, we make this label. This label will allow you to change the mc's name as many times as you want. I also added a menu for "Are you sure you want your new name to be \[mcname\]?" label name_change: scene overlay $ mcname = renpy.input("What is your new name?") $ mcname ...
r/renpy
comment
r/RenPy
2024-31-08
I hope my explanation helped you :)
r/renpy
comment
r/RenPy
2024-31-08
it worked! Thank you so much!! :D
r/renpy
comment
r/RenPy
2024-31-08