diff --git a/DungeonShooting_Godot/resource/sprite/role/enemy0001/Enemy0001.png.import b/DungeonShooting_Godot/resource/sprite/role/enemy0001/Enemy0001.png.import index c36be94..b20c9a6 100644 --- a/DungeonShooting_Godot/resource/sprite/role/enemy0001/Enemy0001.png.import +++ b/DungeonShooting_Godot/resource/sprite/role/enemy0001/Enemy0001.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://chd2vtesap5cf" -path="res://.godot/imported/Enemy0001.png-148a38dfa95953b26d890356e8875de4.ctex" +path="res://.godot/imported/enemy0001.png-1247a3ddf8a1a163d812cad12c4340fd.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://resource/sprite/role/enemy0001/Enemy0001.png" -dest_files=["res://.godot/imported/Enemy0001.png-148a38dfa95953b26d890356e8875de4.ctex"] +source_file="res://resource/sprite/role/enemy0001/enemy0001.png" +dest_files=["res://.godot/imported/enemy0001.png-1247a3ddf8a1a163d812cad12c4340fd.ctex"] [params] diff --git a/DungeonShooting_Godot/resource/sprite/role/enemy0001/Enemy0001_Debris.png.import b/DungeonShooting_Godot/resource/sprite/role/enemy0001/Enemy0001_Debris.png.import index d563acf..56388a2 100644 --- a/DungeonShooting_Godot/resource/sprite/role/enemy0001/Enemy0001_Debris.png.import +++ b/DungeonShooting_Godot/resource/sprite/role/enemy0001/Enemy0001_Debris.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://d2f55lu60x64i" -path="res://.godot/imported/Enemy0001_Debris.png-ac416dc79cd3c1217b27e1ef1fbe0d0b.ctex" +path="res://.godot/imported/enemy0001_Debris.png-297a2fb6680cb862a9a085cf58f8268c.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://resource/sprite/role/enemy0001/Enemy0001_Debris.png" -dest_files=["res://.godot/imported/Enemy0001_Debris.png-ac416dc79cd3c1217b27e1ef1fbe0d0b.ctex"] +source_file="res://resource/sprite/role/enemy0001/enemy0001_Debris.png" +dest_files=["res://.godot/imported/enemy0001_Debris.png-297a2fb6680cb862a9a085cf58f8268c.ctex"] [params] diff --git a/DungeonShooting_Godot/src/framework/activity/ActivityObjectTemplate.cs b/DungeonShooting_Godot/src/framework/activity/ActivityObjectTemplate.cs deleted file mode 100644 index cea2ecc..0000000 --- a/DungeonShooting_Godot/src/framework/activity/ActivityObjectTemplate.cs +++ /dev/null @@ -1,127 +0,0 @@ -// using Godot; -// -// /// -// /// ActivityObject 节点模板对象 -// /// -// [Tool] -// public partial class ActivityObjectTemplate : Node -// { -// // /// -// // /// 默认放入的层级 -// // /// -// // [Export] public RoomLayerEnum DefaultLayer = RoomLayerEnum.NormalLayer; -// -// /// -// /// 是否是静态物体 -// /// -// [Export] public bool IsStatic = false; -// -// /// -// /// 物体初始缩放 -// /// -// [Export] public Vector2 scale = Vector2.One; -// -// /// -// /// 当前物体所属物理层 -// /// -// [Export(PropertyHint.Layers2DPhysics)] public uint collision_layer; -// -// /// -// /// 当前物体扫描的物理层 -// /// -// [Export(PropertyHint.Layers2DPhysics)] public uint collision_mask; -// -// /// -// /// 显示状态 -// /// -// [Export] public bool visible = true; -// -// /// -// /// 当前物体渲染层级 -// /// -// [Export] public int z_index; -// -// public override void _Ready() -// { -// #if TOOLS -// // 在工具模式下创建的 template 节点自动创建对应的必要子节点 -// if (Engine.IsEditorHint()) -// { -// var parent = GetParent(); -// if (parent != null) -// { -// //寻找 owner -// Node owner; -// if (parent.Owner != null) -// { -// owner = parent.Owner; -// } -// else if (Plugin.Plugin.Instance.GetEditorInterface().GetEditedSceneRoot() == this) -// { -// owner = this; -// } -// else -// { -// owner = parent; -// } -// -// var sprite = GetNodeOrNull("ShadowSprite"); -// //创建Shadow -// if (sprite == null) -// { -// sprite = new Sprite2D(); -// sprite.Name = "ShadowSprite"; -// sprite.ZIndex = -1; -// var material = -// ResourceManager.Load(ResourcePath.resource_material_Blend_tres, false); -// material.SetShaderParameter("blend", new Color(0, 0, 0, 0.47058824F)); -// material.SetShaderParameter("schedule", 1); -// sprite.Material = material; -// AddChild(sprite); -// sprite.Owner = owner; -// } -// else if (sprite.Material == null) -// { -// var material = -// ResourceManager.Load(ResourcePath.resource_material_Blend_tres, false); -// material.SetShaderParameter("blend", new Color(0, 0, 0, 0.47058824F)); -// material.SetShaderParameter("schedule", 1); -// sprite.Material = material; -// } -// -// var animatedSprite = GetNodeOrNull("AnimatedSprite"); -// //创建 Sprite2D -// if (animatedSprite == null) -// { -// animatedSprite = new AnimatedSprite2D(); -// animatedSprite.Name = "AnimatedSprite"; -// var material = -// ResourceManager.Load(ResourcePath.resource_material_Blend_tres, false); -// material.SetShaderParameter("blend", new Color(1, 1, 1, 1)); -// material.SetShaderParameter("schedule", 0); -// animatedSprite.Material = material; -// AddChild(animatedSprite); -// animatedSprite.Owner = owner; -// } -// else if (animatedSprite.Material == null) -// { -// var material = -// ResourceManager.Load(ResourcePath.resource_material_Blend_tres, false); -// material.SetShaderParameter("blend", new Color(1, 1, 1, 1)); -// material.SetShaderParameter("schedule", 0); -// animatedSprite.Material = material; -// } -// -// //创建Collision -// if (GetNodeOrNull("Collision") == null) -// { -// var co = new CollisionShape2D(); -// co.Name = "Collision"; -// AddChild(co); -// co.Owner = owner; -// } -// } -// } -// #endif -// } -// }