Seriously specific functions on an imagemap... ideas?

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.
Message
Author
User avatar
PyTom
Ren'Py Creator
Posts: 16093
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: Seriously specific functions on an imagemap... ideas?

#16 Post by PyTom »

Change:

Code: Select all

                action Play[("music", "music1.mp3"), Show("music_info", info ="unlockedb.png")]
to

Code: Select all

                action [ Play("music", "music1.mp3"), Show("music_info", info ="unlockedb.png")]
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

User avatar
inahochama
Regular
Posts: 39
Joined: Tue Dec 15, 2009 12:38 am
Contact:

Re: [Solved] Seriously specific functions on an imagemap

#17 Post by inahochama »

Thank you so much! Everything works fine now. I feel so stupid for missing the whole point of the brackets, sorry about that.

User avatar
TheOneAndOnly-K
Regular
Posts: 78
Joined: Mon Apr 07, 2014 10:33 am
Contact:

Re: Seriously specific functions on an imagemap... ideas?

#18 Post by TheOneAndOnly-K »

Code: Select all

I'm sorry, but an uncaught exception occurred.

While parsing C:\Users\Mam\Downloads\Fish\Renpy\Game List\Anime Academy/game/screens.rpy.
TypeError: 'ScreenLangScreen' object is not iterable

What's this mean? I used this music with images

Post Reply

Who is online

Users browsing this forum: Google [Bot]