I am having issues with the customization of the main menu. i don't understand the imagemapping at all. Ive read the coobook multiple times and i know how its supposed to work but I do not understand how to get the coordinates for my image ( xy positions)nor where to insert the code that the cookbook provides once i do figure these out.I do know that it is pixels but i dont know how to measure exactly where they are.
as a work around I tried to use the simple mm_root to change the background to the image i wanted displayed and using a ui. button codes but another issue presented itself. although the custom button i wanted appeared. the actual "hotspot" i guess was somewhere else. so although my button image moved the clickable part is where the default renpy menu start is.
Jake posted this code:
Code: Select all
style.mm_button[u'Start Game'].background = 'mm_start_button.png'
style.mm_button[u'Start Game'].hover_background = 'mm_start_button_hover.png'
style.mm_button[u'Start Game'].xminimum = 133
style.mm_button[u'Start Game'].xmaximum = 133
style.mm_button[u'Start Game'].yminimum = 33
style.mm_button[u'Start Game'].ymaximum = 33
style.mm_button_text[u'Start Game'].color="#0000"
style.mm_button_text[u'Start Game'].size=1
Code: Select all
style.mm_button[u'Start Game'].xoffset = -450
style.mm_button[u'Start Game'].yoffset = -100
I understand the renpy codes for the actual game but when it comes to making the menu I know absolutely NOTHING. I really need someone to explain it like you explaining to an idiot. I have absolutely NO idea how this works and its very frustrating
if it helps this is what my menu is supposed to look like. I have seperate button files and everything
just to show you how stupid i am i even downloaded Mugens thing but i had no idea what to do with it D:
bonus question: I added an mp3 to play at the main menu but for some reason it keeps playing the first one second of the song over and over on loop. it's all skippy and messed up. the code i used for that was
Code: Select all
config.main_menu_music = "tam-n11.mp3"