layout.imagemap_navigation

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.
Post Reply
Message
Author
Xyphon
Newbie
Posts: 23
Joined: Sat Nov 13, 2010 3:59 am
Contact:

layout.imagemap_navigation

#1 Post by Xyphon »

For some reason, this just isn't working.. The set up seems right, but when I click the button nothing happens..
Care to help? Thanks..

Code: Select all

init -2 python:
    layout.imagemap_navigation(
        "game_menu.png",
        "selected.png",
        "selected.png",
        "selected.png",
        "selected.png",
        [
            (104,450,356,498, "Return"),
            ])
(Return is the command, right?)

spookyruthy
Newbie
Posts: 23
Joined: Fri Dec 10, 2010 7:54 pm
Completed: None at present.
Projects: Bells & Spires - A Suspense/Horror OELVN
Contact:

Re: layout.imagemap_navigation

#2 Post by spookyruthy »

Try removing the quotation marks around "Return" - it should solve it unless you've made this one a user-specific one.
Image
Bells & Spires - A Horror/Suspense OELVN - Still a looong way to go!!
Visit my DeviantArt!

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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: layout.imagemap_navigation

#3 Post by PyTom »

Can you post the images you're 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

Xyphon
Newbie
Posts: 23
Joined: Sat Nov 13, 2010 3:59 am
Contact:

Re: layout.imagemap_navigation

#4 Post by Xyphon »

I've figured out a work around by just using regular menu manipulation, so this doesn't need to be answered..

Post Reply

Who is online

Users browsing this forum: Google [Bot]