create power hit scene

This commit is contained in:
yuki 2025-11-17 20:33:27 -03:00
parent cdd72fc6ea
commit 2e48563b6a
4 changed files with 59 additions and 0 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

View file

@ -0,0 +1,40 @@
[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

19
scenes/hit/power_hit.tscn Normal file
View file

@ -0,0 +1,19 @@
[gd_scene load_steps=3 format=3 uid="uid://d0c57c37o75b0"]
[ext_resource type="Texture2D" uid="uid://d3qem75thpant" path="res://scenes/hit/assets/power_hit.png" id="1_g005q"]
[sub_resource type="CircleShape2D" id="CircleShape2D_g005q"]
radius = 21.023796
[node name="Hit" type="Area2D" groups=["hit"]]
collision_layer = 64
collision_mask = 0
metadata/power_hit = true
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_g005q")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.5707964
shape = SubResource("CircleShape2D_g005q")
debug_color = Color(0.6205005, 0.42311785, 0.8432588, 0.41960785)