Hey, everyone! Good day to you.
I'm a super newb when it comes to programming, but I've stumbled at some issue that I'm not sure is my fault.
So. I have a pretty simple interface in my game:
- There are a bunch of image-buttons at the top, and some of them can open additional screens
- This screen is a window with a 1-3 .webm video-file playing on repeat. Something like an idle animation of a character
- Player can click several of those buttons and basically flood his screen with these video-loops for different stats
- There are more buttons in some rooms, to open more of such screens with more videos. If the player wishes to open all of them, they get on top of each other
The problem I ran into is:
once there are 3-4-5 of these videos opened simultaneously the game just crashes with no log at all.
Every video is a 1920*1080 .webm of around 5-10 Mb size. Resized using RenPy Zoom command, you can fit lots of them in one screen.
So, my question is:
Is there something I can do to my code? Is there a limit at how much RenPy can handle?
Here's an example:
Three video-files playing. Actually it's 4 (the background is a movie too). Plus some of the buttons are animated using the (image:...repeat method).
If I open another screen with another Video-loop, it might be fine. But the 5th will crash, and not even update the log-file (the one RenPy creates when you start a game).
And I had players report they can't even open this one, it'll crash with only3 4 videos.
(also: can't add a RenPy tag to the topic for some reason...Not my day)
I'm a super newb when it comes to programming, but I've stumbled at some issue that I'm not sure is my fault.
So. I have a pretty simple interface in my game:
- There are a bunch of image-buttons at the top, and some of them can open additional screens
- This screen is a window with a 1-3 .webm video-file playing on repeat. Something like an idle animation of a character
- Player can click several of those buttons and basically flood his screen with these video-loops for different stats
- There are more buttons in some rooms, to open more of such screens with more videos. If the player wishes to open all of them, they get on top of each other
The problem I ran into is:
once there are 3-4-5 of these videos opened simultaneously the game just crashes with no log at all.
Every video is a 1920*1080 .webm of around 5-10 Mb size. Resized using RenPy Zoom command, you can fit lots of them in one screen.
So, my question is:
Is there something I can do to my code? Is there a limit at how much RenPy can handle?
Here's an example:
You don't have permission to view the spoiler content.
Log in or register now.
If I open another screen with another Video-loop, it might be fine. But the 5th will crash, and not even update the log-file (the one RenPy creates when you start a game).
And I had players report they can't even open this one, it'll crash with only
(also: can't add a RenPy tag to the topic for some reason...Not my day)
Last edited: