Hey guys! Sorry for my english firstable.
I have an animation I want to show 120 frames total it's size is 400x659 (so not really big), but ren'py is kinda lagging for 2 seconds when loading the image, is there a way to soften the loading and make it so the player can still read the text when animation is showing? I've tried reducing the size of every image, but it's already about 180kb and It's png so I can't reduce it further .
My code is:
for the image
image animationhim:
"himan/himanka000.png"
0.02
...
"himan/himanka119.png"
repeat
for the animation
sam "text"
show animationlek at center with dissolve
extend "\ntext"
...
hide animationlek with dissolve
Pause after showing animations
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- isobellesophia
- Miko-Class Veteran
- Posts: 979
- Joined: Mon Jan 07, 2019 2:55 am
- Completed: None
- Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
- Organization: Friendly Teachers series
- Deviantart: SophBelle
- itch: Child Creation
- Location: Philippines, Mindanao
- Contact:
Re: Pause after showing animations
You can at least copy this kind of style..
As it seen here in the documentation
https://www.renpy.org/doc/html/atl.html ... -atl-block
Code: Select all
image eileen animated:
"eileen_happy.png"
pause 1.0
"eileen_vhappy.png"
pause 1.0
repeat
https://www.renpy.org/doc/html/atl.html ... -atl-block
Re: Pause after showing animations
Because of my animation is 120 frames it should be really soft and without pausing for 1 second in between
- Per K Grok
- Miko-Class Veteran
- Posts: 882
- Joined: Fri May 18, 2018 1:02 am
- Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
- itch: per-k-grok
- Location: Sverige
- Contact:
Re: Pause after showing animations
that's really nice idea, I'll try that, and see how it goes. Thank you very much.
Re: Pause after showing animations
The problem is not solved yet. My animations are in PNG and without any background.
- Palas
- Newbie
- Posts: 15
- Joined: Thu Feb 14, 2013 3:19 pm
- Soundcloud: palasvuash
- itch: pequigames
- Location: Brazil
- Contact:
Re: Pause after showing animations
I reckon the problem is that you're using "with dissolve", which stops everything the game is doing to show the image. You might be better off getting rid of it.
I have seen threads with a similar problem. This one could help.
I have seen threads with a similar problem. This one could help.
Re: Pause after showing animations
@Palas, hey, thank you very much. It definitely help a lot, there is still a little freeze, but seems ok!
Thank you very much again, sorry for my english.
Thank you very much again, sorry for my english.
Who is online
Users browsing this forum: Google [Bot]