Ren'Py 6.15 Released

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.
Message
Author
User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.15 Released

#61 Post by nyaatrap »

It was work, but sometimes there were few mill sec lag time. It might have unnoticeable with good CPU.

User avatar
saguaro
Miko-Class Veteran
Posts: 560
Joined: Sun Feb 12, 2012 9:17 am
Completed: Locked-In, Sunrise, The Censor
Organization: Lucky Special Games
itch: saguarofoo
Location: USA
Contact:

Re: Ren'Py 6.15 Released

#62 Post by saguaro »

When I switched to 6.15.3 there was noticeable lag in scenes that use ATL cropping (basically all of them). It's usually caused by clicking an imagebutton, but not always, sometimes it lags without user interaction.

I tried using renpy.predict before I show the image, but this does not resolve the issue. I'm not having any lag in 6.15.0 so I will switch back for now, but I'm wondering if there is anything else I can try besides renpy.predict.

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.15 Released

#63 Post by nyaatrap »

Ah yes. I confirmed several lags while moving sprites. I think prediction or memory release is executing in the middle of transform.

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.15 Released

#64 Post by nyaatrap »

Code: Select all

show sprite at animations with wipeleft
It looks when I use sprite change and at transform and with transtion same time, with transition sometimes stops in few mil second.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.15 Released

#65 Post by PyTom »

Please send me bug replications if you think there's a problem. I can't recommend switching back, as there are a number of bugs in older versions.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.15 Released

#66 Post by nyaatrap »

Playing my game is the best way to see when problem occur. But it's a commercial game and I've put many complicated code on it. Extracting issues from it is a bit tough thing. I think I should make a new sample game from scratch but I need a few days to do it.
I hope if there is someone who have a simple game with this issue.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.15 Released

#67 Post by PyTom »

Could people experiencing the problem please check out:

https://github.com/renpy/renpy/commit/a ... 26326169cd

and see if it fixes it for you?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.15 Released

#68 Post by nyaatrap »

Unfortunately, It seems it doesn't fix it.

It looks this lag occurs even in the middle of single transition, for example:

Code: Select all

scene black with irisout
In the middle of executing the above line in my game, the irisout transition stops 1~2 times each in a few mil secs, and memory usage goes up high (like +50MB). (Of cause, I put many transforms after this code.)

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.15 Released

#69 Post by nyaatrap »

It's sad many people don't update nor try to use available new functions. ;_;
I'm exhorted to make my first commercial game, but I need to fix this issue. I hope someone's help but... ah.. I'm, sleeepy sorry. I need to work tomorrow... byebye.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.15 Released

#70 Post by PyTom »

Which issue is this? Please let mek now when you wake up.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Kinsman
Regular
Posts: 130
Joined: Sun Jul 26, 2009 7:07 pm
Location: Fredericton, NB, Canada
Contact:

Re: Ren'Py 6.15 Released

#71 Post by Kinsman »

nyaatrap wrote:Unfortunately, It seems it doesn't fix it.

It looks this lag occurs even in the middle of single transition, for example:

Code: Select all

scene black with irisout
In the middle of executing the above line in my game, the irisout transition stops 1~2 times each in a few mil secs, and memory usage goes up high (like +50MB). (Of cause, I put many transforms after this code.)
It might be the transforms after the code that are causing the hiccups. Converting ATL code into its runnable form is apparently an expensive operation in Ren'Py - I discovered that while working on my Flash exporter.
Flash To Ren'Py Exporter
See the Cookbook thread

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.15 Released

#72 Post by nyaatrap »

Finally done
animation_test.zip
(5.78 MiB) Downloaded 32 times

Code: Select all

label start:
    show screen _image_load_log
    scene expression "park.png"
    $renpy.free_memory() #to force prediction occur at the next line
    show black with wipeleft # watch this transition is smooth or not
    ""
    hide black with wipeleft
    show alice smile at left:
        xcenter .1 ycenter .5
    ""
    $renpy.free_memory()  #to force prediction occur at the next line
    show alice blush with move:# watch this transition is smooth or not
        xcenter .9
    show alice sad:
       xcenter .1
    with move
    show alice cry:
        xcenter .9
    with move
    "retrun"
    return
Apparently, a problem is with transition. Image loading is executed in the middle of transition and it's messing up smooth transition.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.15 Released

#73 Post by PyTom »

6.15.4.320:

* The 64-bit Linux version of Ren'Py is linked against the correct
libraries. Versions 6.14.x and 6.15.0-3 were linked against
incorrect Python libraries.

* In the common case, the python interpreter is no longer locked while
images are preloading. This helps prevent image preloading from causing
framerate problems.

* The new build.exclude_empty_directories variable determines if empty
directories are included in archive files. Previously, this was
undefined, and varied from platform to platform.


The first one, expecially, is a huge bug fix. So please update to the latest version - you can do so easily by clicking "update" in the launcher.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.15 Released

#74 Post by nyaatrap »

Thanks for the update.
It's a minor matter though, could empty tl folder are excluded? No matter how I set build.exclude_empty_directories, Empty tl folder always exist

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.15 Released

#75 Post by PyTom »

https://github.com/renpy/renpy/commit/d ... 445bcbecdf

is a fix to do this, although I'm not in any rush to release it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Bing [Bot]