Jump to content
Korean Random

Recommended Posts

Здравствуйте,подскажите как поменять шрифт ОТЛЕТАЮЩЕГО УРОНА?

 

Share this post


Link to post

Short link
Share on other sites

Здравствуйте,подскажите как поменять шрифт ОТЛЕТАЮЩЕГО УРОНА?

В файле markersAliveNormal.xc и markersAliveExtended.xc есть секция  // Всплывающий урон. в начале файла.

 

Нужно поменять: 

    "font": {
      "name": "$FieldFont",           // Font name      / Название

на что нибудь типа: 

    "font": {
      "name": "PT Sans",              // Font name      / Название

P.S. Если есть необходимость можно поиграться с размером, выравниванием, жирностью, наклонностью и тенью(поля ниже).

Share this post


Link to post

Short link
Share on other sites

В файле markersAliveNormal.xc и markersAliveExtended.xc есть секция  // Всплывающий урон. в начале файла.

 

Нужно поменять: 

    "font": {
      "name": "$FieldFont",           // Font name      / Название

на что нибудь типа: 

    "font": {
      "name": "PT Sans",              // Font name      / Название

P.S. Если есть необходимость можно поиграться с размером, выравниванием, жирностью, наклонностью и тенью(поля ниже).

Спасибо!А шрифты можно любые которые установлены на компе,брать?

Edited by CTADO

Share this post


Link to post

Short link
Share on other sites

 

 

Спасибо!А шрифты можно любые которые установлены на компе,брать?
 

Да

Share this post


Link to post

Short link
Share on other sites

 

Да

 

А как "ЖИРНЫЙ" активировать?

 

// Параметры шрифта.

    "font": {

      "name": "Junegull-Regular",           // Font name      / Название

      "size": 30,                     // Font size      / Размер

      "align": "center",              // Text alignment (left, center, right) /   Выравнивание текста (left, center, right)

      "bold": false,                  // True - bold    / Жирный.

      "italic": false                 // True - italic  / Курсив.

    },

Share this post


Link to post

Short link
Share on other sites
"bold": true,

Спасибо,а почему если написать "True" с большой выдаёт ошибку?

Share this post


Link to post

Short link
Share on other sites

Спасибо,а почему если написать "True" с большой выдаёт ошибку?

Python - регистрозависимый язык.

Share this post


Link to post

Short link
Share on other sites

Python - регистрозависимый язык.

 

Думаю не в питоне дело :) Он то как раз True любит

>>> True
True
>>> true
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'true' is not defined
 

Share this post


Link to post

Short link
Share on other sites

Да, тут скорее всего дело не в питоне, а в формате JSON, который требует именно true. Парсер JSON-формата, который используется в питоне, отказывается десериализовывать невалидные данные.

Edited by norkas

Share this post


Link to post

Short link
Share on other sites

 

 

Да, тут скорее всего дело не в питоне, а в формате JSON, который требует именно true.
Во

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...