创建开始菜单面板和设置面板

- 添加 MenuForm 与 SettingForm
- 为带左右按钮的水平选择界面添加HorizonSelectGroup预制件。
- 添加游戏核心可配置项
This commit is contained in:
SepComet
2026-02-10 15:10:31 +08:00
parent 7ac832f74b
commit 13583354f9
111 changed files with 11247 additions and 755 deletions
@@ -5,7 +5,7 @@
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
namespace StarForce
namespace Definition.DataStruct
{
public class BuildInfo
{
@@ -0,0 +1,69 @@
using Definition.Enum;
namespace Definition.DataStruct
{
public struct GameSetting
{
#region SoundConfig
/// <summary>
/// 音乐音量
/// </summary>
public float BGMVolume { get; set; }
/// <summary>
/// 音效音量
/// </summary>
public float SEVolume { get; set; }
#endregion
#region GameConfig
/// <summary>
/// 允许画面震动
/// </summary>
public bool AllowShake { get; set; }
/// <summary>
/// 允许画面闪光
/// </summary>
public bool AllowBlink { get; set; }
/// <summary>
/// 对话窗口透明度
/// </summary>
public DialogWindowAlpha DialogWindowAlpha { get; set; }
/// <summary>
/// 对话播放速度
/// </summary>
public DialogPlayingSpeed PlayingSpeed { get; set; }
#endregion
#region ScreenConfig
/// <summary>
/// 屏幕分辨率
/// </summary>
public ScreenSolutionType ScreenSolution { get; set; }
/// <summary>
/// 屏幕窗口模式
/// </summary>
public ScreenWindowType ScreenWindow { get; set; }
/// <summary>
/// 垂直同步
/// </summary>
public bool VSync { get; set; }
/// <summary>
/// 抗锯齿
/// </summary>
public bool AntiAliasing { get; set; }
#endregion
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: fca4b405240141ae845bc6cbf5f7f9d2
timeCreated: 1770692998
@@ -5,7 +5,7 @@
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
namespace StarForce
namespace Definition.DataStruct
{
public class VersionInfo
{