Ren'Py 6.7.1 Released
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.
- 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:
Ren'Py 6.7.1 Released
I'm pleased to announce the release of Ren'Py 6.7.1 "Apple Juice". The primary focus of this release is on improving Mac OS X support, which was done by producing a universal binary and distributing Ren'Py with the cross-platform jEdit text editor. The jEdit text editor also supports a number of nice new features, including an optional spell-checking plugin. Other features include:
* A background predictive image loading thread that allows images to be loaded while animations continue playing.
* The ability to change, in-game, the caption of the Ren'Py window when running in windowed mode.
* A canvas that allows user-defined displayables to draw lines, polygons, ellipses, and arcs.
I'd like to thank everyone who generously supported Ren'Py development over the past few months. Their donations allowed me to purchase a new Mac, which made improved Mac support possible.
Downloads of 6.7.1 and a full release announcement can be found at:
http://www.renpy.org/wiki/renpy/releases/6.7.1
Special call for testers:
The predictive image loading thread is one of the biggest changes I've made to Ren'Py in the past year or so, even if it's the sort of thing most players won't notice. (Nobody notices when images load faster, only when the system pauses for them.) It allows predictive image loading to occur even while Ren'Py is using the CPU for other things, like movements or transitions. Several recent games should benefit from this improvement.
However, it's also a bit risky. During development, there were several deadlocks caused by the image loading thread competing with the main thread. I believe I've properly fixed all these deadlocks, and I'm able to run several games correctly. However, having people test with their products would really help me get confident about this release.
Thanks in advance.
* A background predictive image loading thread that allows images to be loaded while animations continue playing.
* The ability to change, in-game, the caption of the Ren'Py window when running in windowed mode.
* A canvas that allows user-defined displayables to draw lines, polygons, ellipses, and arcs.
I'd like to thank everyone who generously supported Ren'Py development over the past few months. Their donations allowed me to purchase a new Mac, which made improved Mac support possible.
Downloads of 6.7.1 and a full release announcement can be found at:
http://www.renpy.org/wiki/renpy/releases/6.7.1
Special call for testers:
The predictive image loading thread is one of the biggest changes I've made to Ren'Py in the past year or so, even if it's the sort of thing most players won't notice. (Nobody notices when images load faster, only when the system pauses for them.) It allows predictive image loading to occur even while Ren'Py is using the CPU for other things, like movements or transitions. Several recent games should benefit from this improvement.
However, it's also a bit risky. During development, there were several deadlocks caused by the image loading thread competing with the main thread. I believe I've properly fixed all these deadlocks, and I'm able to run several games correctly. However, having people test with their products would really help me get confident about this release.
Thanks in advance.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: Ren'Py 6.7.1 Pre-Released
Do you have some form of script (or a game, etc.) that will attack all the issues in one go? It seems there are quite some complicated things here. I don't exactly have a testable WIP in Ren'Py right now.
- 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.7.1 Pre-Released
No. All the scripts I tried work fine. Basically, I just want people to run their games and see if it locks up. (It shouldn't.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Regular
- Posts: 182
- Joined: Mon Aug 11, 2008 4:38 am
- Projects: Arts... i hate arts -_-
- Contact:
Re: Ren'Py 6.7.1 Pre-Released
i was halfway through doin that myself. ^_^;PyTom wrote:* A canvas that allows user-defined displayables to draw lines, polygons, ellipses, and arcs.
Did you use pygame.draw?
“You can lead a fool to wisdom, but you cannot make him think.”
- 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.7.1 Pre-Released
I wrap around it. You have to be a bit careful so that it works with the scaled mode, which doesn't use normal pygame surfaces.
A high-level canvas based on this would be a nice addition.
A high-level canvas based on this would be a nice addition.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- jack_norton
- Lemma-Class Veteran
- Posts: 4084
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: Ren'Py 6.7.1 Pre-Released
Congrats on the new update. A stupid minor thing that I find annoying is the game window that doesn't appear centered on screen (on Pc, on mac don't remember). There isn't a way to fix that? When I release a game I solve the bug by having it start in fullscreen, but I don't understand why the window isn't autocentered on screen?
-
- Regular
- Posts: 182
- Joined: Mon Aug 11, 2008 4:38 am
- Projects: Arts... i hate arts -_-
- Contact:
Re: Ren'Py 6.7.1 Pre-Released
i started with Solid, and went from there. When you say be careful, do you mean do what Solid does - delegate to an image and then render there, then render again in the actual displayable?PyTom wrote:I wrap around it. You have to be a bit careful so that it works with the scaled mode, which doesn't use normal pygame surfaces.
A high-level canvas based on this would be a nice addition.
i dunno how high-level what i was doing was. ^_^; i queued up the draw operations, and then drawed them all in one shot, so the surface doesn't have to be locked and unlocked over and over, and it doesn't stay locked for too long. i used pygame.draw for some things, and i was adding some stuff. The documentation said the anti-aliased lines don't work, so i figured i was gonna have to do them too (but i hadn't got there yet).
It looked kinda like this (taken right out what i was usin to test, except the numbers replaced by descriptive words):
Code: Select all
c = Canvas(width, height, xalign=0.5, yalign=0.5)
# Single pixel
c.pixel((x, y), colour) # By default, anti-alised
c.pixel((x, y), colour, antialias=False)
# 1-pixel wide line
c.line((x1, y1), (x2, y2), colour)
c.line((x1, y1), (x2, y2), colour, antialias=False) # was about to start on this
# Filled rectangle
c.filled_rect((x, y), (w, h), colour)
# Planned
lines # takes a bunch of points and draws line segments between them, maybe in terms of line - default is closed=False
rect # probly in terms of lines
circle
blit (for images)
Code: Select all
c = Canvas(w, h)
draw_smiley(c, size, colour, linethickness?)
“You can lead a fool to wisdom, but you cannot make him think.”
Re: Ren'Py 6.7.1 Pre-Released
This might be related: Once upon a time, I found that on Windows, the game window always appears where the presplash window appeared, with the upper left corners matched. The presplash was always centered; So having a small presplash and big game window would shift the game window towards the lower right. In short, I was forced to use a presplash as big as the game window, which I found somewhat inelegant but not something to worry too much over either. This may have changed with the new presplash handling code in 6.7.0c, maybe it's time to check again.jack_norton wrote:Congrats on the new update. A stupid minor thing that I find annoying is the game window that doesn't appear centered on screen (on Pc, on mac don't remember). There isn't a way to fix that? When I release a game I solve the bug by having it start in fullscreen, but I don't understand why the window isn't autocentered on screen?
The rest is left as an exercise for the reader.
- 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.7.1 Pre-Released
This was a change in 6.7.0c. The presplash now runs in its own process, which shows a centered window. The main window doesn't force centering, so it shows up wherever the user's window manager wants to place it. It's not clear to me I should be overriding the user's window manger... however, if you want to force the main window to be centered, the following code will accomplish it:
Code: Select all
init python hide:
import os
os.environ['SDL_VIDEO_CENTERED'] = '1'
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- jack_norton
- Lemma-Class Veteran
- Posts: 4084
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: Ren'Py 6.7.1 Pre-Released
Is it okay to add this to the wiki? I've been looking for auto-centering ever since it disappeared from an old version of Ren'Py ^^;... (and it seems I wasn't alone at the time)
- 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.7.1 Pre-Released
Sure, the cookbook seems like the right place.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: Ren'Py 6.7.1 Pre-Released
http://renpy.org/wiki/renpy/doc/cookboo ... red_Window
Added there. I hope this is the proper way to do it ^^;
Added there. I hope this is the proper way to do it ^^;
-
- Regular
- Posts: 129
- Joined: Thu Apr 19, 2007 12:07 am
- Location: Michigan, United States, Terra
- Contact:
Re: Ren'Py 6.7.1 Pre-Released
Waiting for full release because I'm never around to rightly test it.
That, and I can't do it on-the-go because I STILL can't get my laptop yet. D: Looking forward to working with this version, though, considering about 70% of all the work I do is on Macs.
That, and I can't do it on-the-go because I STILL can't get my laptop yet. D: Looking forward to working with this version, though, considering about 70% of all the work I do is on Macs.
Feminine pronouns, plz.
healberry.net
healberry.net
Who is online
Users browsing this forum: Bing [Bot], DewyNebula, Majestic-12 [Bot], Sugar_and_rice