Search found 293 matches

by Onishion
Tue Jan 03, 2017 6:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Onlayer with a variable?
Replies: 4
Views: 351

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: 351

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 basic transfor...
by Onishion
Tue Jan 03, 2017 6:47 am
Forum: Ren'Py Questions and Announcements
Topic: Onlayer with a variable?
Replies: 4
Views: 351

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 = "MyUniqueLayer2" show MyImage onlayer ...
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: 707

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: 5512

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: 707

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: 5512

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: 5512

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 the objec...
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: 5512

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, like $ Ani...
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: 5512

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: 1091

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: 1091

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: 1091

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...
by Onishion
Thu Jun 09, 2016 6:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Referencing an image within an image
Replies: 2
Views: 240

Referencing an image within an image

Ok, basically what I'm trying to do is build an alphamask that makes use of an image that is part of a larger image structure. I use the line "AlphaMask("ImagetobeMasked", "MaskingImage")", and that works fine so long as "ImagetobeMasked" and "MaskingImage" are each their own distinct images, but wh...
by Onishion
Fri Jun 03, 2016 4:16 pm
Forum: Ren'Py Questions and Announcements
Topic: (Solved)Elif Issue
Replies: 7
Views: 391

Re: (Solved)Elif Issue

There's another slightly easier option for some of this. Trooper including the option to have: default rentdays = [30, 60, 90, 120, 150, 180, 210, 240, 270, 300, 330, 360] label start: if day in rentdays: but you can actually shortcut that if you like (if this is something that you'd only need to ac...