Ren'Py 6.15 Pre-Releases

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
Jake
Support Hero
Posts: 3826
Joined: Sat Jun 17, 2006 7:28 pm
Contact:

Re: Ren'Py 6.15 Pre-Releases

#91 Post by Jake » Thu Feb 28, 2013 4:38 pm

CaseyLoufek wrote: "Wow, everybody's running MaliciousSpyWormHD3JF4L92 that's gotta be a legit program."
My thoughts exactly!

I'd guess it probably kind of works in Avast's case, since they'll only be sampling Avast users, who by definition have some protection in place - perhaps they're just relying on the first few users to come across new software to make good decisions about whether to let it run outside of the sandbox or not?
Server error: user 'Jake' not found

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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.15 Pre-Releases

#92 Post by PyTom » Thu Feb 28, 2013 7:44 pm

SundownKid wrote:Also, the transform glitch still remains in 6.15. I can't do a transition without all transforms locking up.
I've been unable to repeat this, using the code:

Code: Select all

transform movy:
    xalign 0.0
    linear 10.0 yalign 1.0
    repeat

label start:

    "..."

    show logo blue at movy
    
    "..."

    show eileen happy 
    with dissolve
    
    "..."    
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
SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Ren'Py 6.15 Pre-Releases

#93 Post by SundownKid » Thu Feb 28, 2013 8:02 pm

You did it backwards. It's the transform that doesn't work, not the transition :)

It also doesn't work from stuff like the main menu. If you make the transform on a screen on the main menu, then set the main menu transition to "dissolve", the transform will cease to work.

User avatar
SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Ren'Py 6.15 Pre-Releases

#94 Post by SundownKid » Thu Feb 28, 2013 8:12 pm

And here is a video I made of the glitch in action:

VIDEO

(First one is without any transition from splashscreen to menu (transform works normally). Second one is with a transition. (transform doesn't work))

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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.15 Pre-Releases

#95 Post by PyTom » Thu Feb 28, 2013 8:35 pm

I can't figure out from that video what's going wrong. What I need is the code, and what you think it should be doing.

I need that from nyaatrap, too - although his problem might have to do with the way hide blocks aren't run when a context exits.

I found another bug in my release testing, so no release tonight.
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
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.15 Pre-Releases

#96 Post by nyaatrap » Thu Feb 28, 2013 8:53 pm

It's easy to create the situation I have

Code: Select all

init python:
    config.exit_transition = dissolve
transform gui:
    yoffset 128
    ease .3 yoffset 0

screen file_picker:

    frame at gui:
When I right-click first, ATL works. but hide it then right-click again, it doesn't work.

User avatar
SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Ren'Py 6.15 Pre-Releases

#97 Post by SundownKid » Thu Feb 28, 2013 9:02 pm

The code is simply:

Code: Select all

config.end_splash_transition = dissolve
and then for the screen:

Code: Select all

transform popup:
    xalign 0.5 yalign 3.0
    easein 0.5 yalign 0.5
    on hide:
        easeout 0.5 yalign 3.0

Code: Select all

screen save:
    modal True
    tag smallscreen
    window id "save" at popup:
        style "smallwindow"
        text "Save" style "smallwindowtitle_text"
        imagebutton auto "image/ui/close_%s.png" action [Hide("save"), Play("sound", "se/close.ogg")] hovered Play("sound", "se/select.ogg") style "smallwindowclose"
        use file_picker
Of course, it doesn't work pretty much any time you do a transition outside of the game itself, not just on that transition.

User avatar
SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Ren'Py 6.15 Pre-Releases

#98 Post by SundownKid » Fri Mar 01, 2013 9:06 pm

Bump. Would this info help?

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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.15 Pre-Releases

#99 Post by PyTom » Sat Mar 02, 2013 9:10 pm

nyaatrap wrote:It's easy to create the situation I have

Code: Select all

init python:
    config.exit_transition = dissolve
transform gui:
    yoffset 128
    ease .3 yoffset 0

screen file_picker:

    frame at gui:
When I right-click first, ATL works. but hide it then right-click again, it doesn't work.
For me, on 6.15, it's working all the time. I copied your code into the screens.py file in a copy of the tutorial game, and I can't get it to show a problem.

To look into this further, I need a standalone game that demonstrates the problem.
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: 15893
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.15 Pre-Releases

#100 Post by PyTom » Sat Mar 02, 2013 10:00 pm

Sundownkid,

After spending about an hour on this, I'm unable to repeat your problem. I had to make a couple of educated guesses as to how you're calling your code, but in none of the versions I tried did I see Ren'Py behaving incorrectly. I do see one issue that might be coming up. An "on hide" block will not run when exiting a new context, like the right-click menu context. When the context ends, the displayable is destroyed - and so the hide block won't operate. So you might be seeing that happening. (This behavior might not be 100% optimal - but alternate semantics are just as hard to figure out, so it's what Ren'Py does.)

If you want me to look at this further, I need a stand-alone game I can download that exhibits the problem - I can't make due with code snippets.
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
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.15 Pre-Releases

#101 Post by nyaatrap » Sat Mar 02, 2013 10:34 pm

test-1.0-win.zip
1) Click start
2) Right click to see the game menu animation
3) Right click again to hide the game menu
4) Right click again to see the same animation can occur or not

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.15 Pre-Releases

#102 Post by nyaatrap » Sat Mar 02, 2013 10:45 pm

SundownKid, this code will fix your problem (only on show, not on hide though):

Code: Select all

label main_menu:
    With Dissolve (.000001)
    show screen main_menu
    $ ui.interact()

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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.15 Pre-Releases

#103 Post by PyTom » Sun Mar 03, 2013 2:17 am

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

This fixes nyaatrap's problem, and I think I might have also fixed Sundownkid's in the process... I don't yet quite understand what was wrong, but I think both bugs might be related to the same timing problem. It's worth trying out.

It also fixes a problem where rolling back in nvl mode when a non-default language was active would cause a line of dialogue to be repeated, and a compatibility problem with older games.
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
SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Ren'Py 6.15 Pre-Releases

#104 Post by SundownKid » Sun Mar 03, 2013 2:59 am

Indeed, it does seem like the problem is fixed now, finally. Thanks! :D

User avatar
SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Ren'Py 6.15 Pre-Releases

#105 Post by SundownKid » Sun Mar 03, 2013 3:35 am

I'm also getting a crash bug when I reload for some reason.

Post Reply

Who is online

Users browsing this forum: No registered users