Ren'Py 6.18 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: 16088
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.18 Released

#1 Post by PyTom »

I'm pleased to announce Ren'Py 6.18 "... through shared popular culture.". Major improvements in this release include:
  • A full rewrite of screen language that has the potential for significantly improved performance.
  • Self-voicing support that provides a level of accessibility to blind users.
  • A high-level Android in-app purchasing framework.
  • New Italian, Portuguese, and Simplified Chinese translations.
This release also includes many other features and fixes. It has been brought to you by:
  • Koichi Akabe
  • Duanemoody
  • Emmannuel Marty
  • Helloise
  • Huanxuantian
  • Daniel Luque
  • Javimat
  • Kyouryuukunn
  • Mrstalker
  • Oshi-Shinobu
  • Renoa
  • Shiz
  • Tom "PyTom" Rothamel
  • Winter Wolves
Downloads of 6.18 can be found at

http://www.renpy.org/release/6.18

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

http://www.renpy.org/doc/html/changelog.html

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

http://www.renpy.org/doc/html/incompatible.html
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
PyTom
Ren'Py Creator
Posts: 16088
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.18 Released

#2 Post by PyTom »

Let me just give a thank you to everyone who contributed on the pre-release thread. Without you, Ren'Py 6.18 would be far more incomplete.
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
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.18 Released

#3 Post by jack_norton »

Woohoo :)
I just received an email from Google about IAP:
Beginning January 2015, we will end support for the In-app Billing Version 2 API. After this date, users will no longer be able to make in-app purchases using your app until you upgrade your app to use the Version 3 API.
Then a list of apps that use the old V2, basically all my apps. Did you use my friend's code or you upgraded it to V3 already? otherwise this is already another thing to do (albeit, there's time before Jan 2015!! :lol:)

Thanks for all your work!
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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.18 Released

#4 Post by PyTom »

I'm still using the code you sent me.

At least the v3 code looks reasonably like the API we use internally, so it shouldn't be impossible to switch it over.
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
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.18 Released

#5 Post by jack_norton »

Good, Emmanuel also said he can do the upgrade if needed. There's still time, though having so many games I'll probably want to start 1-2 months before Jan 2015 :shock:
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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.18 Released

#6 Post by PyTom »

If he wants to do it, that would be good - it would free me up to work on other things. iOS things...
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.18 Released

#7 Post by Kinsman »

Uh.. sorry about this, but I think I've found a bug in the latest version.

If you have a transform ATL statement that contains a single function statement below it, this error screen appears:

Code: Select all

I'm sorry, but an uncaught exception occurred.

After initialization, but before game start.
AttributeError: 'RawFunction' object has no attribute 'function'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "C:\Users\Sean\Documents\renpy-6.14.1-sdk\renpy\bootstrap.py", line 289, in bootstrap
    renpy.main.main()
  File "C:\Users\Sean\Documents\renpy-6.14.1-sdk\renpy\main.py", line 307, in main
    renpy.game.script.analyze()
  File "C:\Users\Sean\Documents\renpy-6.14.1-sdk\renpy\script.py", line 579, in analyze
    i.analyze()
  File "C:\Users\Sean\Documents\renpy-6.14.1-sdk\renpy\ast.py", line 919, in analyze
    self.atl.mark_constant()
  File "C:\Users\Sean\Documents\renpy-6.14.1-sdk\renpy\atl.py", line 572, in mark_constant
    i.mark_constant()
  File "C:\Users\Sean\Documents\renpy-6.14.1-sdk\renpy\atl.py", line 1430, in mark_constant
    self.constant = is_constant_expr(self.function)
AttributeError: 'RawFunction' object has no attribute 'function'

Windows-post2008Server-6.2.9200
Ren'Py 6.18.0.635
Red Riot 0.0
Here's the code that caused it:

Code: Select all

    python:
        def randomshake(trans,st,at):
            intensity = (0.5-st)*10
            if intensity > 0:
                trans.xoffset = math.floor((renpy.random.random()*intensity) - (intensity*0.5))
                trans.yoffset = math.floor((renpy.random.random()*intensity) - (intensity*0.5))
            else:
                trans.xoffset = 0
                trans.yoffset = 0
            return 0.02
            
    transform shakeshake:
        function randomshake

    # It's possible to write $shakeshake = Transform(function=randomshake) without errors

Flash To Ren'Py Exporter
See the Cookbook thread

User avatar
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.18 Released

#8 Post by jack_norton »

PyTom wrote:If he wants to do it, that would be good - it would free me up to work on other things. iOS things...
Apparently that email is sent to everyone, even those using V3 already. I need to ask but I think my friend already used V3, so I don't understand why I got that message. Will investigate more :)
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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.18 Released

#9 Post by PyTom »

Yes, reading through the code, it looks like it's using v3. So not a problem.
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
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: Ren'Py 6.18 Released

#10 Post by xela »

Thanks for the release, it's great!
Like what we're doing? Support us at:
Image

User avatar
akakyouryuu
Regular
Posts: 161
Joined: Fri Nov 30, 2012 10:29 am
Contact:

Re: Ren'Py 6.18 Released

#11 Post by akakyouryuu »

I had a problem about transform.

Code: Select all

transform right:
    xoffset 100
transform left:
    ease .5 xoffset 0
screen test(atl):
    window:
        at atl

label start:

    show screen test(right)
    "a"
    show screen test(left)
    "b"
This code shows "test" screen and moves it smoothly in v6.17.
But in v6.18, "test" screen is moved immediately.

User avatar
Karl_C
Veteran
Posts: 232
Joined: Sun Mar 31, 2013 6:18 am
Contact:

Re: Ren'Py 6.18 Released

#12 Post by Karl_C »

Hm, the german template, provided by 'NoJoker', is still missing?

Ren'Py Cookbook: German template & launcher

User avatar
storykween
Regular
Posts: 154
Joined: Mon Sep 30, 2013 1:17 pm
Completed: Serafina's Saga, Quantum Conscience, Echoes of the Fey, miraclr - Divine Dating Sim
Organization: Woodsy Studio
Location: St Louis
Contact:

Re: Ren'Py 6.18 Released

#13 Post by storykween »

My Preferences screen uses a slider for Music, Sound, and Voice options. With 6.18, I get this error when trying to move the slider:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/screens.rpy", line 499, in <module>
AttributeError: 'ScreenDisplayable' object has no attribute 'hiding'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/_layout/screen_main_menu.rpym", line 29, in script
    $ ui.interact()
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\ast.py", line 778, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\python.py", line 1382, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/_layout/screen_main_menu.rpym", line 29, in <module>
    $ ui.interact()
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\ui.py", line 247, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\display\core.py", line 2145, in interact
    repeat, rv = self.interact_core(preloads=preloads, **kwargs)
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\display\core.py", line 2393, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\display\core.py", line 335, in visit_all
    d.visit_all(callback)
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\display\core.py", line 335, in visit_all
    d.visit_all(callback)
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\display\core.py", line 335, in visit_all
    d.visit_all(callback)
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\display\core.py", line 335, in visit_all
    d.visit_all(callback)
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\display\screen.py", line 380, in visit_all
    callback(self)
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\display\core.py", line 2393, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\display\screen.py", line 392, in per_interact
    self.update()
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\display\screen.py", line 551, in update
    self.screen.function(**self.scope)
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\screenlang.py", line 1247, in __call__
    renpy.python.py_exec_bytecode(self.code.bytecode, locals=scope)
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\python.py", line 1382, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/screens.rpy", line 499, in <module>
  File "C:\Users\story_000\Desktop\QuantumConscience-1.0-all\renpy\ui.py", line 446, in __call__
    if (renpy.display.focus.grab is w) and (not screen.hiding):
AttributeError: 'ScreenDisplayable' object has no attribute 'hiding'

Windows-post2008Server-6.2.9200
Ren'Py 6.18.0.635
Quantum Conscience 1.1
Any tips for a quick fix? Thanks in advance!
Image
My website: woodsy-studio.com

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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.18 Released

#14 Post by PyTom »

That's a known bug in SL1 screens used in 6.18.

The easy workaround is to click "Force Recompile" in the launcher, which will bring your screens up to SL2, which doesn't have this problem.

A fix will be out in the next couple of days.
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
storykween
Regular
Posts: 154
Joined: Mon Sep 30, 2013 1:17 pm
Completed: Serafina's Saga, Quantum Conscience, Echoes of the Fey, miraclr - Divine Dating Sim
Organization: Woodsy Studio
Location: St Louis
Contact:

Re: Ren'Py 6.18 Released

#15 Post by storykween »

Excellent - Force Recompile did the trick! Thank you!
Image
My website: woodsy-studio.com

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], GetOutOfMyLab, Google [Bot], Semrush [Bot], VESTED