Ren'Py 6.99.14 Prereleased

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
PyTom
Ren'Py Creator
Posts: 15119
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.99.14 Prereleased

#16 Post by PyTom » Sat Jan 06, 2018 11:10 pm

There's a bit at:

https://www.renpy.org/dev-doc/html/multiple.html

But the generosity of my patreon sponsors let me write an article with a ton of examples. (The article took about 3-4 hours of work to write, code, screenshot, etc.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
PyTom
Ren'Py Creator
Posts: 15119
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.99.14 Prereleased

#17 Post by PyTom » Mon Jan 08, 2018 11:38 pm

6.99.14.3122)

There are two changes here. The first fixes a problem with screens that only manifested if screens were compiled at different times. (So it couldn't manifest in a released game, as everything is recompiled when a release is made.) But the bug would hit developers when switching from one screen to another - parts of one screen would replace parts of another with little reason.

The second is a new pagekeys property that can be given to viewport and vpgrid, to make the pageup and pagedown keys scroll the viewport vertically.

Enjoy. I've had quite a bit of positive feedback, that earlier bugs have been fixed, so I feel this version is close to being released for real. Thanks to everyone who tested and continues to test.

ZUMA lives. :x
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Arowana
Miko-Class Veteran
Posts: 519
Joined: Thu May 31, 2012 11:17 pm
Completed: a2 ~a due~
Projects: AXIOM.01, The Pirate Mermaid
Organization: Variable X, Navigame
Tumblr: navigame-media
itch: navigame
Contact:

Re: Ren'Py 6.99.14 Prereleased

#18 Post by Arowana » Tue Jan 09, 2018 5:35 am

Thanks for your hard work as always, PyTom! I'm really excited about all these possible performance improvements and speedups you're implementing. :D

Unfortunately, my game doesn't seem to working well in the latest version (6.99.14.3120). Most noticeably, it actually seems to be lagging a lot more than when I was using 6.99.13 (the last official release). A lot of the animations and transitions now look slow and choppy, especially when they're first shown. Even the text in the textbox appears choppily (in staggered chunks) instead of smoothly. I noticed that whenever I click to advance the text, the ongoing animations often get a bit laggy before returning to normal. At first I thought it might be an issue with my textbox, but the game is sometimes still laggy even when the textbox isn't being shown.

I'll try my best to isolate the issue into a test game, but I'm having trouble figuring out what's causing the problem so far. :oops: I do use a lot of animations (ATL for looping background animations, the 3D Camera plugin, etc.) and ConditionSwitch, and it sounds like there might have been changes to how those work? In particular, I was looking at this comment:
PyTom wrote:
Fri Dec 22, 2017 12:14 am
As an important note, the first time you open a game in 6.99.14, it will open much slower as Ren'Py compiles all the Python expressions it encounters. The game will open faster the second and later times it is run, and will run faster once it is open.
It sounds like that might only affect how long it takes the game to start though? So I'm not sure if it explains why my game is lagging throughout.

Let me know if you have any ideas about what might be causing this issue or how I could try to troubleshoot it. And of course, thanks again for your help! :D
Complete: a2 ~a due~ (music, language, love)
In progress: The Pirate Mermaid (fairytale otome)
On hold: AXIOM.01 (girl detective game)

Image

User avatar
PyTom
Ren'Py Creator
Posts: 15119
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.99.14 Prereleased

#19 Post by PyTom » Tue Jan 09, 2018 11:01 am

First off, can you try config.manage_gc = False?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Arowana
Miko-Class Veteran
Posts: 519
Joined: Thu May 31, 2012 11:17 pm
Completed: a2 ~a due~
Projects: AXIOM.01, The Pirate Mermaid
Organization: Variable X, Navigame
Tumblr: navigame-media
itch: navigame
Contact:

Re: Ren'Py 6.99.14 Prereleased

#20 Post by Arowana » Wed Jan 10, 2018 5:19 am

PyTom wrote:
Tue Jan 09, 2018 11:01 am
First off, can you try config.manage_gc = False?
Thanks so much! :D I just tried this, and it reduced the lag a lot. Is there any disadvantage to disabling this option that I should know about?

I'll keep on testing later. So far, things seem to be working well again, though I'm noticing some textbox animation issues that I'll report on github.
Complete: a2 ~a due~ (music, language, love)
In progress: The Pirate Mermaid (fairytale otome)
On hold: AXIOM.01 (girl detective game)

Image

User avatar
vollschauer
Veteran
Posts: 216
Joined: Sun Oct 11, 2015 9:38 am
Github: vollschauer
Contact:

Re: Ren'Py 6.99.14 Prereleased

#21 Post by vollschauer » Wed Jan 10, 2018 6:12 am

I can confirm that ATL, transitions between screens and even just skipping the text is total laggy/choppy for me with the 6.99.14 build. Yes it's a bit better with config.manage_gc = False, but still worse than the 6.99.13 build. I have to say that I currently use 99% renpy python commands and functions for my project.

User avatar
Imperf3kt
Eileen-Class Veteran
Posts: 1552
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Ren'Py 6.99.14 Prereleased

#22 Post by Imperf3kt » Wed Jan 10, 2018 6:48 am

I'm unable to migrate from Ren'Py 6.99.11.**** to 6.99.14.3***

I've constantly got some kind of error whenever trying to install using the update feature.

I'll take notes on the exact error (though its a different error all three times I tried) when I try again tomorrow
Image

Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

User avatar
PyTom
Ren'Py Creator
Posts: 15119
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.99.14 Prereleased

#23 Post by PyTom » Wed Jan 10, 2018 12:13 pm

vollschauer wrote:
Wed Jan 10, 2018 6:12 am
I can confirm that ATL, transitions between screens and even just skipping the text is total laggy/choppy for me with the 6.99.14 build. Yes it's a bit better with config.manage_gc = False, but still worse than the 6.99.13 build. I have to say that I currently use 99% renpy python commands and functions for my project.
It's not enough to tell me this, you'll need to show me this. Though if you're really using 99% Python, I'll look, but you may be disabling some of the features that let Ren'Py perform. That's certainly not the case I optimize for.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
PyTom
Ren'Py Creator
Posts: 15119
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.99.14 Prereleased

#24 Post by PyTom » Thu Jan 11, 2018 9:26 pm

6.99.14.3127)

This fixes a regression that could cause multiple say screens to be displayed at once. That was the cause of Arowana's problem.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
PyTom
Ren'Py Creator
Posts: 15119
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.99.14 Prereleased

#25 Post by PyTom » Sat Jan 13, 2018 2:37 pm

6.99.14.3134)

This release fixes the garbage collector. In the last release, Ren'Py would cause a full garbage collection run each time garbage collection was necessary. Now, Ren'Py will use the same algorithm Python uses to select garbage collector generations. This drops the time it takes to garbage collect to far less than a single frame, which should eliminate most frame dropping.

A reference cycle in ATL Transforms has been eliminated. This was one of the main causes of garbage collection in the first place, so the remaining pauses should be farther between.

Ren'Py now predicts screenshots on file slot pages accessible from the buttons on the current screen, which should make switching file slot pages much faster.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Imperf3kt
Eileen-Class Veteran
Posts: 1552
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Ren'Py 6.99.14 Prereleased

#26 Post by Imperf3kt » Sat Jan 13, 2018 6:09 pm

Imperf3kt wrote:
Wed Jan 10, 2018 6:48 am
I'm unable to migrate from Ren'Py 6.99.11.**** to 6.99.14.3***

I've constantly got some kind of error whenever trying to install using the update feature.

I'll take notes on the exact error (though its a different error all three times I tried) when I try again tomorrow
I gave up after several more failed attempts and just installed from the website again.
So far no problems, all appears to work great.
Thanks PyTom!
Image

Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Post Reply

Who is online

Users browsing this forum: Andredron