text
stringlengths
0
40.9k
label
stringlengths
5
23
dataType
stringclasses
2 values
communityName
stringlengths
5
23
datetime
stringclasses
32 values
Your if condition needs to go between the caption and the `:` if you want the option hidden: ``` menu: "You can describe the choce here" # Note: no colon on this line "Sure" if not choice1_yes and not choice2_yes: # ... "No thank you." if choice1_yes or choice2_yes: ...
r/renpy
comment
r/RenPy
2024-24-08
Thank you for the information and I know about the names changed them as they have an nsfw implication and just erased that part from the name and replaced it with choice# to keep them separated. Thank you for the help as well. I am still kind of new to this but I'm slowly getting my bearings. I did take your 1 op...
r/renpy
comment
r/RenPy
2024-24-08
[vertical logo variant.](https://preview.redd.it/2302rvprzjkd1.jpg?width=1920&format=pjpg&auto=webp&s=511a6cee9c66847c811579e940d8429bdcd52fd3) [horizontal logo variant.](https://preview.redd.it/fibsui400kkd1.jpg?width=1920&format=pjpg&auto=webp&s=bb848c4919627e538d844dfd12c25a58f5a4e60c) [back cover variant.](https:...
r/renpy
post
r/RenPy
2024-24-08
Need help here. Want to hide an image basically replacing on transparent png with another when hovered. screen path(): add "images/cho/background.png" add "images/cho/character.png" imagebutton: focus_mask True idle ("images/cho/arrow.png") hover ("images/cho/characterfals...
r/renpy
post
r/RenPy
2024-24-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-24-08
IIRC, it was called "hovered" as in a hover action: default yourvariable = "character" screen path(): add "images/cho/background.png" add "images/cho/[yourvariable].png" imagebutton: focus_mask True idle ("images/cho/arrow.png") hover ("images/cho/characterfalse.png") ...
r/renpy
comment
r/RenPy
2024-24-08
Doesn't work. I want the character.png to go away when I hover and for it to be replaced by the characterfalse.png
r/renpy
comment
r/RenPy
2024-24-08
Won't this work? default show_character = True screen path(): add "images/cho/background.png" if show_character: add "images/cho/character.png" imagebutton: focus_mask True idle ("images/cho/arrow.png") hover ("images/cho/characterfalse.png") hover...
r/renpy
comment
r/RenPy
2024-24-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-24-08
Afak Honey select 2 doesnt allow for reuse of their editor for 3rd party work, but if i remember correctly, Illusion is no longer around. So not sure how likely they would be to enforce anyway.
r/renpy
comment
r/RenPy
2024-24-08
r/renpy
post
r/RenPy
2024-24-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-24-08
Is this the game menu? If so, the line is actually part of the background. You can take it out of the gui folder and customize it to your liking
r/renpy
comment
r/RenPy
2024-24-08
not sure, it’s when you go to the save/load screen. i’d also like to change the colour for when you hover over a menu choice. i’ll check out the gui folder, thanks
r/renpy
comment
r/RenPy
2024-24-08
I’m kind of new to this, but it looks like you can change the color in gui.rpy, but then you have to click Change/Update GUI in the Ren’Py launcher to regenerate the GUI images.
r/renpy
comment
r/RenPy
2024-24-08
i changed the colours in gui.rpy to shades of pink, but for some reason this and the menu choice hovering colour stayed light blue (what i picked at the start of creating the project), so i’m not sure if it’s in gui.rpy or somewhere else
r/renpy
comment
r/RenPy
2024-24-08
I'm pretty sure the other answer is correct. You can customise the whole GUI but it might affect more than the load/save screen so after you changed the colour check the start and preferences screen also. In case the other answer didn't help consider posting an image where we see more. 
r/renpy
comment
r/RenPy
2024-24-08
Then that's def it. If you need any help with that, let me know and I can show you!
r/renpy
comment
r/RenPy
2024-24-08
Did you click “Change/Update GUI” in the launcher too?
r/renpy
comment
r/RenPy
2024-24-08
yes, i chose ‘regenerate the image files using the colors in gui.rpy’
r/renpy
comment
r/RenPy
2024-24-08
That line is part of the overlay for the game_menu. So basically the line is part of the background. Hold on, I'll open my laptop to search for the directory. But it should be in the GUI folder
r/renpy
comment
r/RenPy
2024-24-08
Here. Go to game/gui/overlay. It should be an image named "game\_menu". So basically you need to redraw it yourself. That's one way (And how I did it tbh.)
r/renpy
comment
r/RenPy
2024-24-08
ohh, so there’s no way to change the hex code? tysm
r/renpy
comment
r/RenPy
2024-24-08
No problem!
r/renpy
comment
r/RenPy
2024-24-08
So I've been making this part of a game where you insert keys into a keyhole and unlock a lock. To do this, I've been having the keyholes change whenever they've been dropped on by the keys. But I've run into an issue where it keeps saying 'unicode' has no attribute 'per interact'....
r/renpy
post
r/RenPy
2024-24-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-24-08
What does your code look like?
r/renpy
comment
r/RenPy
2024-24-08
hold on!
r/renpy
comment
r/RenPy
2024-24-08
init python:     doors_unlocked = 0 init 1 python:     def key_dragged(dragged_items, dropped_on):         global doors_unlocked         if not dropped_on:             return         key_draggroup = renpy.get_displayable(screen="drag_drop", id="key_draggroup")         key =...
r/renpy
comment
r/RenPy
2024-24-08
`screen drag_drop :`     `image "images/bg keyend.png"`     `draggroup id "key_draggroup" :`         `drag :`             `align (0.113,0.2)`             `image "images/bluekeyholestart.png"`             `drag_name "bluekeyholestart"`             `draggable False`         `drag :`            ...
r/renpy
comment
r/RenPy
2024-24-08
I may be wrong, I haven't messed around with drag + drop stuff yet, but I don't think "image" is valid screen syntax on its own. So that first "image" in the screen may be better as an "add"? Not sure if that's related to/the cause of your issue, though.
r/renpy
comment
r/RenPy
2024-24-08
image is the outdated version of the add command, it does still work... for now.
r/renpy
comment
r/RenPy
2024-24-08
Ah fair, good to know! :)
r/renpy
comment
r/RenPy
2024-24-08
ah i see :0 so it didn't solve the problem?
r/renpy
comment
r/RenPy
2024-25-08
im thinking about in the first half of the story MC only has options for the good and the neutral ending. if MC has more points for neutral ending the game ends earlier. if MC has more points for good ending the game continues and she starts to have options for the good or the bad ending. how should i build the game? i...
r/renpy
post
r/RenPy
2024-24-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-24-08
If we are talking about programming part than you just need to make variable default endingPoints = 0 Then when a player makes a choice that you consider is moving them to a good/bad ending you increase variable by how many points you want. "Reaction to the choice blah-blah" $ endingPoints += 2 This ex...
r/renpy
comment
r/RenPy
2024-24-08
thank you so much! you are a life saver
r/renpy
comment
r/RenPy
2024-24-08
You are welcome! I made a small mistake in the first code block, and fixed it. Check it one more time
r/renpy
comment
r/RenPy
2024-24-08
ahh okay!!
r/renpy
comment
r/RenPy
2024-24-08
I love how it looks and works, but I'm trying to implement it in my game and with days of wracking my brain over I'm close to giving up. Can someone please walk me through it? It'd mean the world to me since this feature is quite important for my game and I've exhausted all my brain power to no avail.
r/renpy
post
r/RenPy
2024-24-08
What encyclopedia? Is this some code you've got from somewhere? If so, was it written for the current version of Ren'Py (roughly less than two years ago)?
r/renpy
comment
r/RenPy
2024-25-08
This- [https://lemmasoft.renai.us/forums/viewtopic.php?t=25204&sid=beb865f565bba5f3715207438f59c2ce](https://lemmasoft.renai.us/forums/viewtopic.php?t=25204&sid=beb865f565bba5f3715207438f59c2ce)
r/renpy
comment
r/RenPy
2024-25-08
You'll likely have better luck on that thread - at least it's still being actively developed. Make sure you've worked through all the instructions and read the posts there in case anyone has had the same issue.
r/renpy
comment
r/RenPy
2024-25-08
i added a music for the main menu but it keeps playing when the game i want to use a different bgm, i used the "play music bgm.wav" command but it didnt work, main menu song still keeps playing.
r/renpy
post
r/RenPy
2024-24-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-24-08
add define config.main_menu_music = "bgm.wav" in options.rpy, put your bgm in audio folder
r/renpy
comment
r/RenPy
2024-24-08
l did this with the main menu music, should i also do it with the bgm?
r/renpy
comment
r/RenPy
2024-24-08
ohhh i misread, i thought this was what you were playing in the main menu haha you should just be able to put "stop music" at the top of your start label
r/renpy
comment
r/RenPy
2024-24-08
it worked! thank you so much ☺️
r/renpy
comment
r/RenPy
2024-24-08
Absolutely new to renpy, question, is it in any way possible to have an audio input feature in my game? Like, I'd need a function for the player to record their voice
r/renpy
post
r/RenPy
2024-24-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-24-08
What do you want the player to do in order to record their voice? And is it really the player recording their voice or is it custom voices in the game?
r/renpy
comment
r/RenPy
2024-24-08
If you’re a python programmer, you could make a custom function to capture audio however nothing exists in the renpy engine to do this so you would have to code your own solution. Also if there isn’t a microphone ( I’m a gamedev and don’t have one on my PC ) then what would the fallback be for this function? Good lu...
r/renpy
comment
r/RenPy
2024-24-08
Thanks!
r/renpy
comment
r/RenPy
2024-25-08
I had in mind a button the player can click to speak and record, I'm putting the project on break in this moment since I've been busy, I'll figure out how to do that sometime in the future. Sorry for the late reply, I just seen your comment
r/renpy
comment
r/RenPy
2024-29-08
No worries, I appreciate the explanation on what exactly you’re trying to achieve. Making the button, textbutton, or imagebutton is the easy part. But the action it performs is unfortunately the hard part. It requires the system to have access to the player’s mic, allowing them to record the audio from their voice. ...
r/renpy
comment
r/RenPy
2024-29-08
Thank you for suggesting an overall structure, I really appreciate that. Yeah it is a pretty niche function, I don't think I've encountered any VN that has it so I expected it to be on the more complicated side
r/renpy
comment
r/RenPy
2024-30-08
Yeah, unfortunately that is the case. However if we’re lucky, someone will let you know how to add in a voice recording function. I wish you the best of luck 🤞🏻
r/renpy
comment
r/RenPy
2024-30-08
I have my main character defined like this: define mc = Character("[player_firstname]", image="kari") Everything works perfectly, the player generated name always works and it always shows my placeholder sprite "Kari." An example of my text would be: mc "This is fake text." But the sprite is always in the ...
r/renpy
post
r/RenPy
2024-24-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-24-08
You'll need to show your current code for showing/moving the sprite, any custom transforms, etc. before anyone can offer any help but, >Using my mc character definition, how can I move the different sprites around? moving the sprites is nothing to do with character definitions. It's all down to how you show the sprit...
r/renpy
comment
r/RenPy
2024-24-08
So it would be better to define image outside of Character. So you will have more control over it. In your case it would be like this define mc = Character("[player_firstname]") image kari: "kari.png" Than in text you can use show and it's attributes to show desired image wherever you want. It would loo...
r/renpy
comment
r/RenPy
2024-24-08
I haven't done any code for moving them around, every time I try it errors out. I thought the point of defining a character sprite was that I wouldn't have to type `show character at right` every single time I wanted a new character to show up or move or whatever. I could just do it with `mc at right "text here"`.
r/renpy
comment
r/RenPy
2024-24-08
So I have to type `show kari` every time I want that sprite to do anything or show up? For example: `show kari at left` `mc "blah blah text blah blah` `show frank at right` `f "blah blah response blah blah"` `show kari at left` `mc "blah blah indignant blah blah` Like that? What is the point of defining ...
r/renpy
comment
r/RenPy
2024-24-08
You don’t need to constantly right it. If you want to just place characters at the beginning of the dialog you just put show kari at left show frank at right mc “saying saying” f “also saying” #continue your dialog here And they will stay there until you either hide them with: hide kari ...
r/renpy
comment
r/RenPy
2024-24-08
No, as far as I'm aware, you always have to `show` a sprite at least once. If it's on screen, you can change to a different version/pose/expression by adding the necessary label in front of the dialogue, eg: `mc surprised "text here"` where your alternate sprite is named, for example, 'kari surprised.png'. But if you...
r/renpy
comment
r/RenPy
2024-24-08
Well damn, that is more time consuming than I thought it would be, I'll probably just use that Action Viewer plugin someone else recommended. Thanks for the reply!
r/renpy
comment
r/RenPy
2024-24-08
You are welcome. But it will just give you a piece of code that you can past into your script. Also images need to be already shown before you start the plugin in game
r/renpy
comment
r/RenPy
2024-24-08
Hmm... interesting. Time to go back and add a bunch of lines of code then haha!
r/renpy
comment
r/RenPy
2024-24-08
That should be easy enough. Just `show kari` wherever and then move it and copy/paste the code. I appreciate it!
r/renpy
comment
r/RenPy
2024-24-08
u/Dads_Bud11's original code isn't defining the image within the character definition, it's assigning a sprite to the character, such that they won't need to show kari \[variantname\] each time they want to change pose/expression. Adding image = "kari" into the mc definition means they can then... show kari at lef...
r/renpy
comment
r/RenPy
2024-24-08
Thank you! This is helpful.
r/renpy
comment
r/RenPy
2024-24-08
Maybe you are right. For something simple I agree. When I personally set coordinates I want to feel in control. And with constant change in positions, angles, camera and size there will be as much custom transformations as show statement. But alas I haven’t tried every method there is. So I will keep your words in mi...
r/renpy
comment
r/RenPy
2024-24-08
Hi, game got two similar lines, translation file create only one line, but they need different translation, How this could be achieved?
r/renpy
post
r/RenPy
2024-24-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-24-08
hello! been a while since i've asked here. so, to explain my question, my game will include 10 ranks (less than 5 ranks and you get the bad ending, 5 or more ranks and you get the good ending, and 10th rank you get the best ending) you basically have to say the right dialogue choices and give the right gifts in order...
r/renpy
post
r/RenPy
2024-24-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-24-08
It's definitely possible. After your init_python add: default ranknumber = 0 Then, every time the player makes the right decision or gives a gift, add: $ ranknumber =+ 1 Then when you want to pick which ending you want, for example the winning rank threshold is 5: if ranknumber >= 5: jump goodending else: ...
r/renpy
comment
r/RenPy
2024-24-08
You don’t need an init_python for this method, just an fyi
r/renpy
comment
r/RenPy
2024-24-08
The other person explained the way to make this, but you don’t need an init_python to do this. And for good, bad, and best endings, you use an if statement, followed by an elif statement, and ending with else (or elif). —————— if rankpoints >= 5 and rankpoints < 10: jump good_ending elif rankpoints >= 10: ...
r/renpy
comment
r/RenPy
2024-24-08
What this is saying is if the points is between 5 and 9, then you reach the good ending. And if it’s 10 or higher, then it’s best ending. Otherwise, it’s bad ending (which expects 4 or lower in points).
r/renpy
comment
r/RenPy
2024-24-08
ohh, ok! thanks for the help!
r/renpy
comment
r/RenPy
2024-25-08
My pleasure, I’m happy to help! Best of luck with your project. If you have any further questions, please don’t hesitate to ask.
r/renpy
comment
r/RenPy
2024-25-08
hey everyone! asking for help with some code. in my game, there are 3 menu options. i want it so after you select one, it loops back to the menu options. option 1 (or 2) should disappear from the list after you select it. but option 3 *shouldnt*. an example of what i mean: \[click option 2\] -> menu has option 1 and...
r/renpy
post
r/RenPy
2024-24-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-24-08
You can write it like this: default only_three = [] Then during your game: menu mychoice: "bla?" "option 1" if "option1" is not in only_three: $ only_three.append("option1") jump mychoice "option 2" if "option2" is n...
r/renpy
comment
r/RenPy
2024-24-08
I'm setting up a new visual novel and since i have no knowledge in coding this is really difficult to me. I want to be able to zoom the main menu buttons slightly when hovered - just to specify, i'm using imagebuttons. I was able to implement the zoom in choices with a simple transform but i don't really know how to im...
r/renpy
post
r/RenPy
2024-24-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-24-08
I simply do it like this: transform hover\_enlarge: on hover: ease 0.2 zoom 1.2 on idle: ease 0.2 zoom 1.0 and then I go to the buttons and add this: imagebutton idle "/gui/start.png" hover "/gui/start.png" action Start(): at hover\_enlarge style "start\_button"
r/renpy
comment
r/RenPy
2024-24-08
thank you sm! just to be sure, where would i insert the transform hover_enlarge code line?
r/renpy
comment
r/RenPy
2024-24-08
I generally put it before: screen main\_menu():
r/renpy
comment
r/RenPy
2024-24-08
just tried and it works!! u saved my life i was struggling so much😭😭🫶
r/renpy
comment
r/RenPy
2024-24-08
I'm glad I could help
r/renpy
comment
r/RenPy
2024-24-08
I do it like this : imagebutton idle "images/ui/placeholder\_idle.png" hover "images/ui/placeholder\_hov.png" pos (1550, 120) at buttonScale action Start() And at the end of my screen.rpy : ############################# SCALE IMAGE BOUTON ############################# transform buttonScale: #Can name it whatever yo...
r/renpy
comment
r/RenPy
2024-24-08
thank you!!
r/renpy
comment
r/RenPy
2024-25-08
https://preview.redd.it/…ow do I do that?
r/renpy
post
r/RenPy
2024-24-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-24-08
The base code *assumes* that there is a side (navigation) menu, and swaps out what's to the right of it depending on the navigation context (preferences, save/load game, history, about, etc.) All of these screens are interconnected, so if you want to change the preferences screen layout, be careful what you wish for. Y...
r/renpy
comment
r/RenPy
2024-25-08
Hiya! I'm trying to solve a problem with audio playing. I have one track on loop playing for most of my game. It starts at the beginning (after the title screen), and plays for the rest of the game, even if you open the options/prefs. The audio works perfectly fine if you play through without saving and loading, how...
r/renpy
post
r/RenPy
2024-24-08