I give up, I want to make a nice looking shop screen to buy things. I made a screen with the image buttons. Sample
Code: Select all
image kijelolve_smallhppotion_hover = "images/boltmenu/kijelolve_smallhppotion.png"
image kijelolve_smallenergypotion_hover = "images/boltmenu/kijelolve_smallenergypotion.png"
image kijelolve_mediumhppotion_hover = "images/boltmenu/kijelolve_mediumhppotion.png"
image kijelolve_mediumenergypotion_hover = "images/boltmenu/kijelolve_mediumenergypotion.png"
image kijelolve_largehppotion_hover = "images/boltmenu/kijelolve_largehppotion.png"
image kijelolve_largeenergypotion_hover = "images/boltmenu/kijelolve_largeenergypotion.png"
image kijelolve_alsomenu_close_hover = "images/boltmenu/kijelolve_alsomenu_close.png"
screen boltvasarlas1:
add "images/boltmenu/shop_menu_buy.png"
imagebutton idle "images/boltmenu/nincskijelolve_smallhppotion.png" hover "kijelolve_smallhppotion_hover" xpos 624 ypos 57 action Function(renpy.jump, label="smallhppotion_buy")
imagebutton idle "images/boltmenu/nincskijelolve_smallenergypotion.png" hover "kijelolve_smallenergypotion_hover" xpos 25 ypos 56 action Function(renpy.jump, label="smallenergypotion_buy")
imagebutton idle "images/boltmenu/nincskijelolve_mediumhppotion.png" hover "kijelolve_mediumhppotion_hover" xpos 624 ypos 224 action Function(renpy.jump, label="mediumhppotion_buy")
imagebutton idle "images/boltmenu/nincskijelolve_mediumenergypotion.png" hover "kijelolve_mediumenergypotion_hover" xpos 25 ypos 224 action Function(renpy.jump, label="mediumenergypotion_buy")
imagebutton idle "images/boltmenu/nincskijelolve_largehppotion.png" hover "kijelolve_largehppotion_hover" xpos 623 ypos 393 action Function(renpy.jump, label="largehppotion_buy")
imagebutton idle "images/boltmenu/nincskijelolve_largeenergypotion.png" hover "kijelolve_largeenergypotion_hover" xpos 25 ypos 392 action Function(renpy.jump, label="largeenergypotion_buy")
imagebutton idle "images/boltmenu/nincskijelolve_close.png" hover "kijelolve_alsomenu_close_hover" xpos 439 ypos 545 action Jump("boltmenu")
I ran out of ideas, What could be the problem? I have a working map as the same way above, and other things with image buttons... but I can not figure it out why this is not working well...
I cleared the cache... I deleted all the rpcy files... Someone has some idea? If more information is needed I will post that.