Line 89:
Line 89:
=== Eyes ===
=== Eyes ===
+
* '''Image File(s):''' mii_eyes1.png, mii_eyes2.png, mii_eyes3.png (contains the parts for the 48 different eye types)
+
** ''Image Size:'' 324x864
+
** ''Tile Size:'' 96 tiles of 54x54 (a tile for each eye left and right)
+
** ''Tile Anchor Point:'' 18,36 (for right eyebrow) 36,36 (for left eyebrow)
+
* '''Variable(s) from libmii:'''
+
:{| cellpadding="5" cellspacing="0" border="1"
+
!align="center"|Variable
+
!align="center"|Possible Values
+
!align="center"|Notes
+
|-
+
|mii.eyeType
+
|0 - 47
+
|values DO NOT align with order of tiles (see note below)
+
|-
+
|mii.eyeRotation
+
|0 - 7
+
|each rotation value equates to 11.25 degrees
+
|-
+
|mii.eyeColor
+
|0 - 5
+
|see COLORS section below to get translation
+
|-
+
|mii.eyeSize
+
|0 - 7
+
|translates fro 30% to 100% scale in increments of 10%
+
|-
+
|mii.eyeVertPos
+
|0 - 18
+
|each step is worth 2.8 pixels
+
|-
+
|mii.eyeHorizSpacing
+
|0 - 12
+
|each step is worth 2.6 pixels
+
|}
+
* '''Notes:''' an array has been created called eyes[48]. See the ARRAYS section below for description of how this works.
+
=== Noses ===
=== Noses ===