- Mesaj
- 864
- Çözümler
- 21
- Beğeni
- 118
- Puan
- 559
- Ticaret Puanı
- 0
Python:
{
"name" : "RemoveButton",
"type" : "button",
"x" : 0,
"y" : BOARD_HEIGHT - 10.5,
"text" : "Remove Color",
"text_height" : 6,
"horizontal_align" : "center",
"default_image" : "d:/ymir work/ui/game/myshop_deco/select_btn_01.sub",
"over_image" : "d:/ymir work/ui/game/myshop_deco/select_btn_02.sub",
"down_image" : "d:/ymir work/ui/game/myshop_deco/select_btn_03.sub",
},
yukarıdaki kod bloğu bir buton işlevi görüyor. Ben bunun yanına sağına soluna bir bilgi yazısı eklemek istiyorum.
Örnek olarak;
aşağıdaki resimde kırmızı alan ile belirttiğim buton gibi gözüken bir soru işareti mevcut. Bu resimdeki gibi örnek bir sembolik bir resim ekliyerek oyuncu üstüne mouse getirdiğinde tooltip olarak bir yazı çıkmasını istiyorum.
Bunun hakkında ufak bir yardıma ihtiyacım var.