This commit is contained in:
2025-04-26 15:44:04 -05:00
parent 8a1166fc19
commit 11605c9f17
10 changed files with 225 additions and 24 deletions

Binary file not shown.

View File

@@ -0,0 +1,28 @@
[remap]
importer="Aseprite SpriteFrames"
type="SpriteFrames"
uid="uid://b31mdngbhms7k"
path="res://.godot/imported/button.aseprite-330c6544a3de5fb54bfcd807901558f0.res"
[deps]
source_file="res://entities/button/button.aseprite"
dest_files=["res://.godot/imported/button.aseprite-330c6544a3de5fb54bfcd807901558f0.res"]
[params]
animation/default/name="default"
animation/default/direction=0
animation/default/repeat_count=0
animation/autoplay_name=""
atlas_textures/region_filter_clip_enabled=false
middle_import_script=""
post_import_script=""
sprite_sheet/edges_artifacts_avoidance_method=0
sprite_sheet/sprites_surrounding_color=Color(1, 1, 1, 0)
sprite_sheet/layout=0
sprite_sheet/max_cells_in_strip=0
sprite_sheet/trim_sprites_to_overall_min_size=true
sprite_sheet/collapse_transparent_sprites=true
sprite_sheet/merge_duplicated_sprites=true

Binary file not shown.

After

Width:  |  Height:  |  Size: 583 B

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://m8ophji4p35i"
path="res://.godot/imported/button.aseprite.png-65b0b5c35c3c69ebe0561afd09528d1a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://entities/button/button.aseprite.png"
dest_files=["res://.godot/imported/button.aseprite.png-65b0b5c35c3c69ebe0561afd09528d1a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

View File

@@ -0,0 +1,17 @@
[gd_scene load_steps=3 format=3 uid="uid://q3f3j7p3t43w"]
[ext_resource type="SpriteFrames" uid="uid://b31mdngbhms7k" path="res://entities/button/button.aseprite" id="1_4tlb3"]
[sub_resource type="CircleShape2D" id="CircleShape2D_4tlb3"]
radius = 13.0
[node name="Button" type="Node2D"]
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = ExtResource("1_4tlb3")
animation = &"Press"
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("CircleShape2D_4tlb3")