Pause after showing animations

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
inajke
Newbie
Posts: 10
Joined: Wed Mar 28, 2018 12:07 pm
Contact:

Pause after showing animations

#1 Post by inajke » Tue Nov 19, 2019 1:55 pm

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

User avatar
isobellesophia
Miko-Class Veteran
Posts: 697
Joined: Mon Jan 07, 2019 2:55 am
Projects: Maddox's Everyday Talk! (13+ Unreal version), Maddox Everyday Talk! (3+ Real-Friendly version)(Upcoming 2020)
Organization: Friendly Teachers series
itch: .......
Location: Philippines, Mindanao
Contact:

Re: Pause after showing animations

#2 Post by isobellesophia » Wed Nov 20, 2019 6:40 am

You can at least copy this kind of style..

Code: Select all

image eileen animated: 
"eileen_happy.png" 
pause 1.0 
"eileen_vhappy.png" 
pause 1.0 
repeat
As it seen here in the documentation

https://www.renpy.org/doc/html/atl.html ... -atl-block
I am a friendly user, please respect and have a good day..


Working on a talking simulation game for everyone, except children.

Maddox Everyday Talk!
Is my very very main project, not contain 13 below.

Main project here viewtopic.php?f=43&t=56564
Image

inajke
Newbie
Posts: 10
Joined: Wed Mar 28, 2018 12:07 pm
Contact:

Re: Pause after showing animations

#3 Post by inajke » Wed Nov 27, 2019 11:05 am

Because of my animation is 120 frames it should be really soft and without pausing for 1 second in between :(

User avatar
Per K Grok
Miko-Class Veteran
Posts: 556
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
Projects: Defenders of Adacan Part 2
Deviantart: pekj
itch: per-k-grok
Location: Sverige
Contact:

Re: Pause after showing animations

#4 Post by Per K Grok » Wed Nov 27, 2019 3:52 pm

inajke wrote:
Wed Nov 27, 2019 11:05 am
Because of my animation is 120 frames it should be really soft and without pausing for 1 second in between :(
Maybe you should consider making your images into a video and play that?
Image Visual Story Telling, DeviantArt Group for animations, comics, games and illustrations https://www.deviantart.com/acgi

inajke
Newbie
Posts: 10
Joined: Wed Mar 28, 2018 12:07 pm
Contact:

Re: Pause after showing animations

#5 Post by inajke » Fri Nov 29, 2019 10:30 am

that's really nice idea, I'll try that, and see how it goes. Thank you very much.

inajke
Newbie
Posts: 10
Joined: Wed Mar 28, 2018 12:07 pm
Contact:

Re: Pause after showing animations

#6 Post by inajke » Thu Dec 05, 2019 11:42 am

The problem is not solved yet. My animations are in PNG and without any background.

User avatar
Palas
Newbie
Posts: 12
Joined: Thu Feb 14, 2013 3:19 pm
Soundcloud: palasvuash
itch: pequigames
Location: Brazil
Contact:

Re: Pause after showing animations

#7 Post by Palas » Thu Dec 05, 2019 12:25 pm

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.

Post Reply

Who is online

Users browsing this forum: deltadidirac