Splash screen trouble

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.
Post Reply
Message
Author
brigid
Newbie
Posts: 18
Joined: Sun Mar 16, 2008 12:59 pm
Contact:

Splash screen trouble

#1 Post by brigid »

Traceback.txt

Code: Select all

ValueError: too many values to unpack
I thought I was doing this right. In fact, it worked up to adding a drop shadow to the text so it'd be easier to see.

The script.rpy splash screen code:

Code: Select all

    image animation = Animation("splashimg01.png", 0.25,
                                           "splashimg02.png", 0.25)
    
label splashscreen:
    $ renpy.pause(0)
    scene black
    show text "Honkaku No Anime Presents..."
    with dissolve
    with Pause(1.0)
    
    hide text
    
    scene animate
    show animation
    show text "Ghost Tale."
    with dissolve
    with Pause(1.0)
    
    hide text
    with dissolve

    return
The drop shadow code , which I put under the commented out text code of option.rpy:

Code: Select all

        style.default.drop_shadow = (-1, -1), (1, -1), (-1, 1), (1, 1)
The main menu code I kept in the same place it is by default:

Code: Select all

            mm_root = "splashimg01.png",
What am I doing wrong? I copied the drop_shadow list from the reference page to create a solid border. :?

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:

Re: Splash screen trouble

#2 Post by PyTom »

Put the drop_shadow arguments inside a list:

Code: Select all

        style.default.drop_shadow = [ (-1, -1), (1, -1), (-1, 1), (1, 1) ]
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

brigid
Newbie
Posts: 18
Joined: Sun Mar 16, 2008 12:59 pm
Contact:

Re: Splash screen trouble

#3 Post by brigid »

Oh. ^^;

Post Reply

Who is online

Users browsing this forum: Bing [Bot]