Решено LoadingScreen и Panorama в целом

EndBringer

Самый "везучий" кастомкодел
17 Мар 2019
70
16
steamcommunity.com
Извиняюсь за дилетантский вопрос, открыл кучу тем на КГ, на гите связанных с панорамой.
За основу взял гайд
Спасибо за гайд!
Взял код лоадинг скрина с гита
XML:
<root>
     <styles>
        <include src="file://{resources}/styles/custom_game/custom_loading_screen.css" />
    </styles>

    <script>
        var tipCount = 14
        $("#Tip").text = $.Localize("#lia_tip" + Math.floor( ( Math.random() * tipCount ) + 1) )
    </script>

    <Panel>
        
        <Image id="image_bg" class="ImageBg" src="file://{images}/custom_game/loading_screen/loadscreen.psd" scaling="stretch-to-fit-y-preserve-aspect" />

        <Panel id="TipContainer">
            <Label id="Tip" multiline="true" text="#lia_tip1"/>
        </Panel>

    <!--    <Image src="file://{images}/items/lia_demon_edge.png" />-->


    </Panel>
</root>
Создал дерево из туториалов

2019-11-10_03-13-12.png

Всё вроде как вставил правильно и получаю это
2019-11-10_03-07-30.png
 

DDSuper

Друзья CG
31 Май 2019
405
57
Извиняюсь за дилетантский вопрос, открыл кучу тем на КГ, на гите связанных с панорамой.
За основу взял гайд
Спасибо за гайд!
Взял код лоадинг скрина с гита
XML:
<root>
     <styles>
        <include src="file://{resources}/styles/custom_game/custom_loading_screen.css" />
    </styles>

    <script>
        var tipCount = 14
        $("#Tip").text = $.Localize("#lia_tip" + Math.floor( ( Math.random() * tipCount ) + 1) )
    </script>

    <Panel>
    
        <Image id="image_bg" class="ImageBg" src="file://{images}/custom_game/loading_screen/loadscreen.psd" scaling="stretch-to-fit-y-preserve-aspect" />

        <Panel id="TipContainer">
            <Label id="Tip" multiline="true" text="#lia_tip1"/>
        </Panel>

    <!--    <Image src="file://{images}/items/lia_demon_edge.png" />-->


    </Panel>
</root>
Создал дерево из туториалов

Посмотреть вложение 723

Всё вроде как вставил правильно и получаю это
Посмотреть вложение 724
Такое было, ну что же. Попробуй изменить файл vcss_c. Особо мне помогало
И то это на 3 строке написано

<include src="file://{resources}/styles/custom_game/custom_loading_screen.css" />
 
Реклама: