mirror of
https://github.com/ConjureETS/OuijaMTLGJ2016.git
synced 2026-03-26 03:01:06 +00:00
Merge branch 'master' of https://github.com/ConjureETS/OuijaMTLGJ2016
This commit is contained in:
commit
47e12265fb
@ -41,12 +41,11 @@ public class GUIGameplay : MonoBehaviour {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
//beardTex.Resize(10, 10);
|
//beardTex.Resize(10, 10);
|
||||||
int offset =(int) ((Screen.width - 3 * boxWidth) / 4f);
|
int offset = (int)((Screen.width - 3 * boxWidth) / 5f);
|
||||||
x += offset ;
|
x = (int) (((Screen.width - boxWidth*3) / 3 * (1+1/6) * i) + (Screen.width - boxWidth*3)/6);
|
||||||
|
|
||||||
GUI.Box(new Rect(x , 0, boxWidth, 90), beardTex, boxStyle);
|
GUI.Box(new Rect(x , 0, boxWidth, 90), beardTex, boxStyle);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
for (int j = 0;j< p.letters.Length;++j)
|
for (int j = 0;j< p.letters.Length;++j)
|
||||||
{
|
{
|
||||||
char character = (char) p.letters[j];
|
char character = (char) p.letters[j];
|
||||||
@ -57,7 +56,7 @@ public class GUIGameplay : MonoBehaviour {
|
|||||||
{
|
{
|
||||||
Color temp = GUI.color ;
|
Color temp = GUI.color ;
|
||||||
GUI.color = new Color(1f, 1f, 1f, 0.50f);
|
GUI.color = new Color(1f, 1f, 1f, 0.50f);
|
||||||
GUI.DrawTexture(new Rect(x + j * 30 + 20 , 40, 30, 30), rune);
|
GUI.DrawTexture(new Rect(x + j * 40 + 20 , 40, 40, 40), rune);
|
||||||
GUI.color = temp;
|
GUI.color = temp;
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -68,7 +67,7 @@ public class GUIGameplay : MonoBehaviour {
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
x += boxWidth;
|
//x += boxWidth;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
UnityPackages/MainMenu.unitypackage
Normal file
BIN
UnityPackages/MainMenu.unitypackage
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user