Search found 295 matches

by Onishion
Wed Oct 26, 2022 10:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Using a List as a dict value in dialogue
Replies: 2
Views: 339

Re: Using a List as a dict value in dialogue

Ok, thanks. I'll see how this fits in with the rest.
by Onishion
Wed Oct 26, 2022 7:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Using a List as a dict value in dialogue
Replies: 2
Views: 339

Using a List as a dict value in dialogue

I'm trying to make a dict that uses lists as the values, and then reference that list within a dialogue string. The closest I've gotten allows me to create the dict and access it using a fixed number in the string, but trying to use a variable to select the position in the list breaks it. I have a f...
by Onishion
Tue Jan 03, 2017 6:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Onlayer with a variable?
Replies: 4
Views: 525

Re: Onlayer with a variable?

Awesome, thank you.
by Onishion
Tue Jan 03, 2017 11:19 am
Forum: Ren'Py Questions and Announcements
Topic: Onlayer with a variable?
Replies: 4
Views: 525

Re: Onlayer with a variable?

Ok, that may work out for my purposes, I'll give it a shot. Thanks! And just to check, if I want to put an "at Transform" property and in there, like show MyImage at MyTransform onlayer Var: zoom .5 at_list = [MyTransform"] seems to work so far, but what would be the syntax for adding...
by Onishion
Tue Jan 03, 2017 6:47 am
Forum: Ren'Py Questions and Announcements
Topic: Onlayer with a variable?
Replies: 4
Views: 525

Onlayer with a variable?

What I'd like to do is set a variable, and then show/hide images using that variable. config.layers = [ 'master', 'MyUniqueLayer2', 'MyUniqueLayer1', 'transient', 'screens', 'overlay' ] default Var = "MyUniqueLayer1" if X: $ Var = "MyUniqueLayer1" else: $ Var = "MyUniqueLaye...
by Onishion
Wed Jun 22, 2016 12:54 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Transform not working with yalign
Replies: 5
Views: 2627

Re: [SOLVED] Transform not working with yalign

That's a helpful. image.

I still wish Renpy had a "dev view" for images where it would paint a border around them and paint the anchor point that you could turn on and off in the dev toolkit to test animations.
by Onishion
Tue Jun 21, 2016 4:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Resetting animations within a live composite
Replies: 77
Views: 9024

Re: Resetting animations within a live composite

The code example is very large, making it very hard to debug :( Code is also incomplete, I've added a dummy func and renamed the label to start to get it to work, I think controls might be messed up as well. I don't think that most of it is needed to make a testing case. Sorry, I took the code I wa...
by Onishion
Tue Jun 21, 2016 3:54 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Transform not working with yalign
Replies: 5
Views: 2627

Re: Transform not working with yalign

ATLs give me headaches, but I'm thinking it's a problem with yalign and the size of your image. Is your image at or near the same height as the stage? If so, that may cause issues with certain transforms. People use align in animations a lot, but to me they cause more hassles than they're worth. Wha...
by Onishion
Mon Jun 20, 2016 6:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Resetting animations within a live composite
Replies: 77
Views: 9024

Re: Resetting animations within a live composite

Ok, thanks. I understand that it's a weird and complex issue and appreciate you looking into it. I've tried a lot of trial and error to try to fix it on my end, but I don't understand the switcher code itself to mess with it productively.
by Onishion
Sat Jun 18, 2016 4:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Resetting animations within a live composite
Replies: 77
Views: 9024

Re: Resetting animations within a live composite

Ok, I've created a test case using solids, it is pretty damned long, so sorry about that. So there are two different problems with this, one that is easy to replicate, and one that takes a little work. Instructions: Hit "reshow" to display the objects. Hitting it again hides and then shows...
by Onishion
Thu Jun 16, 2016 1:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Resetting animations within a live composite
Replies: 77
Views: 9024

Re: Resetting animations within a live composite

1) You can write to log, I am not sure what you mean by "faking" an interaction. Well, what I mean is, the Displayable switcher doesn't update until something happens, like a line of dialog, right? I was wondering if there was a way to force that without the player having to do anything, ...
by Onishion
Tue Jun 14, 2016 5:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Resetting animations within a live composite
Replies: 77
Views: 9024

Re: Resetting animations within a live composite

Ok, so I played with this a bit more. 1. I tried putting a function at the end of an animation block that would cause it to repeat by triggering a reset, but it wouldn't work because there was no interaction. It would change the variables, but since there was no interaction it would then just stop. ...
by Onishion
Sun Jun 12, 2016 4:02 am
Forum: Ren'Py Questions and Announcements
Topic: Using an alphamask without the alpha being visible
Replies: 4
Views: 2258

Re: Using an alphamask without the alpha being visible

The 'AlphaMask' component is positioned relative to the LiveComposite it is in automatically. Yeah, if it's a stationary image, but if it's an animated one, then I don't think that is the case, although I will test out the theory. Let me clear something up from the example that might make a differe...
by Onishion
Sat Jun 11, 2016 10:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Using an alphamask without the alpha being visible
Replies: 4
Views: 2258

Re: Using an alphamask without the alpha being visible

I'm sorry if I'm a bit confused, but my issue wasn't with getting the masking image to move, I got that much, the problem is that I can't get the masking image to mask the target image properly without also being visible itself. What I would like to be able to do is have the alpha image mask the tar...
by Onishion
Sat Jun 11, 2016 2:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Using an alphamask without the alpha being visible
Replies: 4
Views: 2258

Using an alphamask without the alpha being visible

Ok, I have a slightly complex issue. I have a composite where I want to display one graphic layer, that has an animated alpha mask to occlude parts of it. I've got it working to the point that the alpha layer animates properly, and properly effects the opacity of the target layer, but the problem is...