Ren'Py 6.12.0 Pre-Released

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Message
Author
User avatar
jack_norton
Lemma-Class Veteran
Posts: 4040
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.12.0 Pre-Released

#31 Post by jack_norton » Mon Jan 31, 2011 5:21 am

Sorry about all the posts. The UI is somehow broken too (GL, not SW).
Look at the screenshot in particular the vscrollbar and the ( X ) buttons on the left, you see they're wrongly displayed (before they were displayed correctly). Is like if somehow the frame width/height are broken ?
Attachments
wrongUI.jpg
follow me on Image Image Image Image
computer games

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.12.0 Pre-Released

#32 Post by PyTom » Mon Jan 31, 2011 9:09 am

I need to know how to replicate the bugs. Just knowing that they exist isn't enough to help me fix them.
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: 4040
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.12.0 Pre-Released

#33 Post by jack_norton » Mon Jan 31, 2011 9:26 am

Actually you can discard the first two, since the first was a bug in my code, and since I fixed it I cannot reproduce the memory leak one anymore as well.
The only one left is that UI bug above, though I changed the values in the Frame and now works fine - so maybe not a real bug, just behaves differently now?
follow me on Image Image Image Image
computer games

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4040
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.12.0 Pre-Released

#34 Post by jack_norton » Mon Jan 31, 2011 2:47 pm

This time I can reproduce this bug (albeit a very small/simple one). I have:

Code: Select all

image text_b = renpy.ParameterizedText(size=75,text_align=0.5,yalign=.5,outlines=[(7,"#0005"),(4,"#0007"),(2,"#000A"),(1,"#444")],style="bix2")
and then:

Code: Select all

    scene black with dissolve
    show text_b "{size=32}Special Thanks to{/size}{p}Tom Rothamel\n{size=32}For the great Ren'Py engine!{/size}" with dissolve
    $renpy.pause(2.0)
before it was centered like this:
Image
now it's all left-aligned (I didn't change anything).
follow me on Image Image Image Image
computer games

User avatar
kuroi
Regular
Posts: 129
Joined: Fri Jun 29, 2007 10:50 am
Location: Albuquerque, New Mexico, USA
Contact:

Re: Ren'Py 6.12.0 Pre-Released

#35 Post by kuroi » Thu Feb 03, 2011 12:32 pm

Has anyone else noticed the movies in their game being jumpy in 6.12.0? The video in mine are now very jumpy when they play. I encoded them using virtual dub using the Xvid codec.
President, Planner, and Programmer for Kuroi Games!

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.12.0 Pre-Released

#36 Post by PyTom » Thu Feb 03, 2011 1:32 pm

kuroi wrote:Has anyone else noticed the movies in their game being jumpy in 6.12.0? The video in mine are now very jumpy when they play. I encoded them using virtual dub using the Xvid codec.
The only thing I can think of is the new prediction code. I think I'll disable image prediction while a movie is running.
jack_norton wrote:This time I can reproduce this bug (albeit a very small/simple one). I have:

Code: Select all

image text_b = renpy.ParameterizedText(size=75,text_align=0.5,yalign=.5,outlines=[(7,"#0005"),(4,"#0007"),(2,"#000A"),(1,"#444")],style="bix2")
When I remove style="bix2", I get the following screen, which looks like it should. I don't know what bix2 is defined as.
Attachments
screenshot0005.jpg
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
kuroi
Regular
Posts: 129
Joined: Fri Jun 29, 2007 10:50 am
Location: Albuquerque, New Mexico, USA
Contact:

Re: Ren'Py 6.12.0 Pre-Released

#37 Post by kuroi » Thu Feb 03, 2011 1:47 pm

I did a few tests and as far as I can tell, the movies played okay in version 6.10.2 but didn't work in 6.11 Maybe no one used any movies of this type with 6.11?
President, Planner, and Programmer for Kuroi Games!

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4040
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.12.0 Pre-Released

#38 Post by jack_norton » Thu Feb 03, 2011 2:00 pm

PyTom wrote: When I remove style="bix2", I get the following screen, which looks like it should. I don't know what bix2 is defined as.
It's this:

Code: Select all

    style.create("bix2","default")
    style.bix2.background= None
    style.bix2.outlines =[(1,"#DFF5")]
    style.bix2.color="#DFF"
    style.bix2.font = "Share-TechMono.ttf"
I don't define any alignment, so I don't know why goes to the left ?
follow me on Image Image Image Image
computer games

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.12.0 Pre-Released

#39 Post by PyTom » Thu Feb 03, 2011 2:27 pm

I don't see it going to the left, in isolation. (Try it!) Are you showing text_b before this screen?
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: 4040
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.12.0 Pre-Released

#40 Post by jack_norton » Thu Feb 03, 2011 2:36 pm

No I use it only for the ending credits. All the ending texts are left aligned, not just the screen I posted :) I have a savegame at end of the game just before the credits start, if I run it with 6.11 = no problem, if I run it with 6.12 I see that !! really strange, I don't understand what it could be!?
I even tried putting it at beginning of the game and I still have the bug...
follow me on Image Image Image Image
computer games

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.12.0 Pre-Released

#41 Post by PyTom » Thu Feb 03, 2011 3:06 pm

This is the entire code that I'm using in my 6.12.0 development tree. Try creating a new project, and replacing script.rpy with this.

Code: Select all

# This file contains the script for the Ren'Py demo game. Execution starts at
# the start label.
init python:
    style.create("bix2","default")
    style.bix2.background= None
    style.bix2.outlines =[(1,"#DFF5")]
    style.bix2.color="#DFF"

image text_b = renpy.ParameterizedText(size=75,text_align=0.5,yalign=.5,outlines=[(7,"#0005"),(4,"#0007"),(2,"#000A"),(1,"#444")], style="bix2")

        
# The game starts here.
label start:
    scene black with dissolve
    show text_b "{size=32}Special Thanks to{/size}{p}Tom Rothamel\n{size=32}For the great Ren'Py engine!{/size}" with dissolve
    $renpy.pause(2.0)

    return
I'm almost certain that you did:

show text_b ... at left

beforehand, and Ren'Py is remembering this. It's not clear why this would be different between 6.11 and 6.12 - I don't think it should be.
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: 4040
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.12.0 Pre-Released

#42 Post by jack_norton » Thu Feb 03, 2011 3:36 pm

The test works fine - but the code is identic, I absolutely DIDN'T do "at left"!!! :D
Really I don't know what is happening in my game, but considering how complex it is... still weird!
follow me on Image Image Image Image
computer games

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.12.0 Pre-Released

#43 Post by PyTom » Thu Feb 03, 2011 3:46 pm

Try doing "hide text_b" before you show it.

It's also possible you've redefined transform default, or something like that.
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: 4040
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.12.0 Pre-Released

#44 Post by jack_norton » Thu Feb 03, 2011 3:55 pm

Ah yes I changed transform default! :lol:

Code: Select all

init python:
    style.image_placement.xpos = 0.5;style.image_placement.ypos = 1.0
    style.image_placement.xanchor = 0.5
    style.image_placement.yanchor = 1.0
    config.default_transform = None
    config.transform_uses_child_position = True
follow me on Image Image Image Image
computer games

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.12.0 Pre-Released

#45 Post by PyTom » Thu Feb 03, 2011 4:24 pm

You want to set config.imagereference_respects_position to True, and I want to go and document that.
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

Post Reply

Who is online

Users browsing this forum: No registered users