Ren'Py 6.99 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: 16093
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 Released

#46 Post by PyTom »

If you send me the game, maybe I can try to fix it.
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: 16093
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 Released

#47 Post by PyTom »

Ren'Py 6.99.4.438 is out for prelease.

This adds several new features to Ren'Py. The first is the new default statement, which replaces assigning to a variable after label start. The second is that the use statement now takes a block, which can be transcluded by the used screen. This makes it possible to "wrap" displayables inside a used screen. The new creator-defined screen language statement feature takes advantage of this by converting new screen language statements
into uses of other screens.

iOS support has been improved based on feedback from people packaging games. We now get further through the app store submission process.

There are two major performance fixes. One involves releasing the Global Interpreter Lock while waiting for user input. The second prevents Ren'Py
from re-analyzing screens on startup, an expensive process that was taking a lot of time, especially on Android and iOS.

Lastly, the volume curve has been changed to be more perceptually accurate. This change may require end-users to change their volumes after the game has been upgraded.

A full changelog is at http://www.renpy.org/dev-doc/html/chang ... -py-6-99-4 .

You can get the 6.99.4 prelease from http://www.renpy.org/dl/6.99.4/ , or by swithing to the "Prerelease" channel and updating. Note that the updater is slow in 6.99 releases. This fixes that, but for previous releases the updater can be sped up by slowly moving your mouse over the Ren'Py window while preparing and unpacking take place. (This is a symptom of the GIL issue.)
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.99 Released

#48 Post by jack_norton »

Cool going to give it a try in next days :)
follow me on Image Image Image
computer games

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: Ren'Py 6.99 Released

#49 Post by trooper6 »

I downloaded the prerelease and mucked about with a test game I had already started, no troubles. But I just attempted to create a new game to help with someone's problem on the question board, and I got an error.

Here's what I did:
1) Start new Renpy (I updated from the Updater using the PreRelease Channel)
2) Clicked on + Create New Project; the Project Name Screen shows up
3) Type in a Name: Test 14 IBlock; I click Enter
4) Choose Project Template Screen shows up with "english highlighted"; I click Continue
5) An Error Traceback Pops Up:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "launcher/game/new_project.rpy", line 126, in script call
    call choose_theme_callable
  File "launcher/game/choose_theme.rpy", line 485, in script
    python:
  File "launcher/game/choose_theme.rpy", line 487, in <module>
    implement_theme(current_theme, current_scheme)
  File "launcher/game/choose_theme.rpy", line 99, in implement_theme
    renpy.style.restore(style_backup)
NameError: name 'style_backup' is not defined

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

Full traceback:
  File "launcher/game/new_project.rpy", line 126, in script call
    call choose_theme_callable
  File "launcher/game/choose_theme.rpy", line 485, in script
    python:
  File "/Users/trooper6/Desktop Folders/Design & Media/Visual Novels and RenPy/renpy-6.99.0-sdk/renpy/ast.py", line 785, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "/Users/trooper6/Desktop Folders/Design & Media/Visual Novels and RenPy/renpy-6.99.0-sdk/renpy/python.py", line 1445, in py_exec_bytecode
    exec bytecode in globals, locals
  File "launcher/game/choose_theme.rpy", line 487, in <module>
    implement_theme(current_theme, current_scheme)
  File "launcher/game/choose_theme.rpy", line 99, in implement_theme
    renpy.style.restore(style_backup)
NameError: name 'style_backup' is not defined

Darwin-14.3.0-x86_64-i386-64bit
Ren'Py 6.99.4.438
Ren'Py Launcher 6.99.4.438
6) I click the Quit button and restart Renpy
7) I notice the Test 14 Block game is in my directory
8) I can open the .rpy files and I can run the game...but I never had the change to specify its theme. Additionally, if I try to click "Change Theme from the Launcher, I get the same error as above.
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
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.99 Released

#50 Post by nyaatrap »

Were Transform or LiveComposite changed? I have used:

Code: Select all

    transform cloud_tran1A:
        zoom 2.5 
        xoffset 0
        linear 130 xoffset -3200
        repeat
        
    transform cloud_tran1B:
        zoom 2.5 
        xoffset 3200
        linear 130 xoffset 0
        repeat
                        
    image sky = LiveComposite((3200,960),
        (0,0), Transform("bg_parts/sky.png", zoom=2.5, align=(.5,.5)),
        (0,0), At("bg_parts/cloud1.png", cloud_tran1A),
        (0,0), At("bg_parts/cloud1.png", cloud_tran1B))
It had moved clouds in 6.99.3, but in 6.99.4 it doesn't.

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

#51 Post by PyTom »

LiveComposite was. I'll look into fixing it, although I'm not convinced that code like that should allow positioning.
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
tiya_nofurita
Miko-Class Veteran
Posts: 669
Joined: Fri Jun 22, 2012 7:23 pm
Completed: ALLBLACK Phase 1, Heart's Blight, Last Rx., EDDA Cafe, Kohana, Half Moon
Projects: ALLBLACK Phase 2
Organization: VN Project Indonesia
Deviantart: SECONDARY-TARGET
itch: NSAID
Location: I can be everywhere
Discord: 3,4-Methylendioxymethamphetamine#4886
Contact:

Re: Ren'Py 6.99 Released

#52 Post by tiya_nofurita »

Wow it has been 6.99 already.
I have Ren'Py 6.18 and by clicking "Update" on launcher screen, it always ended up as "An error has occured. IOError ('http protocol error', '0', 'got bad status line', None)
Is it just my connection problem or because my version of Ren'py is too obsolete?
Perhaps I have no choice than downloading the latest version instead of updating the old one.
Webtoon

"For what reason I live?"
Image

---
Completed project:


"What will you see when you are dead?"

Image

MY VISUAL NOVEL

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

#53 Post by PyTom »

The other thing you can do is download:

https://raw.githubusercontent.com/renpy ... pdater.rpy

And drop it in over the renpy/common/00updater.rpy file that already exists. That should fix update problems.
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
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: Ren'Py 6.99 Released

#54 Post by trooper6 »

I went back to 6.99.3 as a test and there were no problems with making new projects. Then I went back to 6.99.4 and tried to create a new project again--and I got the same "NameError: name 'style_backup' is not defined" error.
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: 16093
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 Released

#55 Post by PyTom »

Yeah, I think I know what the problem is - I changed when we make style backups, to speed up startup, but apparently that cause problems. I'll fix it.
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

dott.Piergiorgio
Veteran
Posts: 345
Joined: Sun May 18, 2008 1:52 pm
Contact:

Re: Ren'Py 6.99 Released

#56 Post by dott.Piergiorgio »

I'm wrong or Jack's traceback has *nix paths and report running in a window box ?

Best regards from Italy,
dott. Piergiorgio.

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

#57 Post by PyTom »

I just uploaded Ren'Py 6.99.4.466 to the prerelease channel.

http://www.renpy.org/dev-doc/html/chang ... -py-6-99-4

Compared to the previous prerelease, this has a number of bug- and performance- fixes, especially on iOS. On android, it adds a button to take a logcat, which is something people have hand a problem with.

There is a change in the behavior of the default statement compared to the previous release. In 6.99.438, the default statement would only update the variable if it didn't exist in the store. I realized this could be a problem, since if I introduced a new default variable with the same name as a default-ed variable, the Ren'Py-variable would take precedence, which isn't the behavior when label start is used.

So default now keeps track of what variables it's set, and stores that information in a savefile. It only sets the variable if the variable has not been set before. This change might break games already updated to the 6.99.4 prerelease, but I'll accept that for a prerelease, and I think it really is better behavior going forwards.

You can get 6.99.4 through the updater, but downloading it from http://www.renpy.org/dl/6.99.4/ may work better.
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: 16093
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 Released

#58 Post by PyTom »

I've released Ren'Py 6.99.4.467 as Ren'Py 6.99.4.

See above for a list of what's changed. The only change between .466 and .476 is the fixing of a packaging bug that prevented the inclusion of empty images directories in SDK zip files.

You can get 6.99.4 through the updater, but downloading it from http://www.renpy.org/dl/6.99.4/ may work better - one of the bugs fixed slowed down the updater, while 6.99.4 restores it to full speed.
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
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: Ren'Py 6.99 Released

#59 Post by trooper6 »

Hello! I have downloaded the most recent release version of Renpy 6.99.4 and ran into a problem making a new project to test out some features.

So I made a brand new project with this as the entire script file:

Code: Select all

# You can place the script of your game in this file.

# Declare images below this line, using the image statement.
# eg. image eileen happy = "eileen_happy.png"

# Declare characters used by this game.
define e = Character('Eileen', color="#c8ffc8")

default str = 0
# The game starts here.
label start:

    e "Strength: [str]"
    
    e "You've created a new Ren'Py game."

    e "Once you add a story, pictures, and music, you can release it to the world!"

    return
This program throws errors.

The lint report says:

Code: Select all

Ren'Py 6.99.4.467 lint report, generated at: Fri May 29 21:33:41 2015

game/script.rpy:9 'default str' replaces a python built-in name, which may cause problems.
The traceback when you try to run it is:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 13, in script
    e "Strength: [str]"
  File "renpy/common/00action_file.rpy", line 337, in get_sensitive
    return renpy.can_load(__slotname(self.name, self.page))
  File "renpy/common/00action_file.rpy", line 46, in _m1_00action_file__slotname
    return str(page) + "-" + str(name)
TypeError: 'int' object is not callable

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

Full traceback:
  File "game/script.rpy", line 13, in script
    e "Strength: [str]"
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/ast.py", line 593, in execute
    renpy.exports.say(who, what, interact=self.interact)
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/exports.py", line 1021, in say
    who(what, interact=interact)
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/character.py", line 826, in __call__
    self.do_display(who, what, cb_args=self.cb_args, **display_args)
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/character.py", line 688, in do_display
    **display_args)
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/character.py", line 491, in display_say
    rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/ui.py", line 277, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/display/core.py", line 2276, in interact
    repeat, rv = self.interact_core(preloads=preloads, **kwargs)
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/display/core.py", line 2527, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/display/core.py", line 341, in visit_all
    d.visit_all(callback)
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/display/core.py", line 341, in visit_all
    d.visit_all(callback)
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/display/core.py", line 341, in visit_all
    d.visit_all(callback)
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/display/screen.py", line 386, in visit_all
    self.child.visit_all(callback)
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/display/core.py", line 341, in visit_all
    d.visit_all(callback)
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/display/core.py", line 341, in visit_all
    d.visit_all(callback)
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/display/core.py", line 343, in visit_all
    callback(self)
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/display/core.py", line 2527, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/display/behavior.py", line 696, in per_interact
    if is_sensitive(self.action):
  File "/Users/trooper6/Desktop Folders/Programming/RenPy/renpy-6.99.0-sdk/renpy/display/behavior.py", line 349, in is_sensitive
    return clicked.get_sensitive()
  File "renpy/common/00action_file.rpy", line 337, in get_sensitive
    return renpy.can_load(__slotname(self.name, self.page))
  File "renpy/common/00action_file.rpy", line 46, in _m1_00action_file__slotname
    return str(page) + "-" + str(name)
TypeError: 'int' object is not callable

Darwin-14.3.0-x86_64-i386-64bit
Ren'Py 6.99.4.467
Test 20 6.99.4 Stuff 0.0
Any insight?
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: 16093
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 Released

#60 Post by PyTom »

str is a python builtin. (It converts an object to a string.) Don't use it.
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

Post Reply

Who is online

Users browsing this forum: simple_human