mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-07 10:42:13 +08:00
feat(游戏启动): 添加火山武器资源并实现单人游戏玩家名称设置
添加火山武器的纹理资源文件及其导入配置 在单人游戏启动时设置玩家名称到MultiplayerState
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 446 B |
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ctmxadaowx5ps"
|
||||||
|
path="res://.godot/imported/Volcano.webp-89b108b3ab295cfbebc09be3474e1cea.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://resources/weapons/Volcano.webp"
|
||||||
|
dest_files=["res://.godot/imported/Volcano.webp-89b108b3ab295cfbebc09be3474e1cea.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
@@ -62,6 +62,7 @@ func startMultiplayerGame():
|
|||||||
UIState.closeCurrentPanel()
|
UIState.closeCurrentPanel()
|
||||||
func startSingleplayerGame():
|
func startSingleplayerGame():
|
||||||
MultiplayerState.isMultiplayer = false
|
MultiplayerState.isMultiplayer = false
|
||||||
|
MultiplayerState.playerName = playerNameInput.text
|
||||||
EntityBase.generatePlayer(playerNameInput.text)
|
EntityBase.generatePlayer(playerNameInput.text)
|
||||||
WorldManager.rootNode.spawnWave()
|
WorldManager.rootNode.spawnWave()
|
||||||
UIState.closeCurrentPanel()
|
UIState.closeCurrentPanel()
|
||||||
|
|||||||
Reference in New Issue
Block a user