1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

[UI] Trying to show an image

Discussion in 'Mod Creation Help' started by frutiemax, Jan 3, 2020.

Tags:
  1. frutiemax

    frutiemax Chieftain

    Joined:
    Jan 19, 2015
    Messages:
    53
    I am able to show a label on the screen but now I'm trying with an image but I can't seem to make it work, and I am a little bit blind because I can't find the log that shows the error.

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    
    <Context Name="MyNewScreen">
        <Container ID="Frame" Anchor="C,C">
            <Label ID="MyText" Align="Center" Anchor="R,B" String="My New Screen" Offset="100,6"/>
            <Image ID="MyImage" Align="Center" Anchor="C,C" Texture="Textures/Penguin.dds"/>
        </Container>
    </Context>
    I have a Penguin.dds and it's 256x256. Relative to the XML file, it is in the Textures folder. I am really not sure how to debug and make this work. Do I need the asset editor?
     

Share This Page