modify power hit range and sprite
This commit is contained in:
parent
c2e3fa2ac2
commit
6f235f99b9
6 changed files with 26 additions and 51 deletions
|
|
@ -7,8 +7,6 @@ collision_layer = 64
|
||||||
collision_mask = 0
|
collision_mask = 0
|
||||||
script = ExtResource("1_udkr8")
|
script = ExtResource("1_udkr8")
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
rotation = 1.5707964
|
rotation = 1.5707964
|
||||||
debug_color = Color(0.6205005, 0.42311785, 0.8432588, 0.41960785)
|
debug_color = Color(0.6205005, 0.42311785, 0.8432588, 0.41960785)
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 338 B |
|
|
@ -1,40 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://d3qem75thpant"
|
|
||||||
path="res://.godot/imported/power_hit.png-d86fdff5941c4bbd15b7b007109f3e9d.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://scenes/hit/assets/power_hit.png"
|
|
||||||
dest_files=["res://.godot/imported/power_hit.png-d86fdff5941c4bbd15b7b007109f3e9d.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
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
[gd_scene load_steps=4 format=3 uid="uid://d0c57c37o75b0"]
|
[gd_scene load_steps=4 format=3 uid="uid://d0c57c37o75b0"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://d3qem75thpant" path="res://scenes/hit/assets/power_hit.png" id="1_g005q"]
|
|
||||||
[ext_resource type="Script" uid="uid://b440ri3521uio" path="res://scenes/classes/hit.gd" id="1_kwsj5"]
|
[ext_resource type="Script" uid="uid://b440ri3521uio" path="res://scenes/classes/hit.gd" id="1_kwsj5"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://c6a62gvw7218s" path="res://scenes/hit/assets/hit.png" id="2_kwsj5"]
|
||||||
|
|
||||||
[sub_resource type="CircleShape2D" id="CircleShape2D_g005q"]
|
[sub_resource type="CircleShape2D" id="CircleShape2D_g005q"]
|
||||||
radius = 21.023796
|
radius = 35.014282
|
||||||
|
|
||||||
[node name="PowerHit2D" type="Area2D" groups=["hit"]]
|
[node name="PowerHit2D" type="Area2D" groups=["hit"]]
|
||||||
collision_layer = 64
|
collision_layer = 64
|
||||||
|
|
@ -14,10 +14,27 @@ power_hit = true
|
||||||
metadata/_custom_type_script = "uid://b440ri3521uio"
|
metadata/_custom_type_script = "uid://b440ri3521uio"
|
||||||
metadata/power_hit = true
|
metadata/power_hit = true
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
||||||
texture = ExtResource("1_g005q")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
rotation = 1.5707964
|
rotation = 1.5707964
|
||||||
shape = SubResource("CircleShape2D_g005q")
|
shape = SubResource("CircleShape2D_g005q")
|
||||||
debug_color = Color(0.6205005, 0.42311785, 0.8432588, 0.41960785)
|
debug_color = Color(0.6205005, 0.42311785, 0.8432588, 0.41960785)
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||||
|
position = Vector2(20, -22)
|
||||||
|
texture = ExtResource("2_kwsj5")
|
||||||
|
|
||||||
|
[node name="Sprite2D2" type="Sprite2D" parent="."]
|
||||||
|
position = Vector2(-20, -22)
|
||||||
|
texture = ExtResource("2_kwsj5")
|
||||||
|
flip_h = true
|
||||||
|
|
||||||
|
[node name="Sprite2D3" type="Sprite2D" parent="."]
|
||||||
|
position = Vector2(20, 22)
|
||||||
|
texture = ExtResource("2_kwsj5")
|
||||||
|
flip_v = true
|
||||||
|
|
||||||
|
[node name="Sprite2D4" type="Sprite2D" parent="."]
|
||||||
|
position = Vector2(-20, 22)
|
||||||
|
texture = ExtResource("2_kwsj5")
|
||||||
|
flip_h = true
|
||||||
|
flip_v = true
|
||||||
|
|
|
||||||
|
|
@ -14,12 +14,12 @@ script = ExtResource("1_dk3vy")
|
||||||
metadata/_custom_type_script = "uid://b440ri3521uio"
|
metadata/_custom_type_script = "uid://b440ri3521uio"
|
||||||
metadata/power_hit = false
|
metadata/power_hit = false
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
||||||
position = Vector2(7, -4)
|
|
||||||
texture = ExtResource("1_rmj1p")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
position = Vector2(4, 1)
|
position = Vector2(4, 1)
|
||||||
rotation = 1.5707964
|
rotation = 1.5707964
|
||||||
shape = SubResource("CapsuleShape2D_fxeki")
|
shape = SubResource("CapsuleShape2D_fxeki")
|
||||||
debug_color = Color(0.6205005, 0.42311785, 0.8432588, 0.41960785)
|
debug_color = Color(0.6205005, 0.42311785, 0.8432588, 0.41960785)
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||||
|
position = Vector2(7, -4)
|
||||||
|
texture = ExtResource("1_rmj1p")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue