Sprites can now be rendered with the texture ratio in mind

This commit is contained in:
Tleety
2016-03-09 23:31:54 +01:00
parent 087facc22e
commit 592edf7dba
5 changed files with 21 additions and 6 deletions
+1
View File
@@ -7,5 +7,6 @@
<DepthSort>true</DepthSort>
<KeepRatioX>false</KeepRatioX>
<KeepRatioY>false</KeepRatioY>
<KeepRatio>false</KeepRatio>
<BlurBackground>false</BlurBackground>
</Sprite>
+3
View File
@@ -30,6 +30,9 @@
<xs:element name="KeepRatioY" type="t:bool" minOccurs="0">
<xs:annotation><xs:documentation>Wether the sprite should repeat in y instead of stretch when scaled.</xs:documentation></xs:annotation>
</xs:element>
<xs:element name="KeepRatio" type="t:bool" minOccurs="0">
<xs:annotation><xs:documentation>Keep a 1:1 ratio between X and Y.</xs:documentation></xs:annotation>
</xs:element>
<xs:element name="BlurBackground" type="t:bool" minOccurs="0">
<xs:annotation><xs:documentation>Wether the background should be blurred begind this sprite.</xs:documentation></xs:annotation>
</xs:element>