ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
YDrawOffset: Difference between revisions
Jump to navigation
Jump to search
Nighthawk200 (talk | contribs) m Penultimate Template Updated |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|name={{PAGENAME}} | |name={{PAGENAME}} | ||
|files={{Categ|Art(md).ini}} | |files={{Categ|Art(md).ini}} | ||
|values= | |values={{Values|int}} | ||
|default=0 | |default=0 | ||
|types= | |types=Any [[TechnoType]] art entry | ||
|ts=yes | |ts=yes | ||
|fs=yes | |fs=yes | ||
| | |hp=yes | ||
|ra2=yes | |ra2=yes | ||
|yr=yes | |yr=yes | ||
| | |ares=yes | ||
}} | }} | ||
This is a quite useful | This is a quite useful flag that can be applied to any entry in the {{Categ|Art(md).ini}} file (except infantry sequences, of course).<br> | ||
Using this | Using this flag, you can – like its name suggests – adjust the image's Y-draw offset, which basically means that you can move your image (preferably animations) up or down on the screen. | ||
Note that<br> | Note that<br> | ||
Line 19: | Line 19: | ||
'''negative''' values move the image '''up'''. | '''negative''' values move the image '''up'''. | ||
The values are measured in | The values are measured in pixels. | ||
You can avoid having to edit your SHP files in order to "move" them up or down simply by using this tag. | You can avoid having to edit your SHP files in order to "move" them up or down simply by using this flag . However, note that this will also affect how the image is layered with others. Moving the image up will cause it to be rendered on a "higher" layer (closer to the screen), and vice versa. | ||
==Note== | |||
*Images in the [[ Particles]] section will not read this tag. Although the Image in the section [[Animations]] will have this tag. | |||
==See also== | |||
* [[ZAdjust]] |
Latest revision as of 14:23, 20 September 2024
Flag: | YDrawOffset |
File(s): | Art(md).ini |
Values: | Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767. |
Default: | 0 |
Applicable to: | Any TechnoType art entry |
This is a quite useful flag that can be applied to any entry in the Art(md).ini file (except infantry sequences, of course).
Using this flag, you can – like its name suggests – adjust the image's Y-draw offset, which basically means that you can move your image (preferably animations) up or down on the screen.
Note that
positive values move the image down, while
negative values move the image up.
The values are measured in pixels.
You can avoid having to edit your SHP files in order to "move" them up or down simply by using this flag . However, note that this will also affect how the image is layered with others. Moving the image up will cause it to be rendered on a "higher" layer (closer to the screen), and vice versa.
Note
- Images in the Particles section will not read this tag. Although the Image in the section Animations will have this tag.