Search found 10 matches

by FlashFrontal
Wed Jan 17, 2024 11:17 am
Forum: Ren'Py Questions and Announcements
Topic: Slight pause between video loops after changing Ren'Py version?
Replies: 1
Views: 586

Slight pause between video loops after changing Ren'Py version?

I recently upgraded from 7.5.3 to 7.6.3, and whilst the game still works, I've noticed that all looping videos now have a very brief pause between each loop, which results in really choppy playback. The videos are all in webm format, vp9, and vary between about 300kb and 3mb. Is there some setting t...
by FlashFrontal
Fri Nov 25, 2022 5:04 am
Forum: Ren'Py Questions and Announcements
Topic: Command to reset "renpy.random" results?
Replies: 2
Views: 552

Command to reset "renpy.random" results?

Hello Ren'Py nerds, I've noticed that when using something like $ Result = renpy.random.randint(1,20) the Result will be random, but only once per launch of the game. It's the same every time if you roll back, or even when finish the game, returning you to the menu, starting the game again and playi...
by FlashFrontal
Tue May 24, 2022 4:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Exact behaviour of after_load?
Replies: 3
Views: 301

Re: Exact behaviour of after_load?

If all you want to do is to give new variables a default value, the default statement is the way to go - it will set the variable to a value if it hasn't been set before. Thanks, that's that works well. As long as they have a value of some sort when the game launches then I can continue without fea...
by FlashFrontal
Tue May 24, 2022 7:18 am
Forum: Ren'Py Questions and Announcements
Topic: Exact behaviour of after_load?
Replies: 3
Views: 301

Exact behaviour of after_load?

So, lets say I've got a first version of a game, with a bunch of variables that get defined in a label called variableSet which is called right at the beginning of the start label. Later on, I release an update for the game that includes nw content, and subsiquently, nw variables. But players save f...
by FlashFrontal
Sat Apr 02, 2022 7:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Multiple characters speaking with one dialogue box?
Replies: 2
Views: 572

Re: Multiple characters speaking with one dialogue box?

Per K Grok wrote: Mon Feb 14, 2022 9:26 am
Try this

"{color=#f00}character1{/color} and{color=#00f}character2{/color}"
Only just got around to actually trying this, but it works exactly how I wanted it to. For some reason I thought the colours could only be defined in the original character definition.

Many thanks!
by FlashFrontal
Sun Feb 13, 2022 9:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Multiple characters speaking with one dialogue box?
Replies: 2
Views: 572

Multiple characters speaking with one dialogue box?

Is there a way I can have 2 characters say the same thing, and it display the sayer as "Character1 and Character2" but still keep their character name colours? I know I can just define a character with literally as "Character1 and Character2" and have them say the text, but I'm n...
by FlashFrontal
Sun Jan 09, 2022 3:16 am
Forum: Ren'Py Questions and Announcements
Topic: Label call in screen action not working.
Replies: 5
Views: 362

Re: Label call in screen action not working.

Try it like Lotsa code Thanks man. I had a go with what you sent, and while it wasn't exactly what I needed, it did lead me to what I needed. It turned out what I needed to do was actually way simpler, I was just overthinking. My eventual solution was basically; image MyAnimation = Movie(play="...
by FlashFrontal
Sat Jan 08, 2022 12:49 am
Forum: Ren'Py Questions and Announcements
Topic: Label call in screen action not working.
Replies: 5
Views: 362

Label call in screen action not working.

So I've got a hidden object scenario which works with a screen image map that sits over the top of a background (Which is the same image minus the hidden object). The code is very simple, but works well except for one thing. screen ObjectMask(Image,C1,C2,C3,C4,Variable): imagemap: ground Image hotsp...
by FlashFrontal
Thu Jan 06, 2022 5:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with having a screen loop through an array and create buttons?
Replies: 2
Views: 323

Re: Help with having a screen loop through an array and create buttons?

Find, whoever told you that, and show them this link: https://www.renpy.org/doc/html/screens.html#for I would create a class instead of using nested lists, just so I could do something like: for outfit in character_outfits: if outfit.unlocked: textbutton outfit.name action Show("OutfitDisplay&...
by FlashFrontal
Wed Jan 05, 2022 6:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with having a screen loop through an array and create buttons?
Replies: 2
Views: 323

Help with having a screen loop through an array and create buttons?

Hi guys, hoping you can help me with this one. So lets say you had a 2 dimensional array in renpy, like the below. ##Outfit name / Unlocked? / Image Path## $ character1outfits = [ ["Outfit1",True,"Outfits/C1/Outfit1.png"], ["Outfit2",True,"Outfits/C1/Outfit2.png&qu...