Ren'Py 7.0.0 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: 15260
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 7.0.0 Prereleased

#1 Post by PyTom » Sun Apr 22, 2018 5:24 pm

I'm happy to announce the release of Ren'Py 7, the result of over a decade of development since Ren'Py 6 was released. Compared to that release, Ren'Py 7 adds many features uses have long since come to consider core parts of the engine, such as ATL, Screen Language, OpenGL acceleration, support for the Android and iOS platforms, Translations, Accessibility, and so much more.

Thanks to everyone who created with Ren'Py during the Ren'Py 6 series, when Ren'Py and visual novels went from a tiny niche to something that is popular and culturally relevant. I look forward to seeing where Ren'Py 7 takes us.

Compared to Ren'Py 6.99.14.3, this released adds a new layered image system, which provides a cleaner replacement for the use of LiveComposite and ConditionSwitch when it comes to building sprites from layered images created in paint programs. There is a new syntax for such images, and portions can be defined automatically. Layered images also interact better with other portions of Ren'Py, such as the image predictor and interactive director.

Apart from this, this release includes a few fixes and minor new features. As always, check the changelog for complete details.

Ren'Py 7 is brought to you by over 100 people from around the world, and myself, Tom "PyTom" Rothamel.

Downloads of 7.0.0 can be found at:

https://www.renpy.org/release/7.0.0

A full list of changes to Ren'Py can be found at:

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

A list of changes that may require you to update your game can be found at:

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

Please also check out the credits and sponsor list.


7.0.0.50)

This is still a prerelease, but I think it's quite good. There are very few non-bugfix changes - layered images is big, but with the exception of a few changes to the
interactive director, mostly standalone. I'd like to ask people try out layered images in specific, and let me know how they are to use - get some experience before I 100% lock down the syntax. If something seems weird, let me know - there are often quite easy way to do things using layered images, so I might need to make people more aware of them.

Thanks as well to everyone who's tested Ren'Py over the years.
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
Ocelot
Miko-Class Veteran
Posts: 849
Joined: Tue Aug 23, 2016 10:35 am
Skype: miinipaa
Contact:

Re: Ren'Py 7.0.0 Prereleased

#2 Post by Ocelot » Sun Apr 22, 2018 7:12 pm

Layered images look awesome. One question though: are they considered images, i. e. do image manipulators work with them?
< < insert Rick Cook quote here > >

User avatar
ComputerArt.Club
Veteran
Posts: 285
Joined: Mon May 22, 2017 8:12 am
Completed: Santa's workshop, Cat's Bath, Computer Art Club
Location: Taiwan
Contact:

Re: Ren'Py 7.0.0 Prereleased

#3 Post by ComputerArt.Club » Mon Apr 23, 2018 12:24 pm

Thanks PyTom!

DannX
Regular
Posts: 80
Joined: Mon Mar 12, 2018 11:15 am
Contact:

Re: Ren'Py 7.0.0 Prereleased

#4 Post by DannX » Tue Apr 24, 2018 8:50 am

Layered Images sound great, I'll be sure to try them out!

And thank you PyTom and the rest of the Ren'Py team for your awesome work!

User avatar
ComputerArt.Club
Veteran
Posts: 285
Joined: Mon May 22, 2017 8:12 am
Completed: Santa's workshop, Cat's Bath, Computer Art Club
Location: Taiwan
Contact:

Re: Ren'Py 7.0.0 Prereleased

#5 Post by ComputerArt.Club » Tue Apr 24, 2018 10:52 am

Just a quick question, is there anyway to link to a previously installed version of RAPT?
I also had a recent thread about it for the last version of Renpy: viewtopic.php?f=8&t=49771&p=484722&hilit=RAPT#p484722
All that Android stuff takes awhile to setup each time and a fair amount of space too. I would like to keep my older versions of Renpy too if possible.

User avatar
Jackkel Dragon
Regular
Posts: 130
Joined: Mon Mar 31, 2014 7:17 pm
Projects: CPD2 series, EA, BN
Organization: Team Despair, Nightshade
Location: USA
Contact:

Re: Ren'Py 7.0.0 Prereleased

#6 Post by Jackkel Dragon » Wed Apr 25, 2018 9:42 pm

I've been trying out Layered Images, and I'm liking how it works so far. It'll really help with making my workflow much faster, so I'm grateful for that.

One question I do have about it: Is there a way to change the names of attributes created by the group auto function? I ask this because I don't want to need to re-write existing image code to accommodate renamed files, but my naming scheme dug me into a corner with how attributes work. Here's my problem:

My character body images (outfits+poses) are "name_base_a0", etc. The letter is the outfit, the number is the pose.
My character face images are "name_face_a0", etc. The letter is the eye type, the number is the expression.
Both give me the attribute "a0" for the Layered Image, which means setting a0 will activate both of those layers.

So, back to my question, I'd like to be able to add a prefix to the attribute names from "group xxx auto" so that I can control them separately. That way I could have the body attribute be something like "ba0" while the face attribute could be "fa0" (or just left as "a0").

If there's not a way to do this easily, I'll just define each body image attribute individually. I just hoped there was a way I could do this without writing dozens of lines per character.
Current Projects:
  • Eldritch Academy: A Romance/Paranormal Thriller Visual Novel about a Japanese boarding school's dark secret. (itch.io) [Nightshade]
  • Blooming Nightshade: A lighthearted Romance Visual Novel set at the school from Eldritch Academy. (itch.io) [Nightshade]
  • Novels and short stories. (Shireishi, Those That Linger: GhostSense, and more) (Tumblr) [Nightshade]
  • Corpse Party D2: A series of RPG Maker and Ren'Py fangames based on CORPSE-PARTY's D-2 ending. (Tumblr) [Team Despair]

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

#7 Post by PyTom » Mon Apr 30, 2018 10:19 pm

7.0.0.77)

This release has a lot of requested changes to layered images, based on some experience.

* if_also has been renamed to if_all, and if_any has been added.
* There are more options to control automatic groups. While my purpose is not to match arbitrary patterns (you can use Python if you want that), the new variant property lets a group match more of an image, while the prefix property lets you add a prefix to an attribute.
* The new attribute_function property of a layeredimage lets you provide a function that takes a set of attributes and returns a set of attributes. This can be used to implement complex attribute logic.

While multi-part layeredimage names have always been supported, this prerelease makes them compatible with the interactive director. A name with multiple parts is convenient when a character has multiple poses, each with their own set of layers.

Finally, there's a big change to the way the with statement and clause yet. When given a dict mapping layer names to transitions, Ren'Py will apply those transitions without pausing. This (finally) provides a convenient way to create transitions that occur while text is displayed. For example, one can now write:

Code: Select all

define dis = { "master" : dissolve }
And then

Code: Select all

show eileen happy
with dis

e "I'm getting happy while I'm talking."
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
Jackkel Dragon
Regular
Posts: 130
Joined: Mon Mar 31, 2014 7:17 pm
Projects: CPD2 series, EA, BN
Organization: Team Despair, Nightshade
Location: USA
Contact:

Re: Ren'Py 7.0.0 Prereleased

#8 Post by Jackkel Dragon » Tue May 01, 2018 1:41 am

I'm liking the sound of some of these additions. I do have a few questions after going over the documentation so far, though:

1) For layered image automatic attribute creation, I wanted to confirm the details of what the two new values do. "variant" affects both the detection of files to turn into attributes and the final attribute name, while "prefix" just affects the attribute names, correct? For instance:

Code: Select all

layeredimage kahlia:

    group base auto variant "dress" variant "disguise"

    group face auto prefix "f"
...would find the files [kahlia_base_dress_xxx, kahlia_base_disguise_xxx, kahlia_face_xxx] and create the attributes [dress_xxx, disguise_xxx, f_xxx]?

2) Sort of a twofold question. For the modifications to the with statement, it only affects transitions that are defined with the new dict mapping, right? It won't change older code? Also, could more complex transitions (like ATL) get mapped to the final transition? For instance, creating a transition that waits a second before dissolving between images, then wrapping that in a dict mapped transition. (The final result being something like an expression change mid-sentence.)

Edit: Fixed(?) syntax of sample code after testing a bit.
Current Projects:
  • Eldritch Academy: A Romance/Paranormal Thriller Visual Novel about a Japanese boarding school's dark secret. (itch.io) [Nightshade]
  • Blooming Nightshade: A lighthearted Romance Visual Novel set at the school from Eldritch Academy. (itch.io) [Nightshade]
  • Novels and short stories. (Shireishi, Those That Linger: GhostSense, and more) (Tumblr) [Nightshade]
  • Corpse Party D2: A series of RPG Maker and Ren'Py fangames based on CORPSE-PARTY's D-2 ending. (Tumblr) [Team Despair]

User avatar
Jackkel Dragon
Regular
Posts: 130
Joined: Mon Mar 31, 2014 7:17 pm
Projects: CPD2 series, EA, BN
Organization: Team Despair, Nightshade
Location: USA
Contact:

Re: Ren'Py 7.0.0 Prereleased

#9 Post by Jackkel Dragon » Fri May 04, 2018 1:24 am

I may have run into a minor graphical issue since testing the prerelease. Whenever I've opened a game with a splashscreen label with the prerelease, it displays the checkerboard "no image" background for a few frames on startup. This is despite my splashscreen labels usually having "scene black" at the beginning. I haven't double-checked if it's unique to this build, but it doesn't seem to be an issue for games without splash screens.
Current Projects:
  • Eldritch Academy: A Romance/Paranormal Thriller Visual Novel about a Japanese boarding school's dark secret. (itch.io) [Nightshade]
  • Blooming Nightshade: A lighthearted Romance Visual Novel set at the school from Eldritch Academy. (itch.io) [Nightshade]
  • Novels and short stories. (Shireishi, Those That Linger: GhostSense, and more) (Tumblr) [Nightshade]
  • Corpse Party D2: A series of RPG Maker and Ren'Py fangames based on CORPSE-PARTY's D-2 ending. (Tumblr) [Team Despair]

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

#10 Post by PyTom » Sat May 05, 2018 2:14 pm

7.0.0.89)

This adds a few things.

* There is now a French translation of the tutorial.

* Text now supports a second style of Ruby/Interlinear/Furigana text. This allows a game to have, for example, translations and pronunciations at the same time.

* There is a new displayable prefix system. This lets you write "foobar:argument" anywhere a displayable can be given. (This includes dynamic displayables). If a handler function is registered for foobar, it's called to return the displayable to use.

* Ren'Py supports adding individual files (such as .rpa archives) of bigger than 2GB to a zip file. Some platforms (Windows XP) can't unpack this files, so use it at your own risk.

* It also fixes the regression Jackkel reported above.
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: 15260
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 7.0.0 Prereleased

#11 Post by PyTom » Sat May 05, 2018 2:17 pm

And, I thought I had replied to Jackkel's post above, but looks like I never hit send.

1) You're right.

2) Yes, if a transition rather than a dict statement is given, the behavior is the same as int previous releases. More general things are possible - either an ATL transition or a use of MultipleTransition would be reasonable ways of getting what you want done.
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
trooper6
Lemma-Class Veteran
Posts: 3461
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: Ren'Py 7.0.0 Prereleased

#12 Post by trooper6 » Sat May 05, 2018 3:33 pm

I would love to see an example of the new displayable prefix system in use.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

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

#13 Post by PyTom » Sat May 05, 2018 7:57 pm

There is one in the documentation, at the bottom of:

https://www.renpy.org/dev-doc/html/disp ... e-prefixes
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
trooper6
Lemma-Class Veteran
Posts: 3461
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: Ren'Py 7.0.0 Prereleased

#14 Post by trooper6 » Sun May 06, 2018 12:49 am

Cool! Thanks!
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

User avatar
Scribbles
Miko-Class Veteran
Posts: 580
Joined: Wed Sep 21, 2016 4:15 pm
Completed: Pinewood Island
Projects: As We Know It
Organization: Scribble Games
Tumblr: doodlesatbreakfast
Deviantart: breakfastdoodles
itch: scribbles
Location: Georgia
Contact:

Re: Ren'Py 7.0.0 Prereleased

#15 Post by Scribbles » Sun May 06, 2018 1:39 pm

I like the new layered image stuff! I'm still figuring it out, but I can't wait for the final release. I got it to work for me for a regular sprite of mine (eyes, mouths, outfits, blush) but I'm still working on getting it to work with a customizable sprite (have to figure out how to let the player change it, and apply the changes and conditionals to the sprite) But I can see using this for future projects! It's very streamlined ^^
Image - Image

Post Reply

Who is online

Users browsing this forum: No registered users