text stringlengths 0 40.9k | label stringlengths 5 23 | dataType stringclasses 2
values | communityName stringlengths 5 23 | datetime stringclasses 32
values |
|---|---|---|---|---|
Really all you'd need to do is set every variable your player has gathered back to its default value and then send them back to the start - effectively, you'd have overwritten all of their save data and progress. Pretty cool question, gets me interested with what I could do with this in my own projects. | r/renpy | comment | r/RenPy | 2024-13-08 |
The only saved data that stays (even after starting a new game) is persistent code. That requires you to select “Delete Persistent” in the Ren’Py program.
Other than that, all other data can easily be restarted based on what people have mentioned in the comments. | r/renpy | comment | r/RenPy | 2024-13-08 |
as a developer! | r/renpy | comment | r/RenPy | 2024-13-08 |
Delete Persistent from the launcher sounds like what you're asking for. | r/renpy | comment | r/RenPy | 2024-13-08 |
That's the thing, I know about the Delete Persistent but that does it for the whole game. I just wanted to know if there was a way to do that but only for one character. | r/renpy | comment | r/RenPy | 2024-13-08 |
label start:
e "Hi"
menu:
"Bad ending":
e "I'm going to restart now."
$ persistent._clear()
"Good Ending":
e "I'm not going to restart."
return
Maybe this will help? Instead of $ persistent.\... | r/renpy | comment | r/RenPy | 2024-13-08 |
Are you trying to lock a route ending immediately after the player reaches the end? | r/renpy | comment | r/RenPy | 2024-13-08 |
No, more so erase the route so where it deletes the endings and the CGS that came with it. Not the whole entire game and everyone else's routes. Just hers.
label start:
e "Hi"
menu:
"Bad ending":
e "I'm going to restart now."
$ persistent._clear... | r/renpy | comment | r/RenPy | 2024-13-08 |
You could make the choice (that leads to a route) unclickable if that route is already completed. | r/renpy | comment | r/RenPy | 2024-13-08 |
oh okay! i’ll try that! thank you :3 | r/renpy | comment | r/RenPy | 2024-13-08 |
My pleasure! If you need help with the code, lemme know. | r/renpy | comment | r/RenPy | 2024-13-08 |
I'm not sure how I can make the transition slower or soft. I don't know how to explain it, this is the first time I've tried to make a game. But I made a example, with the normal speed and the speed I want.
[English is not my first language. Sorry.](https://i.redd.it/7zt8c6ueyhid1.gif)
(By the way, I'm using the code... | r/renpy | post | r/RenPy | 2024-13-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-13-08 |
you have to define your own transition. time is a argument of the fade function. if you go into the renpy documentation and copy the code for the fade transition, you can just rename it and make the time argument higher | r/renpy | comment | r/RenPy | 2024-13-08 |
try it like this
show hazel normal with Dissolve(3) #yes capital D will take 3 seonds to dissolve in (adjust as required) | r/renpy | comment | r/RenPy | 2024-13-08 |
You can do it like this:
show hazel normal with Dissolve(1.5)
The number you put after Dissolve determines how long the transition will take in seconds. Hope this helps. Cool character btw :) | r/renpy | comment | r/RenPy | 2024-13-08 |
Ah! It worked. Thank you very much:D | r/renpy | comment | r/RenPy | 2024-13-08 |
This ☝️ you can also use the fade instead if you want, OP.
show hazel normal with fade(3) | r/renpy | comment | r/RenPy | 2024-13-08 |
It’s really nice that we can use a float (such as 1.5) instead of an integer (such as 1). The ability to use either or provides us with so much flexibility when choosing the delay.
I also use this with the pause command when animating with eye blinks and mouth movement. | r/renpy | comment | r/RenPy | 2024-13-08 |
You can define yourself a custom dissolve speed and use it instead | r/renpy | comment | r/RenPy | 2024-14-08 |
define fastdissolve = Dissolve(0.2)
show image with fastdissolve | r/renpy | comment | r/RenPy | 2024-14-08 |
r/renpy | post | r/RenPy | 2024-13-08 | |
This looks so fun! | r/renpy | comment | r/RenPy | 2024-14-08 |
Thank you! We really wanted to make it approachable for everyone, even if you're not typically into visual novels. | r/renpy | comment | r/RenPy | 2024-14-08 |
hello! i'm trying to emulate the way sprites move in the visual novel witch on the holy night, specifically the manner in which they smoothly move with a bit of inertia rather than just stopping suddenly - [here](https://youtu.be/AxwsYbsxm1w?list=PL3QR-Vde0dPLBZf4kQlKnJ4tN6jyzPV1P&t=2385) is one example, and [here](htt... | r/renpy | post | r/RenPy | 2024-13-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-13-08 |
sounds like you want the [ease transition](https://www.renpy.org/doc/html/transitions.html#var-ease) | r/renpy | comment | r/RenPy | 2024-14-08 |
the ease transition as pointed out by u/standard_cat17 is good, but they all move at a constant speed if you're looking for something that changes speed over time check out the warpers
[https://www.renpy.org/doc/html/atl.html#warpers](https://www.renpy.org/doc/html/atl.html#warpers)
these can move at different speed... | r/renpy | comment | r/RenPy | 2024-14-08 |
So I've changed the character's based on some feedback and have started working on the story and main character. One thing about this game is every decision means something and one wrong word could be the decision between a happy ending or getting your skull crushed in with a bat. Even the wrong name could keep you fro... | r/renpy | post | r/RenPy | 2024-14-08 |
There’s many characters with same names. I think you should keep it if you feel it’s fitting and just feels right.
As for the game itself, it sounds like it will be extremely difficult to get a good ending based on your description of the game.
What I mean is imagine the story as a battlefield. And each choice has a... | r/renpy | comment | r/RenPy | 2024-14-08 |
Thanks, some of the endings are landmines but others are like losing an arm as it could always be worse but thank you for the feedback | r/renpy | comment | r/RenPy | 2024-14-08 |
Can you get a good yandere ending | r/renpy | comment | r/RenPy | 2024-14-08 |
Ya there's gonna be a few endings for each character | r/renpy | comment | r/RenPy | 2024-14-08 |
Well, color me interested | r/renpy | comment | r/RenPy | 2024-14-08 |
I think it also depends on quality of writing. If the quality of writing is high, and it's not too wordy, then maybe there is an audience for it.
If the writing and story is entertaining enough, I think the audience will accept the difficulty/challenge. | r/renpy | comment | r/RenPy | 2024-14-08 |
Question, where would you release it and will it be paid? Sorry, it just seems that I really do want to play it (might as well save some money). | r/renpy | comment | r/RenPy | 2024-14-08 |
Wait what is Uzadere? | r/renpy | comment | r/RenPy | 2024-14-08 |
It's gonna be on itch and maybe steam later and is gonna be free but I most likely will make a supporter pack or patreon with extra content for like $5 | r/renpy | comment | r/RenPy | 2024-14-08 |
A Uzadere is someone who annoys their love interest
Wiki: https://the-dere-types.fandom.com/wiki/Uzadere | r/renpy | comment | r/RenPy | 2024-14-08 |
My pleasure, I hope it was helpful 😅 | r/renpy | comment | r/RenPy | 2024-14-08 |
That is an excellent point. I wholeheartedly agree with you. | r/renpy | comment | r/RenPy | 2024-14-08 |
I'm gonna have a bunch of people look over the story when it's done to make sure it's actually good so don't worry | r/renpy | comment | r/RenPy | 2024-14-08 |
Hey, I'm not worrying, I think it sounds like a cool concept, but if you're gonna increase difficulty like that, put focus on writing well! Ton of good videos on the web to help guide you with it too!!
Good luck buddy! | r/renpy | comment | r/RenPy | 2024-14-08 |
Ok thank you | r/renpy | comment | r/RenPy | 2024-14-08 |
Are you using Kisekae for art? How do you find it? Are you using character sprites and separate backgrounds or full screen art ? | r/renpy | comment | r/RenPy | 2024-14-08 |
I think I just found it on a random GitHub repository I can't remember tho and I'm using the sprites and separate background | r/renpy | comment | r/RenPy | 2024-29-08 |
r/renpy | post | r/RenPy | 2024-14-08 | |
I'm having issues with my backgrounds being too small and not covering the whole background, how do I get it to be the right size and cover the entire background? | r/renpy | post | r/RenPy | 2024-14-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-14-08 |
try it like this (adjusting the xysize to match your gui)
scene that_beautiful_image:
xysize(1920, 1080) | r/renpy | comment | r/RenPy | 2024-14-08 |
Thank you!!! | r/renpy | comment | r/RenPy | 2024-14-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-14-08 |
I created a basic screen to act as a notepad. However, for some reason, if I press enter, the dialogue that is present behind the screen progresses. Left clicks do not progress the dialogue. This does not happen with any of the other screens that I have created. Does anyone know why this is?
PS: Another problem is tha... | r/renpy | post | r/RenPy | 2024-14-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-14-08 |
your default is for notepad\_text and the variable you used is notepad\_texts<--the S--> that why it's not getting saved | r/renpy | comment | r/RenPy | 2024-14-08 |
Ok, I checked my code and I was going to say that I already noticed and fixed that to no avail... but for some reason, it just started working now. I didn't even make a change? So, thanks, I guess, cause it works now? | r/renpy | comment | r/RenPy | 2024-14-08 |
what about the enter key problem?
you can try something like this, intercept the enter key
frame:
xsize 1600
ysize 980
input:
idle_color "#c0c0c0"
hover_color "#ffffff"
... | r/renpy | comment | r/RenPy | 2024-14-08 |
That worked perfectly, thanks for the help! Do you have any idea why the inputs weren't intercepted in the first place? | r/renpy | comment | r/RenPy | 2024-14-08 |
A modal screen prevents the user from interacting with displayables below it, except for the default keymap.
you're welcome
good luck with your project | r/renpy | comment | r/RenPy | 2024-14-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-14-08 |
Oh god this code looks horrible when it's displayed like this. I'm sorry fellas. | r/renpy | comment | r/RenPy | 2024-14-08 |
Make a separate .rpy file for this code:
init python:
import datetime
class GameCalendar:
def __init__(self, start_month, start_day):
self.current_date = datetime.date(2000, start_month, start_day)
self.periods = ["Day", "Work", "Evening", "Night"]
self.curren... | r/renpy | post | r/RenPy | 2024-14-08 |
Oh god, this looks terrible. | r/renpy | comment | r/RenPy | 2024-14-08 |
Dont be so hard on yourself. It looks decent and has room to grow. I cant offer much advice but you have made me go and reexamine my own calender system. | r/renpy | comment | r/RenPy | 2024-14-08 |
Uuu, how did you implement your calendar system? I want to learn from it! | r/renpy | comment | r/RenPy | 2024-14-08 |
I'm trying to apply colour to a vbox but ffor the life of me, I can't get it to work. I'm beginning to think you can't stylize the colour, but I wanted to ask here for help before I gave up.
screen strength_menu():
vbox:
style_prefix "strength_menu"
colo... | r/renpy | post | r/RenPy | 2024-14-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-14-08 |
If it's just the one line of text, the easiest way is like this:
text "{color=#0aa539[strength]"
If you want more text in that vbox to be the same color, do it like this:
style strength_menu_text is text:
color "#0aa539"
screen strength_menu:
vbox:
style_prefix "strength_menu"
... | r/renpy | comment | r/RenPy | 2024-14-08 |
The second one worked. Thanks, I appreciate it. | r/renpy | comment | r/RenPy | 2024-14-08 |
i'm driving myself crazy trying to figure this out, if it's an obvious answer i'm so sorry lol. everything in this code works, except the nicknames. the nicknames are always the nonbinary nicknames, no matter what gender i choose.
script code:
default firstname = "First Name"
default lastname = "Last Name"
... | r/renpy | post | r/RenPy | 2024-14-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-14-08 |
You set gender to "gender". That doesn't equal "male" or "female", so the "else" block gets executed. | r/renpy | comment | r/RenPy | 2024-14-08 |
I feel a little silly now for not having noticed that lol, thank you! | r/renpy | comment | r/RenPy | 2024-14-08 |
My question is if there is a possibility to show different textboxes depending on what choice the player is hovering over in a menu.
| r/renpy | post | r/RenPy | 2024-14-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-14-08 |
Do you want the choice you're hovering to change or all the other ones? | r/renpy | comment | r/RenPy | 2024-14-08 |
Neither. My idea was it that when you hover over a choice, the textbox appears, like someone is talking and it shows a description of the choice you are hovering over. Every choice would then show its own textbox, or text. | r/renpy | comment | r/RenPy | 2024-14-08 |
I see. You'll have to create your own screen for that then. Maybe like this:
default choice_hover = 0 #define a variable
screen choice1:
align(0.5,0.5) #puts the screen in the middle
textbutton "option1":
hovered SetVariable("choice_hover", 1) #this sets the variable to 1 when you hove... | r/renpy | comment | r/RenPy | 2024-14-08 |
Wanted to avoid that. I mean if I wanted, I just use imagebuttons, which have the text box on the hover image. | r/renpy | comment | r/RenPy | 2024-14-08 |
Yeah, that would be the easiest way I think. With some work you can alter the menu screen itself to do what you want. Maybe someone else has a better idea though. | r/renpy | comment | r/RenPy | 2024-14-08 |
It sounds very much as though you're asking about [Tooltips](https://www.renpy.org/doc/html/screen_actions.html#tooltips).
More info in the LemmaSoft forum, [here](https://lemmasoft.renai.us/forums/viewtopic.php?t=15374). | r/renpy | comment | r/RenPy | 2024-14-08 |
Hey all.
I'm trying to add a feature into my game where it will roll for a random number between 1-100, and I'm not particullarly keen on the "if, elif, etc." route as each number will have different dialogue attached to them, and that sounds headache inducing and suboptimal.
I've used condition statements for image... | r/renpy | post | r/RenPy | 2024-14-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-14-08 |
In my opinion, using if, elif else with dialogue directly after the statements is the optimal solution for your problem, but you could also use a jump statement to jump to any point in the script.
This is how I'd do it:
$ decisionn = renpy.random.randint(1,100)
if decision == 1:
a "dialogue 1"
elif... | r/renpy | comment | r/RenPy | 2024-14-08 |
As in you wanna go to an label with <x> in the name where <x> is the rolled value?
python:
result = f"label_response_{renpy.random.randint(1, 100)}"
if renpy.has_label(result):
renpy.call(result)
else:
renpy.call("label_response_default")
It ... | r/renpy | comment | r/RenPy | 2024-14-08 |
Hi, I've just tried this out, but every time it always goes back to the default option rather than jumping to the test labels. I changed the random numbers to 1-3 for the purposes of debugging, but it doesn't seem to want to work.
`python:`
`result = "npcd_{renpy.random.randint(1, 3)}"`
`if renpy.has_label(result):`... | r/renpy | comment | r/RenPy | 2024-14-08 |
Hi, I'd like to keep this option as a last resort if I can't find a streamline solution as I'd like to have about 100 random dialogue chances. Thank you though! | r/renpy | comment | r/RenPy | 2024-14-08 |
Can you try changing the result line to use f-string?
result = f"npcd_{renpy.random.randint(1, 3)}"
(The f"..." instead of just "...") | r/renpy | comment | r/RenPy | 2024-14-08 |
I've just tried this and now it seems to only go to npcd\_3 followed by the default label? | r/renpy | comment | r/RenPy | 2024-14-08 |
Add returns at the end of each label you're calling so it will return back to the "main" script. Currently after it is done with the content of npcd_3 label it just goes to the next thing below it.
As per it always picking 3 - it might be related to how renpy random is designed. You can read up more on that and find ... | r/renpy | comment | r/RenPy | 2024-14-08 |
Unfortunately, as you see in the comments, you’ll have to make an “if” statement anyway. 😅 | r/renpy | comment | r/RenPy | 2024-14-08 |
You may need an if statement to check what number you got, in order to decide if it meets the condition.
Something like if result == 1, then jump to label1. | r/renpy | comment | r/RenPy | 2024-14-08 |
Just wanted to mention it’s spelled as randint, not ranndit. This is necessary to mention because it’s part of a code command. | r/renpy | comment | r/RenPy | 2024-14-08 |
Thanks, corrected the double n. But you wrote it wrong too. It's randint for random integer, not randit | r/renpy | comment | r/RenPy | 2024-14-08 |
I'm not *super* well versed with either renpy or Python, but maybe a "case" type of check could help? I've not successfully implemented this in renpy but I feel your pain with the if/elif situation and have been looking for a similar solution; maybe something like this could work?
https://www.freecodecamp.org/news/py... | r/renpy | comment | r/RenPy | 2024-14-08 |
I fixed it on my end as well. I do know what it stands for. I may have typed too fast at the time. | r/renpy | comment | r/RenPy | 2024-14-08 |
Hey, thanks for the help! I managed to get it working. It would loop at the end after jumping to the non randomised dialogue, but I ended up making RenPy force itself back to the main menu which seemed to work! | r/renpy | comment | r/RenPy | 2024-14-08 |
I didn't have an issue with writing an "if" statement, but it was more that I have 100 different scenarios and writing if, elif 100 times felt sub optimal 🙏🏼 | r/renpy | comment | r/RenPy | 2024-15-08 |
Hi! I managed to resolve my issue, but I did talk about this possibility with a coder friend and when I tried it out, I found out that the version of python renpy uses (or at least the version this is being built in) doesn't support case statements. 😭 | r/renpy | comment | r/RenPy | 2024-15-08 |
I understand that | r/renpy | comment | r/RenPy | 2024-15-08 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.