Jump to content

XML:PSpc: Difference between revisions

47 bytes added ,  6 December 2023
m
oops, forgot WPge
m (correcting prev/next types in nav header)
m (oops, forgot WPge)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
==General information==
==General information==
* The XML on this page is compatible with OniSplit '''v0.9.61.0'''.
* The XML on this page is compatible with OniSplit '''v0.9.61.0'''.
* This resource uses the concept of the [[wp:9-slice scaling|nine-slice GUI]] to construct [[IGPG]]s (in-game pages), which are used by [[XML:DPge|DPges]], [[XML:HPge|HPges]], [[XML:IPge|IPges]], [[XML:OPge|OPges]], and [[XML:TxtC|TxtCs]].
* This resource uses the concept of the [[wp:9-slice scaling|nine-slice GUI]] to construct [[IGPG]]s (in-game pages), which are used by [[XML:DPge|DPge]], [[XML:HPge|HPge]], [[XML:IPge|IPge]], [[XML:OPge|OPge]], [[XML:WPge|WPge]] and [[XML:TxtC|TxtC]].
* You could attempt to simulate image alignment by using the image you want displayed as a corner, then supplying a transparent texture for the other components.
* You could attempt to simulate image alignment by using the image you want displayed as a corner, then supplying a transparent texture for the other components.
* Please note that animated TXMPs doesn't work in a PSpc.
* Please note that animated TXMPs doesn't work in a PSpc.
Line 22: Line 22:
|}
|}


There are 9 <PSpcPoint> tags under <TopLeft> and nine <PSpcPoint>s under <RightBottom>. Confusingly, the ''n''th <PSpcPoint> tag under <TopLeft> and the ''n''th <PSpcPoint> under <RightBottom> belong together, so you should think of the entries under <TopLeft> and <RightBottom> as comprising pairs of points which define a single tile out of nine. The order of the tiles is top to bottom, left to right.
There are 9 <PSpcPoint> tags under <TopLeft> and nine <PSpcPoint>s under <RightBottom>. The ''n''th <PSpcPoint> tag under <TopLeft> and the ''n''th <PSpcPoint> under <RightBottom> belong together; the entries under <TopLeft> and <RightBottom> comprise pairs of points which define a single tile out of nine (this is a bit confusing, but the XML simply reflects how Oni stores them). The order of the tiles is top to bottom, left to right.


  <?xml version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>