Search found 5 matches

by Loneclaw
Fri Feb 16, 2024 7:07 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Class Instance Variables Revert to Class Defaults on Load
Replies: 4
Views: 279

Re: Class Instance Variables Revert to Class Defaults on Load

Whoops, my bad!
Everything seems to be working as it should now, so thank you so much for the help! <3
by Loneclaw
Fri Feb 16, 2024 6:27 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Class Instance Variables Revert to Class Defaults on Load
Replies: 4
Views: 279

Re: Class Instance Variables Revert to Class Defaults on Load

Thank you so much for your response and your suggestions! However, my attempts to implement your suggestions just result in an error on start-up. This is what the code now looks like: define e = Character("[elaine.display_name]", who_prefix="{color=[elaine.color]}", who_suffix=&q...
by Loneclaw
Thu Feb 15, 2024 1:49 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Class Instance Variables Revert to Class Defaults on Load
Replies: 4
Views: 279

[Solved] Class Instance Variables Revert to Class Defaults on Load

Hello, everyone! I have created a class that is intended to handle the various characters in the game, with each character being created as an instance of that class. Here's an extremely slimmed down version of the game containing a simplified version of the code in question: define elaine = Actor(&...
by Loneclaw
Thu Jun 29, 2023 7:37 am
Forum: Ren'Py Questions and Announcements
Topic: Problem With Showing and Hiding a Screen With a Custom Transition
Replies: 2
Views: 269

Problem With Showing and Hiding a Screen With a Custom Transition

So I'm trying to make a screen that pops up when the player has earned an achievement, but I'm unable to get the actual pop-up animation to work. Here's my code: # Achievement Animation transform gotachievement: on show: zoom 0.0 easein 1.0 zoom 1.0 on hide: easeout 1.0 zoom 0.0 # Achievement Pop-up...