Search found 8 matches

by VirtualPassion
Wed Apr 03, 2024 7:38 am
Forum: Ren'Py Questions and Announcements
Topic: Download error: network error
Replies: 1
Views: 161

Download error: network error

When I was testing the online version of my game for the countless times, this error occurred. When replaying this part of the game again, I did not see this error. I continued testing the game further. How can I get rid of such elusive errors? While running game code: File "renpy/common/000sta...
by VirtualPassion
Sat Mar 02, 2024 9:09 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]How to change a variable in a animation using a imagebutton?
Replies: 14
Views: 671

Re: How to change a variable in a animation using a imagebutton?

It's all working now.
Thank you so much for your help. Success to you in all your projects!
by VirtualPassion
Sat Mar 02, 2024 4:21 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]How to change a variable in a animation using a imagebutton?
Replies: 14
Views: 671

Re: How to change a variable in a animation using a imagebutton?

I did this code in the main game. label twh123mon043: stop music fadeout 1.0 $ frate = 10 $ a = Anim(0, "123mon043-", 2, "jpg", 20) scene black show screen animated pause you "Thank you. Call me whenever you need me again!" hide screen animated And after that, I can't s...
by VirtualPassion
Sat Mar 02, 2024 2:28 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]How to change a variable in a animation using a imagebutton?
Replies: 14
Views: 671

Re: How to change a variable in a animation using a imagebutton?

Thank you. I was able to paste the code and customize my animations.
I have animations that need reverse motion as well. For example:
"my-frames01.png", "my-frames02.png", "my-frames01.png"
How does this change the animation code?
by VirtualPassion
Fri Mar 01, 2024 3:38 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]How to change a variable in a animation using a imagebutton?
Replies: 14
Views: 671

Re: How to change a variable in a animation using a imagebutton?

It's so complicated. So much code... Thank you all, I'll think about it.
by VirtualPassion
Thu Feb 29, 2024 1:53 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]How to change a variable in a animation using a imagebutton?
Replies: 14
Views: 671

Re: How to change a variable in a animation using a imagebutton?

Still, maybe someone knows how to use a variable in my method?
by VirtualPassion
Wed Feb 28, 2024 6:36 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]How to change a variable in a animation using a imagebutton?
Replies: 14
Views: 671

Re: How to change a variable in a animation using a imagebutton?

Thanks for your help. I'll read up on the new method.
Yes, it's old code, I've been using it for years. I have over 450 animations in my game using this method.
by VirtualPassion
Wed Feb 28, 2024 3:49 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]How to change a variable in a animation using a imagebutton?
Replies: 14
Views: 671

[SOLVED]How to change a variable in a animation using a imagebutton?

I have animation. I want to change the frame rate of the animation using buttons on the screen. File 0animations.rpy init python: def Ani(img_name, frames, sspeed=0.1, loop=True, reverse=False, effect=None, start=0, ext="jpg", **properties): if img_name: args = [] # loop through all the fr...