diff --git a/caracters/cambey.tscn b/caracters/cambey.tscn new file mode 100644 index 0000000..f1ad4ce --- /dev/null +++ b/caracters/cambey.tscn @@ -0,0 +1,84 @@ +[gd_scene load_steps=11 format=3 uid="uid://6arjqbiqy20x"] + +[ext_resource type="Texture2D" uid="uid://mm7s6bfxa4r1" path="res://sprite/camby_walking.png" id="1_2qg54"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_cuo84"] +atlas = ExtResource("1_2qg54") +region = Rect2(0, 0, 24, 24) + +[sub_resource type="AtlasTexture" id="AtlasTexture_du415"] +atlas = ExtResource("1_2qg54") +region = Rect2(0, 0, 24, 24) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xhb16"] +atlas = ExtResource("1_2qg54") +region = Rect2(0, 24, 24, 24) + +[sub_resource type="AtlasTexture" id="AtlasTexture_egt3i"] +atlas = ExtResource("1_2qg54") +region = Rect2(0, 48, 24, 24) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ww6mn"] +atlas = ExtResource("1_2qg54") +region = Rect2(0, 72, 24, 24) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kkdpt"] +atlas = ExtResource("1_2qg54") +region = Rect2(0, 96, 24, 24) + +[sub_resource type="AtlasTexture" id="AtlasTexture_2h0gi"] +atlas = ExtResource("1_2qg54") +region = Rect2(0, 120, 24, 24) + +[sub_resource type="SpriteFrames" id="SpriteFrames_06qoc"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_cuo84") +}], +"loop": true, +"name": &"idle", +"speed": 1.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_du415") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xhb16") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_egt3i") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ww6mn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kkdpt") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_2h0gi") +}], +"loop": true, +"name": &"walking", +"speed": 10.0 +}] + +[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_pgu85"] +radius = 6.0 +height = 16.0 + +[node name="Enemi" type="Node2D"] + +[node name="CharacterBody2D" type="CharacterBody2D" parent="."] + +[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="CharacterBody2D"] +sprite_frames = SubResource("SpriteFrames_06qoc") +animation = &"walking" +autoplay = "idle" +frame = 2 +frame_progress = 0.266815 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"] +position = Vector2(0, 2) +shape = SubResource("CapsuleShape2D_pgu85") diff --git a/sprite/camby_walking.png.import b/sprite/camby_walking.png.import new file mode 100644 index 0000000..2613697 --- /dev/null +++ b/sprite/camby_walking.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://mm7s6bfxa4r1" +path="res://.godot/imported/camby_walking.png-8d532908ad10405e69397d402b0afbec.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://sprite/camby_walking.png" +dest_files=["res://.godot/imported/camby_walking.png-8d532908ad10405e69397d402b0afbec.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