Search found 153 matches
- Sun Oct 09, 2022 5:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Defining LayeredImage when image requires two attributes?
- Replies: 1
- Views: 211
Defining LayeredImage when image requires two attributes?
Hi all, I'm trying to implement layeredimage sprites to save on file size, but I have no idea how to implement this when it comes to how my outfits are set up Outfits are split into "cold" and "warm", but then ALSO "uniform" and "casual". Which is to say, the casual outfit a character wears in winte...
- Wed Sep 21, 2022 2:41 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved?] Audio glitch when looping
- Replies: 3
- Views: 336
Re: Audio glitch when looping
Update: It's gone now. Maybe I just had to restart my computer? Either way, it's fine now.
- Sat Sep 17, 2022 6:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved?] Audio glitch when looping
- Replies: 3
- Views: 336
Re: Audio glitch when looping
Now I added an .ogg which HAS silence at the end, and there's no blip there? But I don't want to have to include silence when looping for all of these.
- Sat Sep 17, 2022 6:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved?] Audio glitch when looping
- Replies: 3
- Views: 336
Re: Audio glitch when looping
I don't notice any blip when I listen to the audio loop in the tutorial file, if that helps at all. It only happens in my own game.
It even happens when I try using the song from the tutorial in my game. It sounds like a record skipping.
It even happens when I try using the song from the tutorial in my game. It sounds like a record skipping.
- Sat Sep 17, 2022 5:53 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved?] Audio glitch when looping
- Replies: 3
- Views: 336
[Solved?] Audio glitch when looping
Whenever I try to loop a song, there's a tiny little "blip" that happens right when it ends and starts a new loop. I'm using .ogg files, and there is no gap in the file itself. This is the code I'm using, using the "from" just to test that it always happens on the loop, not the end of the file. play...
- Tue Aug 30, 2022 8:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Add "click to continue" content warning screen to splashscreen?
- Replies: 5
- Views: 306
Re: Add "click to continue" content warning screen to splashscreen?
I decided to put the text before the screen, and that seems to work, but I still don't know why it did that to begin with. Here's what I'm using now: label before_main_menu: scene black with Pause(1) show text "A story by Tetra Yon" at truecenter with dissolve with Pause(2) hide text with dissolve w...
- Tue Aug 30, 2022 7:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Add "click to continue" content warning screen to splashscreen?
- Replies: 5
- Views: 306
Re: Add "click to continue" content warning screen to splashscreen?
Thank you, call made the screen stick around. Now I just need to make it not skip over the other text once you click "Yes". I tried swapping Return() for Hide("content_warning") as the Yes button's action, but that just showed a black screen instead of progressing to the text. Should I have it call ...
- Tue Aug 30, 2022 6:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Add "click to continue" content warning screen to splashscreen?
- Replies: 5
- Views: 306
Re: Add "click to continue" content warning screen to splashscreen?
I tried swapping it with that label. It's still skipping directly through the content warning screen without stopping. It displays it for a second, and then goes away.
- Tue Aug 30, 2022 5:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Add "click to continue" content warning screen to splashscreen?
- Replies: 5
- Views: 306
[Solved] Add "click to continue" content warning screen to splashscreen?
I want to display a screen within my splashscreen that displays once, and does not continue until you click a button to proceed. This is because I want to display a content warning, so that the player must agree that they're willing to see that content. I have the splashscreen, and I have the conten...
- Fri Aug 26, 2022 4:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to use a variable as an image attribute?
- Replies: 11
- Views: 483
Re: How to use a variable as an image attribute?
It looks like it all works! Thank you again, everyone. Using this method is going to make it a lot easier.
- Fri Aug 26, 2022 2:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to use a variable as an image attribute?
- Replies: 11
- Views: 483
Re: How to use a variable as an image attribute?
Update: using the $ renpy.show("yui {} causal pout".format(v_season)) method DOES work! I'm just not sure how to use transitions with it yet.
- Fri Aug 26, 2022 1:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to use a variable as an image attribute?
- Replies: 11
- Views: 483
Re: How to use a variable as an image attribute?
There is also layeredimage https://www.renpy.org/doc/html/layeredimage.html#layered-images I think I'm having trouble understanding this. I've looked at it in the past, and I think it would require me to create a bunch of different individual parts of the sprite on different layers, which I CAN do,...
- Fri Aug 26, 2022 1:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to use a variable as an image attribute?
- Replies: 11
- Views: 483
Re: How to use a variable as an image attribute?
$ renpy.show("yui {} causal pout".format(v_season)) Basic Python: https://docs.python.org/3/library/stdty ... str.format Sorry, I thought that ".format" being used there was meant to refer to the format of the file, I didn't realize it was referring to a string formatting operation. Just use scene ...
- Fri Aug 26, 2022 5:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to use a variable as an image attribute?
- Replies: 11
- Views: 483
Re: How to use a variable as an image attribute?
If I'm not mistaken, Ren'Py resolves the attributes for an image at compile time instead of runtime. It tries several methods to resolve an actual filename from the arguments given in the show statement. In your example, Ren'Py is going to take your v_season variable name instead of its value to de...
- Fri Aug 26, 2022 5:09 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to use a variable as an image attribute?
- Replies: 11
- Views: 483
Re: How to use a variable as an image attribute?
There is also layeredimage https://www.renpy.org/doc/html/layeredimage.html#layered-images I think I'm having trouble understanding this. I've looked at it in the past, and I think it would require me to create a bunch of different individual parts of the sprite on different layers, which I CAN do,...