Image transitions

A place to discuss things that aren't specific to any one creator or game.
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Message
Author
Hyenan
Newbie
Posts: 9
Joined: Sun Feb 04, 2007 9:32 am
Contact:

Image transitions

#1 Post by Hyenan »

Hi.. this is probably a very dumb question, but it seems image transitions just won't work >_>;

Code: Select all

label start:
   
    scene <bg> with <transition>
    show <image> 
isn't that correct...? Images show up. but with no transition.

the images are fit to the screen size.. 600x450, character images=300x450 - backgrounds=600x450
Last edited by Hyenan on Sun Feb 04, 2007 10:37 am, edited 2 times in total.

User avatar
DaFool
Lemma-Class Veteran
Posts: 4171
Joined: Tue Aug 01, 2006 12:39 pm
Contact:

#2 Post by DaFool »

Indentation is important:

Code: Select all

label chapter1:
      
   scene innercity with fade
   show rain
Usually you just need one "with" for the particular transition you want to emphasize. Another example:

Code: Select all

   hide rain
   show fog
   with dissolve

Hyenan
Newbie
Posts: 9
Joined: Sun Feb 04, 2007 9:32 am
Contact:

#3 Post by Hyenan »

Yeah, I just forgot the spaces in the post above, sorry-
but but but it won't work ;_;

it looks like this.

Code: Select all

label start:
    
    scene <bg> with <transition>
    show <image>
the images show up, but no transition.. I am doing something wrong, but what >_<

Adorya
Miko-Class Veteran
Posts: 541
Joined: Fri Aug 18, 2006 4:51 pm
Contact:

#4 Post by Adorya »

Try to set another background before the transition, usually it's white or black background color

denzil
Veteran
Posts: 293
Joined: Wed Apr 20, 2005 4:01 pm
Contact:

#5 Post by denzil »

Try looking in Preferences. Maybe the transitions are turned off.
Practice makes purrrfect.
Finished projects: Broken sky .:. colorless day .:. and few more...

Jake
Support Hero
Posts: 3826
Joined: Sat Jun 17, 2006 7:28 pm
Contact:

#6 Post by Jake »

Hyenan wrote:the images show up, but no transition.. I am doing something wrong, but what >_<
Is it just the 'show image' which isn't getting the transition, or is the transition on the BG not happening either?
Server error: user 'Jake' not found

Hyenan
Newbie
Posts: 9
Joined: Sun Feb 04, 2007 9:32 am
Contact:

#7 Post by Hyenan »

Jake wrote:
Hyenan wrote:the images show up, but no transition.. I am doing something wrong, but what >_<
Is it just the 'show image' which isn't getting the transition, or is the transition on the BG not happening either?
no transition at all

Hyenan
Newbie
Posts: 9
Joined: Sun Feb 04, 2007 9:32 am
Contact:

#8 Post by Hyenan »

not even the transitions in options.rpy that should show when entering and exiting the main menu works.

Code: Select all

        config.enter_transition = dissolve
        config.exit_transition = dissolve
.. maybe I've managed to turn transitions off??

Hyenan
Newbie
Posts: 9
Joined: Sun Feb 04, 2007 9:32 am
Contact:

#9 Post by Hyenan »

Hyenan wrote:not even the transitions in options.rpy that should show when entering and exiting the main menu works.

Code: Select all

        config.enter_transition = dissolve
        config.exit_transition = dissolve
.. maybe I've managed to turn transitions off??
I strongly believe its got something to do with the fact I re-sized the window, cause this code:

Code: Select all

label start:

    scene bg gray
    show eileen happy with dissolve

    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!"
works in the demo, but not in my script. still I re-sized the eileen happy image to be 450pix tall, just like my window.

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

#10 Post by PyTom »

What version of Ren'Py are you using?
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

Hyenan
Newbie
Posts: 9
Joined: Sun Feb 04, 2007 9:32 am
Contact:

#11 Post by Hyenan »

PyTom wrote:What version of Ren'Py are you using?
Ren'py 5.6.6

;_;

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

#12 Post by PyTom »

I would try breaking the transition off into two lines:

Code: Select all

label start:
    scene bg gray
    with dissolve

    "It was a dark and stormy night."
Like that. I tried it, and it's working for me, albeit in 5.6.7. (Which hasn't come out yet.)

Also, why are you using the strange resolution of 600x450? I'd suggest going with 640x480, which is standard, and has the same aspect ratio as most monitors.
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

Hyenan
Newbie
Posts: 9
Joined: Sun Feb 04, 2007 9:32 am
Contact:

#13 Post by Hyenan »

I changed the resolution to 800x600 and tried again but... It just won't work. ;_;

even if you write the "with" on it's own row.

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

#14 Post by PyTom »

Try deleting yourgame/saves/persistent. If that doesn't work, zip up your game and send it to me (pytom@bishoujo.us), and I'll take a closer look.
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

Hyenan
Newbie
Posts: 9
Joined: Sun Feb 04, 2007 9:32 am
Contact:

#15 Post by Hyenan »

PyTom wrote:Try deleting yourgame/saves/persistent. If that doesn't work, zip up your game and send it to me (pytom@bishoujo.us), and I'll take a closer look.
OH YAY it worked!!
thank you so much~ I'd like to kiss you but I can't. so. uh. CYBERHUG *glomp*

Post Reply

Who is online

Users browsing this forum: No registered users