Roman 01a670fb19 任务:实装和完善部分音效,修复场景问题
1.实装玩家回头查看老兵出发对话的情节
2.降低了打开电报机音效的音量
3.更换第二段CG,实现淡入淡出效果
4.当玩家还没修完电话线就和电报机互动,触发对话【没修完呢】
5.将新的出字音效实装到每一个场景
6.解决如果玩家投掷过快会导致无法退出投掷状态的Bug
7.实装大部分BGM
8.给序章战场的假电报机也加上没连完线的对话
9.新增开发者捷径,如果输入。。--。直接判定打完全部句子

(*:建议把碉堡发令员的指挥做成动态的
(*:第二关的炮火已经越来越好了,但是目前只有炮火,晚上肯定也会开枪吧?希望增加一些随机快速闪烁的光源表示晚上的枪。
(*目前碉堡音效出现和消失得十分突然,建议在首尾稍微加一些淡入淡出效果
(*:建议把倒地后的机枪手也加上调查对话

xx:人声问题请待定,加上音乐后好像又不是很违和了
(*:碉堡警告音效系统做完了,但是人声感觉上非常奇怪,建议修改
(*:敌人被石头吸引系统实装完成,但是很突兀,建议还是不要出现语言了

接下来的任务:
1.实装按键引导
2.更换投掷物堆系统为火堆系统
3.实装第二关最后追逐关卡
4.制作开始界面
5.制作Thanks 4 Play

能看到效果的努力,这回有动力了吧?加油吧
2021-09-12 02:19:08 +08:00

80 lines
3.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class IndexRecoder : MonoBehaviour
{
//策划接口类储存了所有易变的数值每一项都写了toolTip谁叫我是小棉袄呢❤对了电报的字典也写在这里
// Start is called before the first frame update
[Tooltip("角色普通移动速度")]
public float playerMoveSpeed;//角色普通移动速度
[Tooltip("角色跳跃力度")]
public float playerJumpSpeed;//角色跳跃力度
[Tooltip("角色跑步的时候,速度是普通状态的多少倍")]
public float runSpeedMultiple;//角色跑步的时候,速度是普通状态的多少倍
[Tooltip("判定输入为点还是横线的界限时间")]
public float dotRoLineTime;//判定输入为点还是横线的界限时间
public Dictionary<string, string> codeBook = new Dictionary<string, string>();//摩尔斯电码字典
[Tooltip("角色修复电话线需要多长时间")]
public float TelephoneNeedTime;//角色修复电话线需要多长时间
[Tooltip("炮弹生成的最小时间间隔")]
public float bombingAreaMinimumTimeInterval;
[Tooltip("炮弹生成的最大时间间隔")]
public float bombingAreaMaximumTimeInterval;
[Tooltip("生成炮弹位置离玩家的最大偏移量")]
public float bombingAreaMaxOffSetOfShell;
[Tooltip("生成炮弹的高度")]
public float bombingAreaShellHeight;
[Tooltip("炮弹的下落速度")]
public float shellSpeed;
[Tooltip("炮弹的下落时间")]
public float shellFallingTime;
[Tooltip("炮弹阴影的震动幅度")]
public float shellShadowRangeOfChange;
// [Tooltip("炮弹阴影的Y值偏移")]
// public float shellShadowPositionYOffSet;
[Tooltip("玩家投掷角度变化的速度")]
public float rateOfChangeOfThrowingAngle;
[Tooltip("抛出投掷物的力度")]
public float strengthOfThrowing;
[SerializeField][Tooltip("演出名称,这个不给你改,这个是我做多态用的,在这里只读")]
public string stageName;
[Tooltip("CG的淡入淡出时间")]
public float CGFadeTime;
[Tooltip("该项决定所有黑幕的持续时间")]
public float blackUITime;
void Start()
{
//Destroy(FindObjectOfType<IndexRecoder>().gameObject);
GameObject.DontDestroyOnLoad(gameObject);
//开发者捷径
codeBook.Add("..--.","864246511");
codeBook.Add("--..-","02948");
//
codeBook.Add(".----","1");
codeBook.Add("..---","2");
codeBook.Add("...--","3");
codeBook.Add("....-","4");
codeBook.Add(".....","5");
codeBook.Add("-....","6");
codeBook.Add("--...","7");
codeBook.Add("---..","8");
codeBook.Add("----.","9");
codeBook.Add("-----","0");
stageName = "准备出发";
}
// Update is called once per frame
void Update()
{
}
//修改演出名称的函数,在游戏流程推进的时候用
public void ChangeStageName(string newName){stageName = newName;}
}