Issue with Custom Main Menu [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
Thee Forsaken One
Regular
Posts: 196
Joined: Sun Mar 01, 2009 8:10 pm
Completed: RE: Alistair++; Backstage Pass; Three Guys That Paint; The Reject Demon Toko - Ch 0; The Menagerie
Projects: Winning Hearts; Astral Hours
Organization: Forsaken Productions
Tumblr: ForsakenProductions
Deviantart: TheeForsakenOne
Location: Scotland
Contact:

Issue with Custom Main Menu [SOLVED]

#1 Post by Thee Forsaken One »

The most frustrating thing about this issue is that it's happened to me before and I managed to fix it but I cannot remember how I did it. Anyway, this is my code and you can see the visual result in the picture below.

Any ideas how to get this to stop? I know it's not a rendering issue since I checked using shift+G.

Code: Select all

screen main_menu:

    # This ensures that any other menu screen is replaced.
    tag menu

    # Set up imagemap.
    imagemap:
        ground "gui/title_nochibi_ground.jpg"
        idle "gui/title_nochibi_idle.jpg"
        hover "gui/title_nochibi_hover.jpg"
        
        hotspot (610, 296, 238, 74) action Start()
        hotspot (637, 389, 274, 62) action ShowMenu("load")
        hotspot (674, 552, 242, 63) action ShowMenu("preferences")
        hotspot (723, 650, 158, 64) action Quit()
messedUpMenu.png
The buttons are glitching quite badly although the start and quit buttons are particularly bad. The extra button is currently not a hotspot as I'm just trying to get the primary functions working for now. I'll worry about the Extra button another time...

Any ideas how to fix this would be greatly appreciated.
Last edited by Thee Forsaken One on Sat Jul 27, 2013 6:43 pm, edited 1 time in total.

Kingv
Veteran
Posts: 324
Joined: Sun Jan 29, 2012 11:54 pm
Projects: Pet Tails, Transformation Sequence, Cheer On!
Tumblr: EphemeralBalance
Deviantart: kingv
Location: USA
Contact:

Re: Issue with Custom Main Menu

#2 Post by Kingv »

Have you tried deleting the cache folder in your game directory? I had a problem where the buttons I updated didn't show correctly even though they were properly coded and that fixed the issue.

User avatar
Thee Forsaken One
Regular
Posts: 196
Joined: Sun Mar 01, 2009 8:10 pm
Completed: RE: Alistair++; Backstage Pass; Three Guys That Paint; The Reject Demon Toko - Ch 0; The Menagerie
Projects: Winning Hearts; Astral Hours
Organization: Forsaken Productions
Tumblr: ForsakenProductions
Deviantart: TheeForsakenOne
Location: Scotland
Contact:

Re: Issue with Custom Main Menu

#3 Post by Thee Forsaken One »

Ah yes that did the trick. Thank you very much. I can't believe I didn't think of that. > <

Kingv
Veteran
Posts: 324
Joined: Sun Jan 29, 2012 11:54 pm
Projects: Pet Tails, Transformation Sequence, Cheer On!
Tumblr: EphemeralBalance
Deviantart: kingv
Location: USA
Contact:

Re: Issue with Custom Main Menu

#4 Post by Kingv »

Thee Forsaken One wrote:Ah yes that did the trick. Thank you very much. I can't believe I didn't think of that. > <
Great! Glad I could be of assistance. ^^

Post Reply

Who is online

Users browsing this forum: Google [Bot]