Çözüldü Ani_Image ekledikten sonra Children üyeleri çalışmıyor

Bu konu çözüme ulaştırılmıştır. Çözüm için konuya yazılan tüm yorumları okumayı unutmayın. Eğer konudaki yorumlar sorununuzu çözmediyse yeni bir konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

jinhuza

Üye
Üye
Mesaj
30
Beğeni
1
Puan
66
Ticaret Puanı
0
Merhaba, bir guie"ye ani_image fonksiyonu girince bu gui boardına bağlı children üyeleri çalışmıyor, aslında button oldukları için üstüne tıklanmıyor. Yardımcı olabilirseniz sevinirim.
@Kaiser


Burası:
import uiScriptLocale

window = {
    "name" : "RuneWindow",

    "x" : SCREEN_WIDTH - 175 - 674,
    "y" : SCREEN_HEIGHT - 37 - 449,

    "style" : ("movable", "float",),

    "width" : 674,
    "height" : 449,

    "children" :
    (
        ## Board and buttons
        {
            "name" : "board",
            "type" : "image",
            "style" : ("attach",),

            "x" : 0,
            "y" : 0,
            
            "image" : "d:/ymir work/system_rune/bg.tga",


/// Resimler buraya eklendikten sonra aşağıda bulunan children üyeleri çalışmıyor..

            "children" :
            (
                {
                    "name" : "Exit",
                    "type" : "button",

                    "x" : 636,
                    "y" : 23,

                    #"text" : "",

                    "default_image" : "d:/ymir work/system_rune/exit_button_delete_norm.tga",
                    "over_image" : "d:/ymir work/system_rune/exit_button_delete_over.tga",
                    "down_image" : "d:/ymir work/system_rune/exit_button_delete_down.tga",
                },
                {
                    "name" : "OpenCrafting",
                    "type" : "button",

                    "x" : 431,
                    "y" : 383,

                    "text" : "  Obtain Points",

                    "default_image" : "d:/ymir work/system_rune/craft_default.tga",
                    "over_image" : "d:/ymir work/system_rune/craft_over.tga",
                    "down_image" : "d:/ymir work/system_rune/craft_down.tga",
                },
                ## Puncte
                {
                    "name" : "PuncteRune",
                    "type" : "text",

                    "x" : 192,
                    "y" : 387,

                    "text" : "123456789",
                },
                ## Esente
                {
                    "name" : "Esente",
                    "type" : "text",

                    "x" : 154,
                    "y" : 387,

                    "text" : "Points:",
                },
                ## War1
                {
                    "name" : "WarPrimulBonus",
                    "type" : "button",
                    "x" : 30,
                    "y" : 210,
                    "default_image" : "d:/ymir work/system_rune/pv1.tga",
                    "over_image" : "d:/ymir work/system_rune/pv1.tga",
                    "down_image" : "d:/ymir work/system_rune/pv1.tga",
                },
                ## War1 blocat
                {
                    "name" : "War1Blocat",
                    "type" : "button",

                    "x" : 30,
                    "y" : 210,

                    "default_image" : "d:/ymir work/system_rune/pv0.tga",
                    "over_image" : "d:/ymir work/system_rune/pv0.tga",
                    "down_image" : "d:/ymir work/system_rune/pv0.tga",
                },
                {
                    "name" : "WarPrimulBonusMake",
                    "type" : "button",

                    "x" : 63,
                    "y" : 252,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "WarPrimulText",
                    "type" : "text",

                    "x" : 45,
                    "y" : 252,

                    "text" : "0/4",
                },
                ## War2
                {
                    "name" : "WarAlDoileaBonus",
                    "type" : "button",
                    "x" : 92,
                    "y" : 210,
                    
                    "default_image" : "d:/ymir work/system_rune/patrundere1.tga",
                    "over_image" : "d:/ymir work/system_rune/patrundere1.tga",
                    "down_image" : "d:/ymir work/system_rune/patrundere1.tga",
                },
                ## War2 blocat
                {
                    "name" : "War2Blocat",
                    "type" : "button",
    
                    "x" : 92,
                    "y" : 210,

                    "default_image" : "d:/ymir work/system_rune/patrundere0.tga",
                    "over_image" : "d:/ymir work/system_rune/patrundere0.tga",
                    "down_image" : "d:/ymir work/system_rune/patrundere0.tga",
                },
                {
                    "name" : "WarAlDoileaBonusMake",
                    "type" : "button",

                    "x" : 118,
                    "y" : 252,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "WarAlDoileaText",
                    "type" : "text",

                    "x" : 101,
                    "y" : 252,

                    "text" : "0/4",
                },
                
                ## War3
                {
                    "name" : "WarAlTreileaBonus",
                    "type" : "button",
                    "x" : 30,
                    "y" : 270,

                    "default_image" : "d:/ymir work/system_rune/tarewar1.tga",
                    "over_image" : "d:/ymir work/system_rune/tarewar1.tga",
                    "down_image" : "d:/ymir work/system_rune/tarewar1.tga",
                },
                ## War3 blocat
                {
                    "name" : "War3Blocat",
                    "type" : "button",

                    "x" : 30,
                    "y" : 270,

                    "default_image" : "d:/ymir work/system_rune/tarewar0.tga",
                    "over_image" : "d:/ymir work/system_rune/tarewar0.tga",
                    "down_image" : "d:/ymir work/system_rune/tarewar0.tga",
                },
                {
                    "name" : "WarAlTreileaBonusMake",
                    "type" : "button",

                    "x" : 63,
                    "y" : 309,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "WarAlTreileaText",
                    "type" : "text",

                    "x" : 45,
                    "y" : 309,

                    "text" : "0/4",
                },
                ## War4
                {
                    "name" : "WarAlPatruleaBonus",
                    "type" : "button",

                    "x" : 92,
                    "y" : 268,

                    "default_image" : "d:/ymir work/system_rune/rezwar1.tga",
                    "over_image" : "d:/ymir work/system_rune/rezwar1.tga",
                    "down_image" : "d:/ymir work/system_rune/rezwar1.tga",
                },
                ## War4 blocat
                {
                    "name" : "War4Blocat",
                    "type" : "button",

                    "x" : 92,
                    "y" : 268,

                    "default_image" : "d:/ymir work/system_rune/rezwar0.tga",
                    "over_image" : "d:/ymir work/system_rune/rezwar0.tga",
                    "down_image" : "d:/ymir work/system_rune/rezwar0.tga",
                },
                {
                    "name" : "WarAlPatruleaBonusMake",
                    "type" : "button",

                    "x" : 118,
                    "y" : 309,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "WarAlPatruleaText",
                    "type" : "text",

                    "x" : 101,
                    "y" : 309,

                    "text" : "0/4",
                },
                ## Sura 1
                {
                    "name" : "SuraPrimulBonus",
                    "type" : "button",

                    "x" : 152,
                    "y" : 210,

                    "default_image" : "d:/ymir work/system_rune/absortie1.tga",
                    "over_image" : "d:/ymir work/system_rune/absortie1.tga",
                    "down_image" : "d:/ymir work/system_rune/absortie1.tga",
                },
                {
                    "name" : "Sura1Blocat",
                    "type" : "button",

                    "x" : 152,
                    "y" : 210,

                    "default_image" : "d:/ymir work/system_rune/absortie0.tga",
                    "over_image" : "d:/ymir work/system_rune/absortie0.tga",
                    "down_image" : "d:/ymir work/system_rune/absortie0.tga",
                },
                {
                    "name" : "SuraPrimulBonusMake",
                    "type" : "button",

                    "x" : 185,
                    "y" : 252,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "SuraPrimulText",
                    "type" : "text",

                    "x" : 169,
                    "y" : 252,

                    "text" : "0/4",
                },
                ## Sura 2
                {
                    "name" : "Sura2Bonus",
                    "type" : "button",

                    "x" : 215,
                    "y" : 210,

                    "default_image" : "d:/ymir work/system_rune/critca1.tga",
                    "over_image" : "d:/ymir work/system_rune/critca1.tga",
                    "down_image" : "d:/ymir work/system_rune/critca1.tga",
                },
                {
                    "name" : "Sura2Blocat",
                    "type" : "button",

                    "x" : 215,
                    "y" : 210,
                    "default_image" : "d:/ymir work/system_rune/critica0.tga",
                    "over_image" : "d:/ymir work/system_rune/critica0.tga",
                    "down_image" : "d:/ymir work/system_rune/critica0.tga",
                },
                {
                    "name" : "Sura2BonusMake",
                    "type" : "button",

                    "x" : 245,
                    "y" : 252,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Sura2Text",
                    "type" : "text",

                    "x" : 225,
                    "y" : 252,

                    "text" : "0/4",
                },
                
                ## Sura 3
                {
                    "name" : "Sura3Bonus",
                    "type" : "button",

                    "x" : 152,
                    "y" : 270,

                    "default_image" : "d:/ymir work/system_rune/taresura1.tga",
                    "over_image" : "d:/ymir work/system_rune/taresura1.tga",
                    "down_image" : "d:/ymir work/system_rune/taresura1.tga",
                },
                {
                    "name" : "Sura3Blocat",
                    "type" : "button",

                    "x" : 152,
                    "y" : 270,

                    "default_image" : "d:/ymir work/system_rune/taresura0.tga",
                    "over_image" : "d:/ymir work/system_rune/taresura0.tga",
                    "down_image" : "d:/ymir work/system_rune/taresura0.tga",
                },
                {
                    "name" : "Sura3BonusMake",
                    "type" : "button",

                    "x" : 185,
                    "y" : 309,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Sura3Text",
                    "type" : "text",

                    "x" : 169,
                    "y" : 309,

                    "text" : "0/4",
                },
                
                ## Sura 4
                {
                    "name" : "Sura4Bonus",
                    "type" : "button",

                    "x" : 215,
                    "y" : 270,

                    "default_image" : "d:/ymir work/system_rune/rezsura1.tga",
                    "over_image" : "d:/ymir work/system_rune/rezsura1.tga",
                    "down_image" : "d:/ymir work/system_rune/rezsura1.tga",
                },
                {
                    "name" : "Sura4Blocat",
                    "type" : "button",

                    "x" : 215,
                    "y" : 270,

                    "default_image" : "d:/ymir work/system_rune/rezsura0.tga",
                    "over_image" : "d:/ymir work/system_rune/rezsura0.tga",
                    "down_image" : "d:/ymir work/system_rune/rezsura0.tga",
                },
                {
                    "name" : "Sura4BonusMake",
                    "type" : "button",

                    "x" : 245,
                    "y" : 309,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Sura4Text",
                    "type" : "text",

                    "x" : 225,
                    "y" : 309,

                    "text" : "0/4",
                },

                ## MOB 1
                {
                    "name" : "Mob1Bonus",
                    "type" : "button",

                    "x" : 290,
                    "y" : 237,

                    "default_image" : "d:/ymir work/system_rune/metine1.tga",
                    "over_image" : "d:/ymir work/system_rune/metine1.tga",
                    "down_image" : "d:/ymir work/system_rune/metine1.tga",
                },
                {
                    "name" : "Mob1Blocat",
                    "type" : "button",

                    "x" : 290,
                    "y" : 237,

                    "default_image" : "d:/ymir work/system_rune/metine0.tga",
                    "over_image" : "d:/ymir work/system_rune/metine0.tga",
                    "down_image" : "d:/ymir work/system_rune/metine0.tga",
                },
                {
                    "name" : "Mob1BonusMake",
                    "type" : "button",

                    "x" : 323,
                    "y" : 280,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Mob1Text",
                    "type" : "text",

                    "x" : 306,
                    "y" : 280,

                    "text" : "0/4",
                },
                
                ## MOB 2
                {
                    "name" : "Mob2Bonus",
                    "type" : "button",
                    "x" : 353,
                    "y" : 237,
                    "default_image" : "d:/ymir work/system_rune/boss1.tga",
                    "over_image" : "d:/ymir work/system_rune/boss1.tga",
                    "down_image" : "d:/ymir work/system_rune/boss1.tga",
                },
                {
                    "name" : "Mob2Blocat",
                    "type" : "button",

                    "x" : 353,
                    "y" : 237,

                    "default_image" : "d:/ymir work/system_rune/boss0.tga",
                    "over_image" : "d:/ymir work/system_rune/boss0.tga",
                    "down_image" : "d:/ymir work/system_rune/boss0.tga",
                },
                {
                    "name" : "Mob2BonusMake",
                    "type" : "button",

                    "x" : 384,
                    "y" : 280,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Mob2Text",
                    "type" : "text",

                    "x" : 367,
                    "y" : 280,

                    "text" : "0/4",
                },
                ## MOB 3
                {
                    "name" : "Mob3Bonus",
                    "type" : "button",

                    "x" : 293,
                    "y" : 291,
                    "default_image" : "d:/ymir work/system_rune/mob1.tga",
                    "over_image" : "d:/ymir work/system_rune/mob1.tga",
                    "down_image" : "d:/ymir work/system_rune/mob1.tga",
                },
                {
                    "name" : "Mob3Blocat",
                    "type" : "button",

                    "x" : 293,
                    "y" : 291,

                    "default_image" : "d:/ymir work/system_rune/mob0.tga",
                    "over_image" : "d:/ymir work/system_rune/mob0.tga",
                    "down_image" : "d:/ymir work/system_rune/mob0.tga",
                },
                {
                    "name" : "Mob3BonusMake",
                    "type" : "button",

                    "x" : 323,
                    "y" : 334,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Mob3Text",
                    "type" : "text",

                    "x" : 306,
                    "y" : 334,

                    "text" : "0/4",
                },
                ## MOB 4
                {
                    "name" : "Mob4Bonus",
                    "type" : "button",

                    "x" : 353,
                    "y" : 291,

                    "default_image" : "d:/ymir work/system_rune/drop1.tga",
                    "over_image" : "d:/ymir work/system_rune/drop1.tga",
                    "down_image" : "d:/ymir work/system_rune/drop1.tga",
                },
                {
                    "name" : "Mob4Blocat",
                    "type" : "button",

                    "x" : 353,
                    "y" : 291,

                    "default_image" : "d:/ymir work/system_rune/drop0.tga",
                    "over_image" : "d:/ymir work/system_rune/drop0.tga",
                    "down_image" : "d:/ymir work/system_rune/drop0.tga",
                },
                {
                    "name" : "Mob4BonusMake",
                    "type" : "button",

                    "x" : 384,
                    "y" : 330,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Mob4Text",
                    "type" : "text",

                    "x" : 367,
                    "y" : 330,

                    "text" : "0/4",
                },
                ## Ninja 1
                {
                    "name" : "Ninja1Bonus",
                    "type" : "button",

                    "x" : 428,
                    "y" : 210,

                    "default_image" : "d:/ymir work/system_rune/miscare1.tga",
                    "over_image" : "d:/ymir work/system_rune/miscare1.tga",
                    "down_image" : "d:/ymir work/system_rune/miscare1.tga",
                },
                {
                    "name" : "Ninja1Blocat",
                    "type" : "button",

                    "x" : 428,
                    "y" : 210,

                    "default_image" : "d:/ymir work/system_rune/miscare0.tga",
                    "over_image" : "d:/ymir work/system_rune/miscare0.tga",
                    "down_image" : "d:/ymir work/system_rune/miscare0.tga",
                },
                {
                    "name" : "Ninja1BonusMake",
                    "type" : "button",

                    "x" : 459,
                    "y" : 252,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Ninja1Text",
                    "type" : "text",

                    "x" : 441,
                    "y" : 252,

                    "text" : "0/4",
                },
                ## Ninja 2
                {
                    "name" : "Ninja2Bonus",
                    "type" : "button",

                    "x" : 485,
                    "y" : 210,

                    "default_image" : "d:/ymir work/system_rune/corporala1.tga",
                    "over_image" : "d:/ymir work/system_rune/corporala1.tga",
                    "down_image" : "d:/ymir work/system_rune/corporala1.tga",
                },
                {
                    "name" : "Ninja2Blocat",
                    "type" : "button",

                    "x" : 485,
                    "y" : 210,

                    "default_image" : "d:/ymir work/system_rune/corporala0.tga",
                    "over_image" : "d:/ymir work/system_rune/corporala0.tga",
                    "down_image" : "d:/ymir work/system_rune/corporala0.tga",
                },
                {
                    "name" : "Ninja2BonusMake",
                    "type" : "button",

                    "x" : 517,
                    "y" : 252,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Ninja2Text",
                    "type" : "text",

                    "x" : 499,
                    "y" : 252,

                    "text" : "0/4",
                },
                ## Ninja 3
                {
                    "name" : "Ninja3Bonus",
                    "type" : "button",

                    "x" : 428,
                    "y" : 270,

                    "default_image" : "d:/ymir work/system_rune/tareninja1.tga",
                    "over_image" : "d:/ymir work/system_rune/tareninja1.tga",
                    "down_image" : "d:/ymir work/system_rune/tareninja1.tga",
                },
                {
                    "name" : "Ninja3Blocat",
                    "type" : "button",

                    "x" : 428,
                    "y" : 270,

                    "default_image" : "d:/ymir work/system_rune/tareninja0.tga",
                    "over_image" : "d:/ymir work/system_rune/tareninja0.tga",
                    "down_image" : "d:/ymir work/system_rune/tareninja0.tga",
                },
                {
                    "name" : "Ninja3BonusMake",
                    "type" : "button",

                    "x" : 459,
                    "y" : 309,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Ninja3Text",
                    "type" : "text",

                    "x" : 441,
                    "y" : 309,

                    "text" : "0/4",
                },
                ## Ninja 4
                {
                    "name" : "Ninja4Bonus",
                    "type" : "button",

                    "x" : 485,
                    "y" : 270,

                    "default_image" : "d:/ymir work/system_rune/rezninja1.tga",
                    "over_image" : "d:/ymir work/system_rune/rezninja1.tga",
                    "down_image" : "d:/ymir work/system_rune/rezninja1.tga",
                },
                {
                    "name" : "Ninja4Blocat",
                    "type" : "button",

                    "x" : 485,
                    "y" : 270,

                    "default_image" : "d:/ymir work/system_rune/rezninja0.tga",
                    "over_image" : "d:/ymir work/system_rune/rezninja0.tga",
                    "down_image" : "d:/ymir work/system_rune/rezninja0.tga",
                },
                {
                    "name" : "Ninja4BonusMake",
                    "type" : "button",

                    "x" : 517,
                    "y" : 309,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Ninja4Text",
                    "type" : "text",

                    "x" : 499,
                    "y" : 309,

                    "text" : "0/4",
                },
                ## Saman 1
                {
                    "name" : "Saman1Bonus",
                    "type" : "button",

                    "x" : 547,
                    "y" : 210,

                    "default_image" : "d:/ymir work/system_rune/farmec1.tga",
                    "over_image" : "d:/ymir work/system_rune/farmec1.tga",
                    "down_image" : "d:/ymir work/system_rune/farmec1.tga",
                },
                {
                    "name" : "Saman1Blocat",
                    "type" : "button",

                    "x" : 547,
                    "y" : 210,

                    "default_image" : "d:/ymir work/system_rune/farmec0.tga",
                    "over_image" : "d:/ymir work/system_rune/farmec0.tga",
                    "down_image" : "d:/ymir work/system_rune/farmec0.tga",
                },
                {
                    "name" : "Saman1BonusMake",
                    "type" : "button",

                    "x" : 580,
                    "y" : 252,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Saman1Text",
                    "type" : "text",

                    "x" : 563,
                    "y" : 252,

                    "text" : "0/4",
                },
                ## Saman 2
                {
                    "name" : "Saman2Bonus",
                    "type" : "button",

                    "x" : 607,
                    "y" : 210,

                    "default_image" : "d:/ymir work/system_rune/valatac1.tga",
                    "over_image" : "d:/ymir work/system_rune/valatac1.tga",
                    "down_image" : "d:/ymir work/system_rune/valatac1.tga",
                },
                {
                    "name" : "Saman2Blocat",
                    "type" : "button",

                    "x" : 607,
                    "y" : 210,

                    "default_image" : "d:/ymir work/system_rune/valatac0.tga",
                    "over_image" : "d:/ymir work/system_rune/valatac0.tga",
                    "down_image" : "d:/ymir work/system_rune/valatac0.tga",
                },
                {
                    "name" : "Saman2BonusMake",
                    "type" : "button",

                    "x" : 637,
                    "y" : 252,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Saman2Text",
                    "type" : "text",

                    "x" : 621,
                    "y" : 252,

                    "text" : "0/4",
                },
                ## Saman 3
                {
                    "name" : "Saman3Bonus",
                    "type" : "button",

                    "x" : 547,
                    "y" : 270,

                    "default_image" : "d:/ymir work/system_rune/taresaman1.tga",
                    "over_image" : "d:/ymir work/system_rune/taresaman1.tga",
                    "down_image" : "d:/ymir work/system_rune/taresaman1.tga",
                },
                {
                    "name" : "Saman3Blocat",
                    "type" : "button",

                    "x" : 547,
                    "y" : 270,

                    "default_image" : "d:/ymir work/system_rune/taresaman0.tga",
                    "over_image" : "d:/ymir work/system_rune/taresaman0.tga",
                    "down_image" : "d:/ymir work/system_rune/taresaman0.tga",
                },
                {
                    "name" : "Saman3BonusMake",
                    "type" : "button",

                    "x" : 580,
                    "y" : 309,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Saman3Text",
                    "type" : "text",

                    "x" : 563,
                    "y" : 309,

                    "text" : "0/4",
                },
                ## Saman 4
                {
                    "name" : "Saman4Bonus",
                    "type" : "button",
                    "x" : 607,
                    "y" : 270,

                    "default_image" : "d:/ymir work/system_rune/rezsaman1.tga",
                    "over_image" : "d:/ymir work/system_rune/rezsaman1.tga",
                    "down_image" : "d:/ymir work/system_rune/rezsaman1.tga",
                },
                {
                    "name" : "Saman4Blocat",
                    "type" : "button",

                    "x" : 607,
                    "y" : 270,

                    "default_image" : "d:/ymir work/system_rune/rezsaman0.tga",
                    "over_image" : "d:/ymir work/system_rune/rezsaman0.tga",
                    "down_image" : "d:/ymir work/system_rune/rezsaman0.tga",
                },
                {
                    "name" : "Saman4BonusMake",
                    "type" : "button",

                    "x" : 637,
                    "y" : 309,

                    "default_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "over_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                    "down_image" : "d:/ymir work/system_rune/make_pointsbutton.tga",
                },
                {
                    "name" : "Saman4Text",
                    "type" : "text",

                    "x" : 621,
                    "y" : 309,

                    "text" : "0/4",
                },
                
            ),
        },
    ),
}
 
Çözüm
Python:
            "children" :
            (
                {
                    "name" : "Exit",
                    "type" : "button",

                    "x" : 636,
                    "y" : 23,

                    #"text" : "",

                    "default_image" : "d:/ymir work/system_rune/exit_button_delete_norm.tga",
                    "over_image" : "d:/ymir work/system_rune/exit_button_delete_over.tga",
                    "down_image" : "d:/ymir work/system_rune/exit_button_delete_down.tga",
                },
               
                ## ani_image ##
                {
                    "name" : "TEST", # DÜZENLE
                    "type" : "ani_image",

                    "x" : 0, # DÜZENLE...
Python:
                {
                    "name" : "Exit",
                    "type" : "button",

                    "x" : 636,
                    "y" : 23,

                    #"text" : "",

                    "default_image" : "d:/ymir work/system_rune/exit_button_delete_norm.tga",
                    "over_image" : "d:/ymir work/system_rune/exit_button_delete_over.tga",
                    "down_image" : "d:/ymir work/system_rune/exit_button_delete_down.tga",
                },

Bunun altına eklemeyi dene
 
b
Python:
                {
                    "name" : "Exit",
                    "type" : "button",

                    "x" : 636,
                    "y" : 23,

                    #"text" : "",

                    "default_image" : "d:/ymir work/system_rune/exit_button_delete_norm.tga",
                    "over_image" : "d:/ymir work/system_rune/exit_button_delete_over.tga",
                    "down_image" : "d:/ymir work/system_rune/exit_button_delete_down.tga",
                },

Bunun altına eklemeyi dene
Bunları yer mi değiştireyim hocam

Kod:
## Board and buttons
        {
            "name" : "board",
            "type" : "image",
            "style" : ("attach",),

            "x" : 0,
            "y" : 0,
            
            "image" : "d:/ymir work/system_rune/bg.tga",


/// Resimler buraya eklendikten sonra aşağıda bulunan children üyeleri çalışmıyor..

            "children" :
            (
                {
                    "name" : "Exit",
                    "type" : "button",

                    "x" : 636,
                    "y" : 23,

                    #"text" : "",

                    "default_image" : "d:/ymir work/system_rune/exit_button_delete_norm.tga",
                    "over_image" : "d:/ymir work/system_rune/exit_button_delete_over.tga",
                    "down_image" : "d:/ymir work/system_rune/exit_button_delete_down.tga",
 
Python:
            "children" :
            (
                {
                    "name" : "Exit",
                    "type" : "button",

                    "x" : 636,
                    "y" : 23,

                    #"text" : "",

                    "default_image" : "d:/ymir work/system_rune/exit_button_delete_norm.tga",
                    "over_image" : "d:/ymir work/system_rune/exit_button_delete_over.tga",
                    "down_image" : "d:/ymir work/system_rune/exit_button_delete_down.tga",
                },
               
                ## ani_image ##
                {
                    "name" : "TEST", # DÜZENLE
                    "type" : "ani_image",

                    "x" : 0, # DÜZENLE
                    "y" : 0, # DÜZENLE

                    "delay" : 6,

                    "images" :
                    (
                        "DENEME.tga", # DÜZENLE
                        "DENEME.tga",
                        "DENEME.tga",
                },
                ## ani_image SON ##
               
                {
                    "name" : "OpenCrafting",
                    "type" : "button",

                    "x" : 431,
                    "y" : 383,

                    "text" : "  Obtain Points",

                    "default_image" : "d:/ymir work/system_rune/craft_default.tga",
                    "over_image" : "d:/ymir work/system_rune/craft_over.tga",
                    "down_image" : "d:/ymir work/system_rune/craft_down.tga",
                },
                [...]

Bu şekilde deneyebilirsin. İlgili yerleri belirttim
 
Çözüm
inventorywindowda 2 tane child var iç içe oradan kopya çekebilirsin.
 

Python:
            "children" :
            (
                {
                    "name" : "Exit",
                    "type" : "button",

                    "x" : 636,
                    "y" : 23,

                    #"text" : "",

                    "default_image" : "d:/ymir work/system_rune/exit_button_delete_norm.tga",
                    "over_image" : "d:/ymir work/system_rune/exit_button_delete_over.tga",
                    "down_image" : "d:/ymir work/system_rune/exit_button_delete_down.tga",
                },
              
                ## ani_image ##
                {
                    "name" : "TEST", # DÜZENLE
                    "type" : "ani_image",

                    "x" : 0, # DÜZENLE
                    "y" : 0, # DÜZENLE

                    "delay" : 6,

                    "images" :
                    (
                        "DENEME.tga", # DÜZENLE
                        "DENEME.tga",
                        "DENEME.tga",
                },
                ## ani_image SON ##
              
                {
                    "name" : "OpenCrafting",
                    "type" : "button",

                    "x" : 431,
                    "y" : 383,

                    "text" : "  Obtain Points",

                    "default_image" : "d:/ymir work/system_rune/craft_default.tga",
                    "over_image" : "d:/ymir work/system_rune/craft_over.tga",
                    "down_image" : "d:/ymir work/system_rune/craft_down.tga",
                },
                [...]

Bu şekilde deneyebilirsin. İlgili yerleri belirttim
Linkleri görebilmek için giriş yap veya kayıt ol.
Hocam elinize sağlık süpersiniz, bu şekilde ilk boardda ki guiyi kapatıp bunu onun koordinatlarına alma mantığı yürüteceğim sanırım ?
 
Linkleri görebilmek için giriş yap veya kayıt ol.
Hocam elinize sağlık süpersiniz, bu şekilde ilk boardda ki guiyi kapatıp bunu onun koordinatlarına alma mantığı yürüteceğim sanırım ?
Artık orası senin tercihine kalmış. Eğer arkaplan olarak kullanacaksan gui nin galihazırda ekli olan arkaplan görseli yerine bu tanımları kullanmayı deneyebilirsin. "type" falan uyarlamaları aktarman yeterli olur.
 
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst