Image map problems [solved]

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
User avatar
serusk
Newbie
Posts: 13
Joined: Sun May 15, 2011 1:33 pm
Projects: Aywen, Dorchadas
Contact:

Image map problems [solved]

#1 Post by serusk » Mon May 30, 2011 7:42 pm

I just started practicing with imagemaps, and this is how it's suppose to look:

Image
And it works perfectly untill I enter the Options' hotspot thing, and then it turns to this:
Image
:C Here's my code incase I typed something in wrong:

Code: Select all

     imagemap:
        ground "main menu.png"
        hover "main menu hover.png"
        

        hotspot (496,247,282,39) action Start()
        hotspot (533,291,199,34) action ShowMenu("load")
        hotspot (155,376,481,45) action ShowMenu("preferences")
        hotspot (155,430,481,45) action Help()
        hotspot (249,487,293,45) action Quit(confirm=False)
    
sorry if sound really stupid or if i missed something vital, I'm really new to this.
Last edited by serusk on Mon May 30, 2011 8:24 pm, edited 1 time in total.

User avatar
Aleema
Lemma-Class Veteran
Posts: 2677
Joined: Fri May 23, 2008 2:11 pm
Organization: happyB
Tumblr: happybackwards
Contact:

Re: Image map problems

#2 Post by Aleema » Mon May 30, 2011 8:18 pm

Delete your cache folder from your game folder. See if that helps.

User avatar
serusk
Newbie
Posts: 13
Joined: Sun May 15, 2011 1:33 pm
Projects: Aywen, Dorchadas
Contact:

Re: Image map problems

#3 Post by serusk » Mon May 30, 2011 8:24 pm

Thank you, It works.

Post Reply

Who is online

Users browsing this forum: proller