Ren'Py 6.7.1 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
PyTom
Ren'Py Creator
Posts: 15478
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

#1 Post by PyTom » Mon Sep 22, 2008 12:44 am

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.
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
DaFool
Lemma-Class Veteran
Posts: 4171
Joined: Tue Aug 01, 2006 12:39 pm
Contact:

Re: Ren'Py 6.7.1 Pre-Released

#2 Post by DaFool » Mon Sep 22, 2008 1:11 am

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.

User avatar
PyTom
Ren'Py Creator
Posts: 15478
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

#3 Post by PyTom » Mon Sep 22, 2008 1:16 am

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
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Aenakume
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

#4 Post by Aenakume » Mon Sep 22, 2008 1:37 am

PyTom wrote:* A canvas that allows user-defined displayables to draw lines, polygons, ellipses, and arcs.
i was halfway through doin that myself. ^_^;

Did you use pygame.draw?
“You can lead a fool to wisdom, but you cannot make him think.”

User avatar
PyTom
Ren'Py Creator
Posts: 15478
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

#5 Post by PyTom » Mon Sep 22, 2008 1:57 am

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.
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
jack_norton
Lemma-Class Veteran
Posts: 4039
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

#6 Post by jack_norton » Mon Sep 22, 2008 2:04 am

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? :mrgreen:
follow me on Image Image Image Image
computer games

User avatar
Aenakume
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

#7 Post by Aenakume » Mon Sep 22, 2008 2:29 am

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 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?

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)
Also, i was thinking of makin a library of extra functions like draw_star or draw_heart - just to make it more fun. They would work like:

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.”

User avatar
delta
Epitome of Generic
Posts: 525
Joined: Sat Dec 22, 2007 12:59 pm
Projects: yes
Contact:

Re: Ren'Py 6.7.1 Pre-Released

#8 Post by delta » Mon Sep 22, 2008 8:13 am

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? :mrgreen:
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.
The rest is left as an exercise for the reader.

User avatar
PyTom
Ren'Py Creator
Posts: 15478
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

#9 Post by PyTom » Mon Sep 22, 2008 9:42 am

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
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4039
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

#10 Post by jack_norton » Mon Sep 22, 2008 10:23 am

Cool :) tried and worked! thanks.
follow me on Image Image Image Image
computer games

User avatar
monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

Re: Ren'Py 6.7.1 Pre-Released

#11 Post by monele » Mon Sep 22, 2008 10:59 am

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)

User avatar
PyTom
Ren'Py Creator
Posts: 15478
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

#12 Post by PyTom » Mon Sep 22, 2008 11:51 am

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
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

Re: Ren'Py 6.7.1 Pre-Released

#13 Post by monele » Mon Sep 22, 2008 1:07 pm

http://renpy.org/wiki/renpy/doc/cookboo ... red_Window

Added there. I hope this is the proper way to do it ^^;

User avatar
Twar3Draconis
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

#14 Post by Twar3Draconis » Mon Sep 22, 2008 5:25 pm

Testing it now. I like the added text editor.
Image

User avatar
Ashen-tan
Regular
Posts: 51
Joined: Sun Aug 10, 2008 10:41 pm
Location: Maryland, USA
Contact:

Re: Ren'Py 6.7.1 Pre-Released

#15 Post by Ashen-tan » Mon Sep 22, 2008 5:40 pm

Waiting for full release because I'm never around to rightly test it. :x

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

Post Reply

Who is online

Users browsing this forum: DarkMinistry