Skip to content

Commit

Permalink
Arc color correction + Some small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yojohanshinwataikei committed Mar 5, 2020
1 parent 8c28b48 commit b521918
Show file tree
Hide file tree
Showing 12 changed files with 214 additions and 81 deletions.
2 changes: 1 addition & 1 deletion Assets/Materials/Player/Track.mat
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Material:
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _Speed: 0
- _Speed: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Misc/BuildTimestamp.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
637190312010828195
637190459757934719
6 changes: 5 additions & 1 deletion Assets/Misc/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
进行了以下的小修改
Arc 的颜色现在会随着高度变化了
除此之外进行了以下的小修改
- 修复了镜像操作错误显示为复制的问题
- 修复了文本高度计算错误, 导致的顶端弹出提示停留时间过长的问题
- 改善了网格线设置的默认参数, 不再包括 -0.2 处的横线, 老用户需要手动重新设置
- 修复了多处 UI 排版问题
- 通过更改皮肤材质的 mipmap 等级, 缓解了天键发糊的问题 (可能会导致更吃显卡)
- 加载谱面时的转场音效现在受谱面音量变化了
- 调整了选中的 Arc 的颜色
以下是最近一次大更新的更新记录
---
欢迎来到第一个版本的 Arcade-plus !
Expand Down
11 changes: 3 additions & 8 deletions Assets/Prefabs/Player/Arc.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ MonoBehaviour:
shadowMaterial: {fileID: 2100000, guid: 82043575658889a4bafb43f4397fe61e, type: 2}
SegmentPrefab: {fileID: 1374156918699440, guid: 65a6ec2a7d2a9b1419fa573cc455d902,
type: 3}
ArcRed: {r: 1, g: 0.5882353, b: 0.8627451, a: 1}
ArcBlue: {r: 0.047058824, g: 0.83137256, b: 0.83137256, a: 1}
ArcGreen: {r: 0.13725491, g: 1, b: 0.42352942, a: 1}
ArcVoid: {r: 0.5686275, g: 0.47058824, b: 0.6666667, a: 1}
ShadowColor: {r: 0.3529412, g: 0.3529412, b: 0.3529412, a: 0.3529412}
ArcCollider: {fileID: 64321634845165700}
HeadCollider: {fileID: 64226225488760392}
HeadFilter: {fileID: 33427256565974668}
Expand Down Expand Up @@ -465,8 +460,8 @@ ParticleSystem:
startColor:
serializedVersion: 2
minMaxState: 2
minColor: {r: 0.3392157, g: 0.5392157, b: 0.79019606, a: 0.5}
maxColor: {r: 0.5392157, g: 0.73921573, b: 0.9901961, a: 2}
minColor: {r: 0.3, g: 0.1, b: 0.3, a: 0.5}
maxColor: {r: 0.5, g: 0.3, b: 0.5, a: 2}
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
Expand Down Expand Up @@ -1548,7 +1543,7 @@ ParticleSystem:
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
key1: {r: 0.54901963, g: 0.6392157, b: 0.8901961, a: 1}
key1: {r: 0.4, g: 0.2, b: 0.8, a: 1}
key2: {r: 0, g: 0, b: 0, a: 0}
key3: {r: 0, g: 0, b: 0, a: 0}
key4: {r: 0, g: 0, b: 0, a: 0}
Expand Down
2 changes: 2 additions & 0 deletions Assets/Scripts/Compose/AdeSkinHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -857,13 +857,15 @@ private Texture2D LoadTexture2D(string path, List<UnityEngine.Object> resourceLi
{
return null;
}
//TODO: Completly remove mipmap after GPU optimize
Texture2D texture = new Texture2D(1, 1);
bool success = ImageConversion.LoadImage(texture, file, true);
if (success)
{
resourceList.Add(texture);
texture.wrapMode = TextureWrapMode.Clamp;
texture.name = path;
texture.mipMapBias=-4;
return texture;
}
else
Expand Down
5 changes: 3 additions & 2 deletions Assets/Scripts/Compose/UI/AdeShutterManager.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Collections;
using UnityEngine;
using DG.Tweening;
using Arcade.Compose.Dialog;

namespace Arcade.Compose
{
Expand Down Expand Up @@ -28,13 +29,13 @@ public void Open()
{
Left.DOAnchorPosX(-1165, Duration).SetEase(Ease.InCubic);
Right.DOAnchorPosX(459, Duration).SetEase(Ease.InCubic);
AudioSource.PlayClipAtPoint(OpenAudio, new Vector3());
AudioSource.PlayClipAtPoint(OpenAudio, new Vector3(),AdeSoundDialog.Instance.ChartSource.volume);
}
public void Close()
{
Left.DOAnchorPosX(0, Duration).SetEase(Ease.OutCubic);
Right.DOAnchorPosX(0, Duration).SetEase(Ease.OutCubic);
AudioSource.PlayClipAtPoint(CloseAudio, new Vector3());
AudioSource.PlayClipAtPoint(CloseAudio, new Vector3(),AdeSoundDialog.Instance.ChartSource.volume);
}
public IEnumerator OpenCoroutine()
{
Expand Down
Loading

0 comments on commit b521918

Please sign in to comment.