- import uiScriptLocale
- # ROOT = "d:/ymir work/ui/game/"
- FACE_SLOT_FILE = "d:/ymir work/ui/game/windows/box_face.sub"
- Y_ADD_POSITION = 0
- window = {
- "name" : "CharBar",
- "x" : 1,
- "y" : 30,
- "width" : 228,
- "height" : 125,
- "children" :
- (
- {
- "name" : "CharBar_Board",
- "type" : "image",
- "x" : 5,
- "y" : 15 + Y_ADD_POSITION,
- "width" : 228,
- "height" : 125,
- "image" : "sidebar/tb.tga",
- "children" :
- (
- ## karakter adı
- {
- "name":"NameText",
- "type":"text",
- "x":67+52,
- "y":-3+10,
- # "fontsize":"ADEM",
- "fontname":"Tahoma:16",
- "text":"1",
- # "color":0xffCFB53B,
- #"color":0xffCC9900,
- "color":0xffFDD017,
- #"color":0xffF7D54D,
- "text_horizontal_align":"center",
- },
- {
- "name" : "bos_bar_1",
- "type" : "image",
- "x" : 83,
- "y" : 37,
- "image" :"sidebar/bos_bar.tga",
- },
- {
- "name" : "hp_bar",
- "type" : "ani_image",
- "x" : 83,
- "y" : 37,
- "images" : (
- "sidebar/hp.tga",
- ),
- "children":
- (
- {
- "name":"HPtext",
- "type":"text",
- "x":65,
- "y":-2,
- "text":"1",
- # "color":0xff25BEEC,
- "color":0xffE4E6E3,
- "text_horizontal_align":"center",
- },
- ),
- },
- {
- "name" : "bos_bar_2",
- "type" : "image",
- "x" : 83,
- "y" : 57,
- "image" :"sidebar/bos_bar.tga",
- },
- {
- "name" : "sp_bar",
- "type" : "ani_image",
- "x" : 83,
- "y" : 57,
- "images" : (
- "sidebar/sp.tga",
- ),
- "children":
- (
- {
- "name":"SPtext",
- "type":"text",
- "x":65,
- "y":-2,
- "text":"1",
- "color":0xffE4E6E3,
- "text_horizontal_align":"center",
- },
- ),
- },
- {
- "name" : "bos_bar_3",
- "type" : "image",
- "x" : 84,
- "y" : 80,
- "image" :"sidebar/exp_text_bar.tga",
- },
- {
- "name" : "bos_bar_3",
- "type" : "image",
- "x" : 84,
- "y" : 77,
- "image" :"sidebar/bos_bar.tga",
- },
- {
- "name" : "menu_back", "type" : "image",
- "x" : -7, "y" : 60-15,
- #"text" : "T",
- "image" : "sidebar/menu_back.tga",
- "children" :
- (
- {
- "name" : "bonus_button", "type" : "button",
- "x" : 4, "y" : 3,
- "tooltip_text" : "Bonuslar",
- "default_image" : "sidebar/bonus_button.tga",
- "over_image" : "sidebar/bonus_button.tga",
- "down_image" : "sidebar/bonus_button.tga",
- },
- {
- "name" : "market_button", "type" : "button",
- "x" : 15, "y" : 19,
- "tooltip_text" : "Alis-Veris",
- "default_image" : "sidebar/market_button.tga",
- "over_image" : "sidebar/market_button.tga",
- "down_image" : "sidebar/market_button.tga",
- },
- {
- "name" : "time_button", "type" : "button",
- "x" : 32, "y" : 30,
- "tooltip_text" : "Tarih Bilgisi",
- "default_image" : "sidebar/clock_button.tga",
- "over_image" : "sidebar/clock_button.tga",
- "down_image" : "sidebar/clock_button.tga",
- },
- )
- },
- {
- "name" : "Face_Image",
- "type" : "image",
- "x" : 1, "y" : -14,
- "width" : 22,
- "height" : 22,
- "image" : "d:/ymir work/ui/game/windows/face_warrior.sub",
- },
- ## Header
- {
- "name":"Levelim", "type":"window", "x":9, "y":30, "width":37, "height":42,
- "children" :
- (
- {
- "name" : "level_background", "type" : "image",
- "x" : 46, "y" : 30,
- "image" : "sidebar/level_round.tga",
- "children" :
- (
- {
- "name":"Level_Value",
- "type":"text",
- "x":0,
- "y":0,
- "text":"1",
- "color":0xffFDD017,
- "text_horizontal_align":"center",
- "all_align" : "center",
- },
- ),
- },
- ),
- },
- {
- "name":"Bilgiler", "type":"window", "x":9, "y":30, "width":37, "height":42,
- "children" :
- (
- {
- "name":"bilgi_head",
- "type":"image",
- "x":2, "y":83,
- "image":"sidebar/tablo.tga",
- "children" :
- (
- {
- "name":"time",
- "type":"text",
- "x":108,
- "y":5,
- "text":"1",
- "color":0xffFDD017,
- "text_horizontal_align":"center",
- },
- ),
- },
- ),
- },
- ),
- },
- {
- "name" : "ToolTipTest",
- "x" : 0,
- "y" : 0,
- "width" : 50,
- "height" : 10,
- "type" : "window",
- },
- #
- ),
- }