Search found 134 matches

by thexerox123
Sun Jun 11, 2023 8:29 pm
Forum: Ren'Py Questions and Announcements
Topic: Disallow Manual Save in Chosen Slot(s)? & Conditional y/n Confirm?
Replies: 7
Views: 358

Re: Disallow Manual Save in Chosen Slot(s)? & Conditional y/n Confirm?

Given this system, it would be nice to be able to disallow manual saves in the autosave slot. I don't understand, isn't saving disabled by default on the autosave slots? I mean that's how are they designed, those slots are used internally by renpy hence the player can't make a save on those slots. ...
by thexerox123
Sun Jun 11, 2023 3:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Disallow Manual Save in Chosen Slot(s)? & Conditional y/n Confirm?
Replies: 7
Views: 358

Disallow Manual Save in Chosen Slot(s)? & Conditional y/n Confirm?

In my game, I'm using a system that allows for 4 distinct player profiles that works by siloing the saves into different ranges depending on a profile_id variable. I've disallowed autosave, but use a custom function that saves to the first slot in the profile's range. def forcesave(): # Do not save ...
by thexerox123
Sat May 20, 2023 11:18 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] "as" equivalent in ATL?
Replies: 9
Views: 387

Re: [SOLVED] "as" equivalent in ATL?

_ticlock_ wrote: Sat May 20, 2023 11:13 am
thexerox123 wrote: Sat May 20, 2023 10:42 am So maybe just an if/else statement inside the for x,y in self.pos_list statement?

if x <= center then +st, else -st, essentially?
Right. That’ll work.
Thank you again so much! :)
by thexerox123
Sat May 20, 2023 11:03 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] "as" equivalent in ATL?
Replies: 9
Views: 387

Re: [SOLVED] "as" equivalent in ATL?

One follow-up question, if you have any thoughts for how I can implement something... If I now want to make it so that the hue rotation goes in opposite directions depending on which side of the center line they're on... how would I do that? So, like, lights on the left side would be +st, lights on...
by thexerox123
Sat May 20, 2023 10:42 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] "as" equivalent in ATL?
Replies: 9
Views: 387

Re: [SOLVED] "as" equivalent in ATL?

One follow-up question, if you have any thoughts for how I can implement something... If I now want to make it so that the hue rotation goes in opposite directions depending on which side of the center line they're on... how would I do that? So, like, lights on the left side would be +st, lights on ...
by thexerox123
Sat May 20, 2023 1:12 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] "as" equivalent in ATL?
Replies: 9
Views: 387

Re: "as" equivalent in ATL?

A simple example: init python: class RainbowParticles(renpy.Displayable): def __init__(self, child, pos_list, **kwargs): super(RainbowParticles, self).__init__(**kwargs) self.child = renpy.displayable(child) self.pos_list = pos_list def render(self, width, height, st, at): r = renpy.Render(width, h...
by thexerox123
Fri May 19, 2023 1:30 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] "as" equivalent in ATL?
Replies: 9
Views: 387

Re: "as" equivalent in ATL?

Or, thinking it through, could I make a list/array of xpos ypos tuples, and then make a function that creates a sprite for i in list?
by thexerox123
Fri May 19, 2023 11:55 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] "as" equivalent in ATL?
Replies: 9
Views: 387

Re: "as" equivalent in ATL?

Some options: 1) Use AlphaMask with a solid rainbow image and an image with lights as a mask. (Possibly not what you want) 2) Use SpriteManager or CDD. You can apply some matrixcolor transform for the displayable to color them. Thank you for these suggestions! I think I can wrap my head around the ...
by thexerox123
Tue May 16, 2023 8:53 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] "as" equivalent in ATL?
Replies: 9
Views: 387

[SOLVED] "as" equivalent in ATL?

https://i.imgur.com/JTWHqsk.png So, I have this scene with a bunch of lights. I've been able to do some various animation and lighting effects so far using screens, but there's one thing that I'm trying to implement now that I'm a bit stuck on. So, it's one light image that I have added multiple ti...
by thexerox123
Wed May 10, 2023 1:12 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Continuous Snowfall screen?
Replies: 6
Views: 670

Re: Continuous Snowfall screen?

I took a quick look. SnowBlossom was improved but it does not use depth to recalculate size and speed. Likely, because you can easily achieve a similar effect using several SnowBlossom with different parameters. For example: image snow: contains: SnowBlossom(Transform("snow.png", zoom=0.5...
by thexerox123
Wed May 03, 2023 11:33 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Continuous Snowfall screen?
Replies: 6
Views: 670

Re: Continuous Snowfall screen?

Not sure, but likely you can adjust the parameters of SnowBlossom to behave the way you want it. SnowBlossom is an updated function of the Snow you referenced in the OP. It says it was trying to improve upon SnowBlossom... so did they eventually replace the original SnowBlossom with one based on th...
by thexerox123
Wed May 03, 2023 3:19 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Continuous Snowfall screen?
Replies: 6
Views: 670

Re: Continuous Snowfall screen?

That page is outdated. You can use SnowBlossom with fast = True : image snow = SnowBlossom("snow.png", count=100, fast = True) I do kind of prefer how the snow in the other one falls, but the simplicity of that fast = True option makes SnowBlossom worth it in comparison; thank you! :)
by thexerox123
Mon May 01, 2023 5:07 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Continuous Snowfall screen?
Replies: 6
Views: 670

[SOLVED] Continuous Snowfall screen?

I'm using this snowfall effect from the cookbook: https://renpy.org/wiki/renpy/doc/cookbook/More_realistic_snow_effect I've made a layer specifically for the snow, and am adding a screen with my snow vboxes using add + onlayer. I'm also using a navigation system that uses a screen that changes its d...
by thexerox123
Wed Apr 26, 2023 4:07 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Imagebutton Transform Issue
Replies: 2
Views: 286

Re: Imagebutton Transform Issue

Change idle image to this: idle Transform("images/items/Doll.png", matrixcolor=IdentityMatrix(), rotate=45) When transform is replaced, it inherits all transform properties not explicitely set for new image. Since there is not matrixcolor property for idle image, it keeps whatever was the...
by thexerox123
Wed Apr 26, 2023 12:27 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Imagebutton Transform Issue
Replies: 2
Views: 286

[SOLVED] Imagebutton Transform Issue

So, I have some imagebuttons set up to show items that can be picked up and taken into the inventory, with a green highlight on hover. Example: if Dolltake == False: vbox: imagebutton: idle "images/items/Doll.png" hover Transform("images/items/Doll.png", matrixcolor=TintMatrix(&q...