Better Placement

This commit is contained in:
brausjonas committed 2023-02-27 19:07:40 +01:00
1 parent f3cfdffb51
commit 51155b4e97
9 files changed
+103 -21

No files matched your search

+1 -1
View File
@@ -129,7 +129,7 @@
<workItem from="1676493059699" duration="795000" />
<workItem from="1676920253715" duration="2806000" />
<workItem from="1677436455528" duration="8395000" />
<workItem from="1677516389539" duration="4004000" />
<workItem from="1677516389539" duration="4730000" />
</task>
<servers />
</component>
@@ -146,7 +146,7 @@ Texture2D:
m_ColorSpace: 0
m_PlatformBlob:
image data: 1048576
_typelessdata: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060a0b101314130f0a090400000000000000000000000000000000000000000000000000000000000000070b0c101417191a1b1b1a191714100d0b07000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001080c0e14191a1b19140c0b0700000000000000000000000000000000000000000000000000000000000000000000000000000207090c1013151718191919191815130f0b090500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004070909080704010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060f171c1e23252625211c1b150d040000000000000000000000000000000000000000000000000000050910181d1e2326292b2c2d2d2c2b2926231f1d18100a06000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000311191e20272b2d2d2b261f1d18100300000000000000000000000000000000000000000000000000000000000000000004090a13191b1f222527292a2b2b2c2b2a2825211d1b160e09050000000000000000000000000000000000000000000000000000000000000000000000000000060a0c12171a1b1b1a1917140f0a09050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
_typelessdata: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060a0b101314130f0a090400000000000000000000000000000000000000000000000000000000000000070b0c101417191a1b1b1a191714100d0b07000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001080c0e14191a1b19140c0b0700000000000000000000000000000000000000000000000000000000000000000000000000000207090c1013151718191919191815130f0b090500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004070909080704010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060f171c1e23252625211c1b150d040000000000000000000000000000000000000000000000000000050910181d1e2326292b2c2d2d2c2b2926231f1d18100a06000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000311191e20272b2d2d2b261f1d18100300000000000000000000000000000000000000000000000000000000000000000004090a13191b1f222527292a2b2b2c2b2a2825211d1b160e09050000000000000000000000000000000000000000000000000000000000000000000000000000060a0c12171a1b1b1a1917140f0a09050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
m_StreamData:
serializedVersion: 2
offset: 0
@@ -1170,6 +1170,21 @@ MonoBehaviour:
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 47
m_Metrics:
m_Width: 36
m_Height: 64.078125
m_HorizontalBearingX: 2.15625
m_HorizontalBearingY: 63.984375
m_HorizontalAdvance: 39.15625
m_GlyphRect:
m_X: 385
m_Y: 903
m_Width: 37
m_Height: 65
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
m_CharacterTable:
- m_ElementType: 1
m_Unicode: 32
@@ -1431,6 +1446,10 @@ MonoBehaviour:
m_Unicode: 72
m_GlyphIndex: 43
m_Scale: 1
- m_ElementType: 1
m_Unicode: 76
m_GlyphIndex: 47
m_Scale: 1
m_AtlasTextures:
- {fileID: -525267011981432032}
m_AtlasTextureIndex: 0
@@ -1693,6 +1712,10 @@ MonoBehaviour:
m_Y: 818
m_Width: 61
m_Height: 78
- m_X: 378
m_Y: 896
m_Width: 50
m_Height: 78
m_FreeGlyphRects:
- m_X: 32
m_Y: 78
@@ -1918,21 +1941,25 @@ MonoBehaviour:
m_Y: 818
m_Width: 75
m_Height: 9
- m_X: 320
m_Y: 896
m_Width: 703
m_Height: 10
- m_X: 368
m_Y: 0
m_Width: 655
m_Height: 818
- m_X: 378
- m_X: 320
m_Y: 896
m_Width: 58
m_Height: 10
- m_X: 378
m_Y: 974
m_Width: 645
m_Height: 127
m_Height: 49
- m_X: 381
m_Y: 0
m_Width: 642
m_Height: 896
- m_X: 428
m_Y: 0
m_Width: 595
m_Height: 1023
m_fontInfo:
Name:
@@ -146,7 +146,7 @@ Texture2D:
m_ColorSpace: 0
m_PlatformBlob:
image data: 1048576
_typelessdata: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060a0b101314130f0a090400000000000000000000000000000000000000000000000000000000000000070b0c101417191a1b1b1a191714100d0b07000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001080c0e14191a1b19140c0b0700000000000000000000000000000000000000000000000000000000000000000000000000000207090c1013151718191919191815130f0b090500000000000000000000000000000000000000000000000000000000000000000308090a09080300000000000000000000000000000000000000000000010608080601000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060f171c1e23252625211c1b150d040000000000000000000000000000000000000000000000000000050910181d1e2326292b2c2d2d2c2b2926231f1d18100a06000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000311191e20272b2d2d2b261f1d18100300000000000000000000000000000000000000000000000000000000000000000004090a13191b1f222527292a2b2b2c2b2a2825211d1b160e0905000000000000000000000000000000000000000000000000000003090b14191c1d1c19140b080300000000000000000000000000000000060a0b14191b1b18130b0a0500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
_typelessdata: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060a0b101314130f0a090400000000000000000000000000000000000000000000000000000000000000070b0c101417191a1b1b1a191714100d0b07000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001080c0e14191a1b19140c0b0700000000000000000000000000000000000000000000000000000000000000000000000000000207090c1013151718191919191815130f0b090500000000000000000000000000000000000000000000000000000000000000000308090a09080300000000000000000000000000000000000000000000010608080601000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060f171c1e23252625211c1b150d040000000000000000000000000000000000000000000000000000050910181d1e2326292b2c2d2d2c2b2926231f1d18100a06000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000311191e20272b2d2d2b261f1d18100300000000000000000000000000000000000000000000000000000000000000000004090a13191b1f222527292a2b2b2c2b2a2825211d1b160e0905000000000000000000000000000000000000000000000000000003090b14191c1d1c19140b080300000000000000000000000000000000060a0b14191b1b18130b0a0500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
m_StreamData:
serializedVersion: 2
offset: 0
@@ -1185,6 +1185,21 @@ MonoBehaviour:
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 47
m_Metrics:
m_Width: 36
m_Height: 64.078125
m_HorizontalBearingX: 2.15625
m_HorizontalBearingY: 63.984375
m_HorizontalAdvance: 39.15625
m_GlyphRect:
m_X: 237
m_Y: 85
m_Width: 37
m_Height: 65
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
m_CharacterTable:
- m_ElementType: 1
m_Unicode: 32
@@ -1450,6 +1465,10 @@ MonoBehaviour:
m_Unicode: 72
m_GlyphIndex: 43
m_Scale: 1
- m_ElementType: 1
m_Unicode: 76
m_GlyphIndex: 47
m_Scale: 1
m_AtlasTextures:
- {fileID: -525267011981432032}
m_AtlasTextureIndex: 0
@@ -1716,6 +1735,10 @@ MonoBehaviour:
m_Y: 0
m_Width: 61
m_Height: 78
- m_X: 230
m_Y: 78
m_Width: 50
m_Height: 78
m_FreeGlyphRects:
- m_X: 32
m_Y: 78
@@ -1938,29 +1961,33 @@ MonoBehaviour:
m_Width: 842
m_Height: 62
- m_X: 238
m_Y: 78
m_Y: 156
m_Width: 785
m_Height: 232
m_Height: 154
- m_X: 243
m_Y: 78
m_Y: 156
m_Width: 780
m_Height: 309
m_Height: 231
- m_X: 270
m_Y: 78
m_Y: 156
m_Width: 753
m_Height: 388
m_Height: 310
- m_X: 278
m_Y: 0
m_Width: 745
m_Height: 78
- m_X: 280
m_Y: 0
m_Width: 743
m_Height: 466
- m_X: 217
m_Y: 78
m_Width: 806
m_Width: 13
m_Height: 1
- m_X: 230
m_Y: 78
m_Y: 156
m_Width: 793
m_Height: 155
m_Height: 77
m_fontInfo:
Name:
PointSize: 0
+26 -1
View File
@@ -87,6 +87,8 @@ public class Client : MonoBehaviour
}
}
}
int current = 1;
for (int j = 0; j < temp.Length; j++)
{
@@ -94,7 +96,30 @@ public class Client : MonoBehaviour
{
if (temp[j] == players[i])
{
playerInfoElements[i].textPlacement.text = j+1 + ".";
// playerInfoElements[i].textPlacement.text = j+1 + ".";
if (j + 1 < temp.Length)
{
if (temp[j].stars == temp[j + 1].stars && temp[j].coins == temp[j + 1].coins)
{
playerInfoElements[i].textPlacement.text = current + ".";
for (int f = 0; f < temp.Length; f++)
{
if (temp[j + 1] == players[f])
{
playerInfoElements[f].textPlacement.text = current + ".";
}
}
current += 2;
}
else
{
playerInfoElements[i].textPlacement.text = current + ".";
current++;
}
}
}
}
}
@@ -137,7 +137,9 @@ PlayerSettings:
16:9: 1
Others: 1
bundleVersion: 0.1
preloadedAssets: []
preloadedAssets:
- {fileID: -6230802382160794249, guid: 90cd1b71078984c4980fcd1aa03eaaa3, type: 2}
- {fileID: 11400000, guid: 48bf7376b3770c44cbfe3f40e77359ab, type: 2}
metroInputSource: 0
wsaTransparentSwapchain: 0
m_HolographicPauseOnTrackingLoss: 1
+1
View File
@@ -87,6 +87,7 @@
<workItem from="1675795807134" duration="411000" />
<workItem from="1676926021732" duration="612000" />
<workItem from="1677445028345" duration="816000" />
<workItem from="1677520608630" duration="13000" />
</task>
<servers />
</component>
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -10,7 +10,7 @@ import java.util.TimerTask;
public class Room
{
private Client[] players = new Client[2];
private Client[] players = new Client[3];
private Vector3[] startPositions;
private String roomCode;
private Server server;