, hotspot
, .
, ( , , )
2 ( ), .
1) imagebutton. .. .
:
. . ,
( )
:
. 3 .
2) hotspot. 2 . , .
:
. , , , 1 .
, .. . , .
:
, . 4 1
imagemap:
Hotspot (970, 140, 270, 85)
.
1) 2 .
970 ( )
140 ( )
2) 2 (.. )
270 .
85
. >
1280 720
1 2
3 . ,
4
.
imagemap:
Hotspot (970, 140, 270, 85)
test. screens.rpy
screen main_menu: 355 : screen game_menu(title, scroll=None):
2 gui
imagemap_main_menu_unlocked_hover.png 1280 720
imagemap_main_menu_unlocked_idle.png 1280 720 (, , , )
screen main_menu:
screen main_menu:
Tag menu
imagemap:
ground 'gui/imagemap_main_menu_unlocked_idle.png'
hover 'gui/imagemap_main_menu_unlocked_hover.png'
hotspot (970, 141, 270, 85) action Start()
|
|
hotspot (970, 230, 270, 85) action ShowMenu('load')
hotspot (970, 320, 270, 85) action ShowMenu('preferences')
hotspot (970, 412, 270, 85) action Start('extras')
hotspot (970, 500, 270, 85) action Quit(confirm=False)
, :
imagemap: - ,
ground 'gui/imagemap_main_menu_unlocked _idle.png'
hover 'gui/imagemap_main_menu_unlocked_ hover.png' ( ) ( )
, , .
hotspot ( 970, 141, 270, 85 ) action Start() -
hotspot (970, 230, 270, 85) action ShowMenu('load')
hotspot (970, 320, 270, 85) action ShowMenu('preferences')
hotspot (970, 412, 270, 85) action Start('extras') ( , , , )
hotspot (970, 500, 270, 85) action Quit(confirm=False)
,
, ?
?( , )
, , . gui
tooltip_main_menu_start.png 532 58
tooltip_main_menu_quit. Png 532 58
tooltip_main_menu_load.png 532 58
tooltip_main_menu_extra.png 532 58
tooltip_main_menu_config.png 532 58
, screen.rpy
# ██▓▒░ ░▒▓████████████████████████████████████████████
#
screen gui_tooltip: