Jump to content
Korean Random
Aligator

Таймер боя

Recommended Posts

БЛОГОДАРЯ leecher88 УДОЛОСЬ ДОБИТСЯ МАКСИМАЛЬНОГО СХОДСТВА и спасибо Kotyarko_O за создание FragCorrelation.swf

 

 

 

ВОТ КОД ЭТОЙ КРАСИВОСТИ "battle": {
    "clanIconsFolder": "clanicons/",
    "clockFormat": "",
    "elements":[
{
    "$delay": 100,
    "leftPanel": { "state": "medium", "_y": 40 },
    "rightPanel": { "state": "medium", "_y": 40 },
    "timerBig": { "_alpha": 0 },
    "battleTimer": {
          "dotsMC": { "_height": 100, "_width": 100, "_x": 275, "_y": -10, "$textFormat": { "font": "Digiface", "size": 95} },
          "minutesMC": { "_height": 50, "_width": 50, "_x": 275, "_y": -25, "$textFormat": { "font": "Digiface", "size": 45} },
          "secondsMC": { "_height": 50, "_width": 50, "_x": null, "_y": -25, "$textFormat": { "font": "Digiface", "size": 45} }
        }
}
],

 

 

Дописать в блоке  "battle"

Edited by Aligator
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Прикольный, плюсую, если кто сможет такое сделать, сделайте пожалуйста.

Share this post


Link to post

Short link
Share on other sites

Дебаг панель от marsoff обалденная вещь))) Также плюсую!

во)) панель есть у меня)) хотелось бы ещё таймер в таклм же стиле

Share this post


Link to post

Short link
Share on other sites

Эх жаль такой бы таймер получился))) а где marsoff найти можно???


а где marsoff найти можно???

Share this post


Link to post

Short link
Share on other sites

Поробуй взять сниппет-БТ сирмакса папки конфигс:

http://dev.modxvm.com/xvm/src/44d879359c79ce134daf7ed08b1f50657c8e616b/release/configs/sirmax/sirmax-snippet-bt.xc?at=default

 

и подставь

"def": {
    "tf": {                    
      //"$log": 1,             
      "size": 30,              
      "font": "шрифт_цифрового_табло)",    // тут название своего шрифта
      "align": "center"        

Тока надо шрифт найти и установить

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

вот два похожих


у меня в блоке елементс всё прописано в самом конфиге там что именно писать

 

 

должно примерно так быть

"def": {
    "tf": {                   
      //"$log": 1,            
      "size": 30,             
      "font": "DIGIFACE)",
      "align": "center"

 

 

??


"battleTimer"{:def": {"tf": {"size": 15,"font": "DIGIFACE","align": "center"}}},  так прописовать???

Share this post


Link to post

Short link
Share on other sites

так:

"def": {
    "tf": {                   
      //"$log": 1,            
      "size": 30,             
      "font": "DIGIFACE",
      "align": "center"

то я так улыбнулся)

 

или Digiface попробуй, если не прокатит

Edited by leecher88
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

я понял)) там помойму скобок фигурных не хватает???


у меня вот так блок прописан в элиментс  XVM

 

 

"elements":[
{
    "$delay": 100,
    "leftPanel": { "state": "medium", "_y": 40 },
    "rightPanel": { "state": "medium", "_y": 40 },
    "battleTimer"{:"def": {"tf": {"size": 15,"font": "DIGIFACE","align": "center"}}},
    "timerBig": { "_alpha": 0 }
}
],


чет не хочет

Share this post


Link to post

Short link
Share on other sites

    "battleTimer"{:"def": {"tf": {"size": 15,"font": "DIGIFACE","align": "center"}}},

так не сработает

 

поробуй так:

"battleTimer": {"$textFormat": {"font": "Digiface", "color": "0xFFFFFF"}}
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

 

так не сработает

 

поробуй так:

"battleTimer": {"$textFormat": {"font": "Digiface", "color": "0xFFFFFF"}}

не хочет

Share this post


Link to post

Short link
Share on other sites

ошибок не пишет, просто ничего не меняется?

в верхнем регистре название пробовал прописать?

дома попробую проверить

Share this post


Link to post

Short link
Share on other sites

ошибок нет все методы тобой предложеные пробовал ни какого эфекта

так же вот так пробовал "battleTimer": { "$textFormat": {"font-family": "$Digiface", "color": "0xFFFFFF" }}


я вот думаю дам два цвета до начала боя красный в бою белый может гвоздь в этом???

Share this post


Link to post

Short link
Share on other sites

с $ начинаются внутренние названия шрифтов клиента, перед каждым названием шрифта не надо подставлять,

пробуй без цвета

но шрифты ведь установил?

Edited by leecher88

Share this post


Link to post

Short link
Share on other sites

В БТ надо к каждому элементу формат прикрутить:

"battleTimer": {
          "dotsMC": { "$textFormat": { "font": "Digiface", "size": 19} },
          "minutesMC": { "$textFormat": { "font": "Digiface", "size": 19} },
          "secondsMC": { "$textFormat": { "font": "Digiface", "size": 19} }

так работает, цвет игнорится

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

В БТ надо к каждому элементу формат прикрутить:

"battleTimer": {
          "dotsMC": { "$textFormat": { "font": "Digiface", "size": 19} },
          "minutesMC": { "$textFormat": { "font": "Digiface", "size": 19} },
          "secondsMC": { "$textFormat": { "font": "Digiface", "size": 19} }

так работает, цвет игнорится

ок работает ))) сейчас только не могу их на пол корпуса приподнять

Share this post


Link to post

Short link
Share on other sites

Проверь

"battleTimer": {
          "dotsMC": { "_height": 40, "_width": 40, "_x": 300, "_y": 10, "$textFormat": { "font": "Digiface", "size": 30} },
          "minutesMC": { "_height": 40, "_width": 40, "_x": 275, "_y": null, "$textFormat": { "font": "Digiface", "size": 30} },
          "secondsMC": { "_height": 40, "_width": 40, "_x": null, "_y": null, "$textFormat": { "font": "Digiface", "size": 30} }
        },

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...