Pref File โ
Sometimes the default rendering settings for your sprites may not be ideal. Customize them by creating a .pref file with the same filename as your sprite.
Open it with Notepad or any text editor; it uses INI format.
ini
x = 0
y = 0
z = 0
pivotX = 0
pivotY = 0
shadow = 0
shadowX = 0
shadowY = 0
shadowRX = 0
shadowRY = 0
shadowBX = 0
shadowBY = 0
shadowBRX = 0
shadowBRY = 0
height = 0
heightFix = 0
scaleIcon = -40
liquidMod = 0
liquidModMax = 0
hatY = 0
equipX = 0
equipY = 0
stackX = 0You may omit any unused fields. ; comments can also be used.
x,y,zposition offsetpivotX,pivotYpivot offset, used on small sprites such as resident board avatarshadowShadowData idshadowX,shadowYshadow position offsetshadowRX,shadowRYshadow reverseshadowBX,shadowBYshadow backshadowBRX,shadowBRYshadow back reverseheighttile height modifierheightFixtext component height offset (floating little widgets)scaleIconicon size scalingliquidModtile liquid level modifier; can be negativeliquidModMaxtile liquid level maxhatYhat renderer y position offsetequipX,equipYheld position offsetstackXtile stacking x position offset
Shadow Data ID โ
| id | name |
|---|---|
| 0 | default |
| 1 | no shadow |
| 17 | pillar |
| 18 | altar |
| 19 | cabinet |
| 20 | bed |
| 21 | counter |
| 22 | gacha |
| 23 | tree |
| 24 | screen |
| 25 | safe |
| 26 | vendor |
| 27 | straw |
| 28 | grave |
| 29 | thin |
| 30 | tree0 |
| 31 | tree1 |
| 32 | tree2 |
| 33 | tree3 |
| 34 | tree4 |
| 35 | tree5 |
| 36 | tree6 |
| 37 | pillar |
| 38 | big table |
| 39 | big table2 |
| 40 | counter2 |
| 41 | door |
| 42 | thin2 |
| 43 | square |
| 44 | boss1 |
| 45 | boss2 |
| 47 | corner |
| 48 | ceil |
| 49 | big |
| 50 | bridge |
| 51 | long |
| 52 | long2 |