Skip to content

Commit f0bef68

Browse files
committed
发布Beta V0.4.1版本
1 parent 5728a64 commit f0bef68

24 files changed

Lines changed: 113 additions & 59 deletions

Doc/DemoImage/BetaV0.4.1.png

2.02 MB
Loading
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Doc/DemoImage/BetaV0.4_1.png

-1.78 MB
Binary file not shown.

Fantasy Skybox FREE/Materials/FS003/FS003_Rainy.mat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Material:
6060
- _Cutoff: 0.5
6161
- _DetailNormalMapScale: 1
6262
- _DstBlend: 0
63-
- _Exposure: 0.8
63+
- _Exposure: 1
6464
- _GlossMapScale: 1
6565
- _Glossiness: 0.5
6666
- _GlossyReflections: 1
@@ -72,7 +72,7 @@ Material:
7272
- _Mode: 0
7373
- _OcclusionStrength: 1
7474
- _Parallax: 0.02
75-
- _Rotation: 103
75+
- _Rotation: 99
7676
- _SmoothnessTextureChannel: 0
7777
- _SpecularHighlights: 1
7878
- _SrcBlend: 1

Low Poly FPS Pack - Free (Sample)/Components/Scripts/Weapon_Scripts/HandgunScriptLPFP.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ public class soundClips
177177
public AudioClip reloadSoundOutOfAmmo;
178178
public AudioClip reloadSoundAmmoLeft;
179179
public AudioClip aimSound;
180+
public AudioClip cutWatermelon;
180181
}
181182
public soundClips SoundClips;
182183

@@ -780,11 +781,22 @@ private void KnifeAttack()
780781

781782
if (go.CompareTag("Watermelon"))
782783
{
784+
PlayAudioOnMainAudioSource(SoundClips.cutWatermelon,0.1f);
783785
go.GetComponent<Watermelon>().Explode();
784786
}
785787
}
786788
}
787789

790+
/**
791+
* 在MainAudioSource上播放音乐
792+
*/
793+
private void PlayAudioOnMainAudioSource(AudioClip audioClip, float time = 0)
794+
{
795+
mainAudioSource.clip = audioClip;
796+
mainAudioSource.time = time;
797+
mainAudioSource.Play();
798+
}
799+
788800
/**
789801
* Call this function when reload animation was finish.
790802
*/

Prefabs/Player/FPSController.prefab

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14350,6 +14350,7 @@ MonoBehaviour:
1435014350
reloadSoundAmmoLeft: {fileID: 8300000, guid: b0d51244fd32fc647960320540b32f66,
1435114351
type: 3}
1435214352
aimSound: {fileID: 8300000, guid: acaebc89b98b82142bd2b24edb6081e4, type: 3}
14353+
cutWatermelon: {fileID: 8300000, guid: bc02ce39d1b664d4dbf26ba8f236bf57, type: 3}
1435314354
--- !u!82 &8564838498395025476
1435414355
AudioSource:
1435514356
m_ObjectHideFlags: 0
@@ -72571,6 +72572,7 @@ MonoBehaviour:
7257172572
reloadSoundAmmoLeft: {fileID: 8300000, guid: b0d51244fd32fc647960320540b32f66,
7257272573
type: 3}
7257372574
aimSound: {fileID: 8300000, guid: acaebc89b98b82142bd2b24edb6081e4, type: 3}
72575+
cutWatermelon: {fileID: 8300000, guid: bc02ce39d1b664d4dbf26ba8f236bf57, type: 3}
7257472576
--- !u!82 &8460314511011840837
7257572577
AudioSource:
7257672578
m_ObjectHideFlags: 0

Prefabs/UI/Global/NormalButton.prefab

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ MonoBehaviour:
174174
m_Name:
175175
m_EditorClassIdentifier:
176176
m_Material: {fileID: 0}
177-
m_Color: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
177+
m_Color: {r: 0.94509804, g: 0.94509804, b: 0.94509804, a: 1}
178178
m_RaycastTarget: 1
179179
m_OnCullStateChanged:
180180
m_PersistentCalls:

Prefabs/UI/Start/ProducerPanel.prefab

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ MonoBehaviour:
466466
m_Name:
467467
m_EditorClassIdentifier:
468468
m_Material: {fileID: 0}
469-
m_Color: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
469+
m_Color: {r: 0.94509804, g: 0.94509804, b: 0.94509804, a: 1}
470470
m_RaycastTarget: 1
471471
m_OnCullStateChanged:
472472
m_PersistentCalls:

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
想要试玩的同学,[点击这里下载](https://github.com/Zhao-666/CodeFPS/releases/download/BetaV0.4/CodeFPSBetaV0.4.rar)
1010
## 效果图
11-
**版本:BetaV0.4**
11+
**版本:BetaV0.4.1**
1212

1313
场景:游戏开始界面
14-
![例图3](https://github.com/Zhao-666/CodeFPS/blob/master/Doc/DemoImage/BetaV0.4_1.png)
14+
![例图3](https://github.com/Zhao-666/CodeFPS/blob/master/Doc/DemoImage/BetaV0.4.1.png)
1515

1616
**版本:BetaV0.2**
1717

@@ -57,6 +57,13 @@
5757
- Low Poly Western Saloon
5858

5959
### 版本规划
60+
#### Beta V0.4.1(已发布,2021-11-02)
61+
**主体功能**
62+
- 修复手枪状态下切西瓜没有声音的bug
63+
- 调整场景物件
64+
65+
**GUI功能**
66+
- 优化文字颜色,提高亮度
6067
#### Beta V0.4(已发布,2021-11-01)
6168
**主体功能**
6269
- 增加G36C、USP、MP5枪械
@@ -201,6 +208,12 @@
201208
- 实战训练计时功能
202209

203210
## 更新日志
211+
### 2021-11-02
212+
1. 优化文字颜色,提高亮度(0.5h)
213+
2. 修复手枪状态下切西瓜没有声音的bug(0.5h)
214+
3. 场景优化(1h)
215+
4. 发布Beta v0.4.1版本
216+
204217
### 2021-11-01
205218
1. 优化G36C模型(1h)
206219
- 调节主摄像机FOV,增加视野距离。

0 commit comments

Comments
 (0)