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.
-
inajke
- Newbie
- Posts: 24
- Joined: Wed Mar 28, 2018 12:07 pm
-
Contact:
#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
-
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:
#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.

-
inajke
- Newbie
- Posts: 24
- Joined: Wed Mar 28, 2018 12:07 pm
-
Contact:
#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

-
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:
#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?
-
inajke
- Newbie
- Posts: 24
- Joined: Wed Mar 28, 2018 12:07 pm
-
Contact:
#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: 24
- Joined: Wed Mar 28, 2018 12:07 pm
-
Contact:
#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.
-
Palas
- Newbie
- Posts: 15
- Joined: Thu Feb 14, 2013 3:19 pm
- Soundcloud: palasvuash
- itch: pequigames
- Location: Brazil
-
Contact:
#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.
-
inajke
- Newbie
- Posts: 24
- Joined: Wed Mar 28, 2018 12:07 pm
-
Contact:
#8
Post
by inajke » Tue Dec 10, 2019 12:41 pm
@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.
Users browsing this forum: Google [Bot], Ocelot