SAIPO ba072882fa 合并分支
修改:
1.优化了一下背景枪火光,减小了虚的部分,目前用灯光来做只能做到这种效果,但是用贴图做会显得飘在上面一样。
2.更改了出字的音效,敲击键盘的声音
3.已经渲染好了新的第二段cg,加入了淡入淡出效果
4.修改了第一关的漂浮烟雾,使其...更加顺眼
5.更改了撕纸的音效

建议:
1.序章的多态似乎有些问题,过完序章战场后还是第一个状态的家里
2.被石头吸引的音效建议在语音之前加上一声 嗯? 可能会顺滑一些
3.在玩家还没修好电话线时与电报机交互,建议加入对话 “电报机没有反应,还有没有修好的地方吧。”
2021-09-11 22:39:46 +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;}
}