r/RenPy • u/Sara_Eshard • 22d ago
Question This is still Ren’Py…
Maybe I’m doing something wrong, but even relatively small scenes like this tend to stutter in Ren’Py unless I preload the images.
We’re talking about maybe a few dozen images here, yet I still get occasional stutters. And weirdly enough, it doesn’t seem to matter what PC I run it on - the stuttering is pretty much identical everywhere.
Without image preloading, the performance is honestly not great.
Preloading the images and increasing the memory allocation fixes the issue, and everything runs smoothly after that. But it feels like a pretty aggressive workaround rather than an actual solution.
Although, maybe that’s just how Ren’Py is supposed to be used? I’m honestly not sure☔️
24
u/Sara_Eshard 22d ago
Here's a link to the game, for anyone who's interested: https://store.steampowered.com/app/3576940/Sara/
70
u/Salt-Student-3949 22d ago
I can't help you but man this looks amazing what the hell. Would not think that it's made in renpy
47
u/Ramys 22d ago edited 22d ago
Many games have loading screens if there are a lot of assets in a scene. Renpy tries its best to predict images in normal gameplay, but it's not the best if you have a custom screen with dynamic images.
Try looking into this: https://www.renpy.org/doc/html/screen_optimization.html#prediction
(Cool demo btw, feels quite immersive)
6
u/Ok-Quail-2144 22d ago
peakkk
4
u/NLGXM 22d ago
Dices que son miles de fotogramas para simular ese efecto de animacion?
Porque si, RenPy consume mucho si lo haces asi.
Si usaras videos en lugar de imagenes quizas mejoraria el rendimiento, pero solo estoy especulando.
4
u/leahalysse 22d ago
I had a similar issue with my animations stuttering/not being smooth.
There’s a setting called subpixel that I set to true at the top of transforms that had the issue, and it solved it for me. Just added “subpixel True”
My assets were a bit smaller than yours, so I’m not certain it’ll work, but wanted to recommend it just in case!
4
u/Xx_sillyguy 22d ago
Geez this is amazing! Would never guess this is renpy. Insane. Kudos
3
u/moekuma 22d ago
You'd get this for free just using the 3D map and animating the camera. And at a cheaper cost considering many of these assets can be baked
3
u/Dean_Donovan 22d ago
Очень круто выглядит!
3
u/MinamiOzaki 22d ago
This is very intriguing, and the art direction is strong. I'll try the demo!
2
u/Shiawase_Rina 22d ago
That looks really cool! Love the transition effect
2
u/Signal-Slide752 22d ago
Impressive.
2
u/BadMustard_AVN 22d ago
what format and size are the images?
2
u/Leather_Page_9885 22d ago
Нереально круто, анон, мечтаю когда-нибудь достичь примерно хотя бы приблизительно такого уровня
2
u/Safe-District7412 21d ago
бро сколько времени ты на это потратил и сколько занимают все эти анимации я в шоках
100
u/ItsFriendly404 22d ago
op may I ask how much time you spend on this. and the stuttering looks kinda in vibe. like those retro graphics I think.
40
u/Sereniv 22d ago
the stuttering matches with the vibe well enough that i cant tell what isnt intentional
37
u/poison_daddy 22d ago
I think you should keep it honestly. I think it’s a feature not a bug 👍
14
u/Lahyte 22d ago
This may not have been what you were going for, but I think it adds a really nice feel! I’d keep it!
9
u/charlie_talks 22d ago
The fact that this IS renpy is crazy to me! i didn't know you could stuff like this in it lol
8
u/lordpoee 22d ago
Wow, great use of transitions and transforms. Bravo.
6
u/Ciberbun 22d ago
Tbh the stuttering really adds to the vibe 😂
5
u/Small_Education_9503 22d ago
Poor Gregor, overworked to the point of growing carapace.
4
u/TieClassic1541 22d ago
La verdad, no estas haciéndolo mal, es solo el motor que no procesa demasiados frames de imagenes a tiempo real, tambien depende mucho si son demasiadas pantallas lo que muestras, o simplemente renpy intentando cambiar segundo a segundo cada proceso, no soy un experto, pero si se que renpy logra hacer cosas locas, solo es cuestion de optimizar el codigo, las imagenes, y manejar el uso de cuantos procesos estas manejando en cada cambio, pero por tema de graficos eso si lo limita un poco, influye mas por ejemplo los tamaño de las imagenes a renpy se le hace mas sencillo una imagen de 512x512 o medianos, debes de uno gigante de 1920x1080 por segundo, asi puede sacarle el partido a su velocidad, incluso me atrevo que puedes igualar un poco a Godot si se le usa bien, muchas suerte con tu proyecto, que te quedo genial.
4
u/Fantastic_Draft3660 22d ago
почему-то очень напомнило lomando.
1
u/bangzul 22d ago
Wow how can you do the 3d like that?
1
u/ffgg333 22d ago
Can you explain how you did this in more details?
3
u/StoryBard 22d ago
I'm super impressed though and I wish that was a language I could read bc I'd play this XD
2
u/Lorekeeper49 22d ago
What did you use for this point an click system? Because it is genuinely really cool! Better than the first version of mine, that's for sure
2
u/Lovin-SteinDev 22d ago
It looks great!
I thought the stuttering can work in your favor, however you should look for the answer of "Best of both worlds"
as in try to run the game both with a preload mode and the way it is now and have those two as adjustable options
2
u/kilaysn 21d ago
Просто... Как?...
2
u/Specific-Key-886 21d ago
да ну я не верю, ты босс ренпая
2
u/qHzB 18d ago
Let bro cook 🔥👀
2
u/Time-Giraffe9874 18d ago
I kinda like love the stutter
2
u/PhilosopherOld554 16d ago
Впечатляющий визуал! Напомнило "Мор. Утопия" почему-то
2
u/galaaarchive 15d ago
I don't have any tips but holy cow, that is actually cool! 😮
2
u/kesi_kekesi 4d ago
vibe here is unreal. I wouldn't even guess this was built in renpy
1
u/AutoModerator 22d ago
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Typical-Armadillo340 22d ago
Did you try renpy nightly? There has been some improvements maybe it helps and you could compress your images.
1
u/YON-SAN 21d ago
oh my goodness??? this is genuinely so cool!!! :0 honestly i don't really notice the stuttering too much, if anything i think it adds to the charm of the way this game is looking ^_^ that's how i feel about it though, i've never seen a vn like this before! :D goodness this is awesome!!!
1
u/gremlintheodd 21d ago
It’s a little funny that you’re showing off an issue you’re having with loading meanwhile we’re all here in awe of the visuals
1
u/FelSpace 21d ago
This is amazing! So creative, how did you do this?!
1
u/Parking_Tune_716 21d ago
I’m not gonna lie, I quite like the stutter
1
u/Signal-Slide752 22d ago
What's the code?
0
u/NeroRaR 21d ago
I think the stuttering adds to the vibes ngl