Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/pregame/backgrounds/kush.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<sprites> | <sprites> | ||||
<sprite name="background-kush1-1"> | <sprite name="background-kush1-1"> | ||||
<image texture="pregame/backgrounds/kush1_1.png" fixed_h_aspect_ratio="2"/> | <image | ||||
texture="pregame/backgrounds/kush1_1.png" | |||||
fixed_h_aspect_ratio="2" | |||||
round_coordinates="false" | |||||
/> | |||||
</sprite> | </sprite> | ||||
<sprite name="background-kush1-2"> | <sprite name="background-kush1-2"> | ||||
<image texture="pregame/backgrounds/kush1_2.png" fixed_h_aspect_ratio="2"/> | <image | ||||
texture="pregame/backgrounds/kush1_2.png" | |||||
fixed_h_aspect_ratio="2" | |||||
round_coordinates="false" | |||||
/> | |||||
</sprite> | </sprite> | ||||
<sprite name="background-kush1-3"> | <sprite name="background-kush1-3"> | ||||
<image texture="pregame/backgrounds/kush1_3.png" fixed_h_aspect_ratio="2"/> | <image | ||||
texture="pregame/backgrounds/kush1_3.png" | |||||
fixed_h_aspect_ratio="2" | |||||
round_coordinates="false" | |||||
Stan: So I assume by default it's true ? | |||||
/> | |||||
</sprite> | </sprite> | ||||
<sprite name="background-kush1-4"> | <sprite name="background-kush1-4"> | ||||
<image texture="pregame/backgrounds/kush1_4.png" fixed_h_aspect_ratio="2"/> | <image | ||||
texture="pregame/backgrounds/kush1_4.png" | |||||
wrap_mode="clamp_to_edge" | |||||
StanUnsubmitted Done Inline ActionsThis seemed to have no effect whatsoever' are you sure it's useful ? Stan: This seemed to have no effect whatsoever' are you sure it's useful ? | |||||
PolakrityAuthorUnsubmitted Done Inline ActionsI added this without really take account of what is it. Polakrity: I added this without really take account of what is it.
I think this wrapping effect was useful… | |||||
StanUnsubmitted Not Done Inline ActionsDo you know why, If I could clamp the sprite to the edge that would be way better than manually offsetting it. Stan: Do you know why, If I could clamp the sprite to the edge that would be way better than manually… | |||||
round_coordinates="false" | |||||
/> | |||||
</sprite> | </sprite> | ||||
</sprites> | </sprites> |
Wildfire Games · Phabricator
So I assume by default it's true ?