Forest_Client/Forest/Assets/Scripts/Gameplay/Constants/Constants.Level.cs

83 lines
2.3 KiB
C#
Raw Normal View History

2024-06-12 15:01:54 +08:00
namespace Framework.Constants
{
public class LevelConstants
{
//Editor随机生成最大次数
public const int MaxRandomCount = 8;
//金币相关
public const int PropPrice = 100;
public const int TimePropPrice = 50;
//多语言
public const string Chinese = "简体中文";
public const string English = "English";
//设置本地存档Key
public const string Music = "Music";
public const string Sound = "Sound";
public const string Language = "Language";
public const string FirstLaunch = "Launch";
//BI事件
public const string FteLevelSuccess = "fte_level_success_{0}";
public const string FteLevelEnter = "fte_level_enter_{0}";
//评分弹窗相关
public const string PopUpNumber = "PopUpNumber";
public const string PopUpToScore = "ToScore";
public const int PopUpLimitNumber = 8;
public const int LevelRateIndex = 4;
/// <summary>
/// 关卡选择 一页数量
/// </summary>
public const int LevelSelectCount = 15;
//通关奖励
public const int RewardCoin = 20;
//道具AddTime增加时长
public const float AddPropTime = 30;
//道具不可使用时表现颜色
public const string GrayProp = "C8C8C8FF";
//选择钉子时颜色
public const string SelectedColor = "737373FF";
//起始层数
public const int SortLayer = -8;
//给木板施加力的大小(防止木板不滑动)
public const float AddForce = 6.0f;
//钉子移动速度
public const float MoveSpeed = 6f;
//点击时的检测半径
public const float CheckRadius = 0.1f;
//hole间距
public const float Spacing = 0.35f;
2024-06-12 15:01:54 +08:00
//整体hole偏移距离
public const float Offset = 0f;
//hole半径
public const float Radius = 0.225f;
//倾斜三角形与顶点的间距
public const float SpacingOfTriangle = 0.03f;
2024-06-12 15:01:54 +08:00
//正直角三角形与底边的距离
public const float SpacingOfRightTriangle = 0.09f;
2024-06-12 15:01:54 +08:00
//木板的Hole和Hole的最大重合距离
public const float MaxDistance = 0.05f;
//关卡限时时间
public const float RemainingTime = 120f;
}
}