Skip to content

Commit

Permalink
update chat
Browse files Browse the repository at this point in the history
  • Loading branch information
misternebula committed Sep 20, 2023
1 parent 8cc6769 commit 084d245
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file modified QSB/AssetBundles/qsb_hud
Binary file not shown.
8 changes: 4 additions & 4 deletions QSB/HUD/MultiplayerHUDManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ private void Start()
SpaceSprite = QSBCore.HUDAssetBundle.LoadAsset<Sprite>("Assets/MULTIPLAYER_UI/playerbox_space.png");
}

private const int LINE_COUNT = 11;
private const int CHAR_COUNT = 41;
private const int LINE_COUNT = 10;
private const int CHAR_COUNT = 33;
private const float FADE_DELAY = 5f;
private const float FADE_TIME = 2f;

Expand Down Expand Up @@ -115,7 +115,7 @@ public void WriteMessage(string message, Color color)
_messages.PopFromBack();
}

var currentLineIndex = 10;
var currentLineIndex = LINE_COUNT - 1;

foreach (var msg in _messages.Reverse())
{
Expand Down Expand Up @@ -283,7 +283,7 @@ private void OnWakeUp()
rect.anchorMax = new Vector2(1, 0.5f);
rect.sizeDelta = new Vector2(100, 100);
rect.anchoredPosition3D = new Vector3(-267, 0, 0);
rect.localRotation = Quaternion.Euler(0, 55, 0);
rect.localRotation = Quaternion.identity;
rect.localScale = Vector3.one;
});

Expand Down

0 comments on commit 084d245

Please sign in to comment.