midori walk
29
levels/talk.tscn
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
[gd_scene load_steps=2 format=3 uid="uid://cd8hd11usuhbu"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bb4sw2rhdbjbf" path="res://sprites/placeholder/face.png" id="1_3sqvt"]
|
||||||
|
|
||||||
|
[node name="Talk" type="Node2D"]
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="."]
|
||||||
|
offset_left = 511.0
|
||||||
|
offset_top = 35.0
|
||||||
|
offset_right = 767.0
|
||||||
|
offset_bottom = 291.0
|
||||||
|
texture = ExtResource("1_3sqvt")
|
||||||
|
|
||||||
|
[node name="ColorRect" type="ColorRect" parent="."]
|
||||||
|
offset_left = 41.0
|
||||||
|
offset_top = 319.0
|
||||||
|
offset_right = 1243.0
|
||||||
|
offset_bottom = 681.0
|
||||||
|
color = Color(0.254902, 0.254902, 0.254902, 1)
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="."]
|
||||||
|
offset_left = 41.0
|
||||||
|
offset_top = 319.0
|
||||||
|
offset_right = 1243.0
|
||||||
|
offset_bottom = 681.0
|
||||||
|
theme_override_font_sizes/font_size = 68
|
||||||
|
text = "Your text goes here"
|
||||||
|
horizontal_alignment = 1
|
||||||
|
vertical_alignment = 1
|
BIN
sprites/common/midori.png
Normal file
After Width: | Height: | Size: 75 KiB |
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://bkmq5ewfihvai"
|
uid="uid://dknl7c6h0at0q"
|
||||||
path="res://.godot/imported/nidle.png-4b4effa9d66f09e83225356dc7877481.ctex"
|
path="res://.godot/imported/midori.png-541694b9fef1221d8fa07dae465a3960.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://sprites/midori/nidle.png"
|
source_file="res://sprites/common/midori.png"
|
||||||
dest_files=["res://.godot/imported/nidle.png-4b4effa9d66f09e83225356dc7877481.ctex"]
|
dest_files=["res://.godot/imported/midori.png-541694b9fef1221d8fa07dae465a3960.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
111
sprites/common/midori.tscn
Normal file
|
@ -0,0 +1,111 @@
|
||||||
|
[gd_scene load_steps=9 format=3 uid="uid://cehe6sm8ly06u"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dknl7c6h0at0q" path="res://sprites/common/midori.png" id="1_hti2k"]
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dj8gt"]
|
||||||
|
size = Vector2(128, 255.5)
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_i5rhc"]
|
||||||
|
length = 0.001
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/path = NodePath("Sprite2D:frame")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PackedFloat32Array(0),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"update": 1,
|
||||||
|
"values": [2]
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_w3ius"]
|
||||||
|
resource_name = "sidle"
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/path = NodePath("Sprite2D:frame")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PackedFloat32Array(0),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"update": 1,
|
||||||
|
"values": [0]
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_u56r5"]
|
||||||
|
resource_name = "swalk"
|
||||||
|
length = 0.2
|
||||||
|
loop_mode = 1
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/path = NodePath("Sprite2D:frame")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PackedFloat32Array(0.1, 0.2),
|
||||||
|
"transitions": PackedFloat32Array(1, 1),
|
||||||
|
"update": 1,
|
||||||
|
"values": [1, 2]
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_cajcr"]
|
||||||
|
resource_name = "nidle"
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/path = NodePath("Sprite2D:frame")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PackedFloat32Array(0.2),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"update": 1,
|
||||||
|
"values": [3]
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_7lhgw"]
|
||||||
|
resource_name = "nwalk"
|
||||||
|
length = 0.2
|
||||||
|
loop_mode = 1
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/path = NodePath("Sprite2D:frame")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PackedFloat32Array(0, 0.1),
|
||||||
|
"transitions": PackedFloat32Array(1, 1),
|
||||||
|
"update": 1,
|
||||||
|
"values": [4, 5]
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_mh65y"]
|
||||||
|
_data = {
|
||||||
|
"RESET": SubResource("Animation_i5rhc"),
|
||||||
|
"nidle": SubResource("Animation_cajcr"),
|
||||||
|
"nwalk": SubResource("Animation_7lhgw"),
|
||||||
|
"sidle": SubResource("Animation_w3ius"),
|
||||||
|
"swalk": SubResource("Animation_u56r5")
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Midori" type="CharacterBody2D"]
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||||
|
texture = ExtResource("1_hti2k")
|
||||||
|
hframes = 3
|
||||||
|
vframes = 2
|
||||||
|
frame = 2
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
position = Vector2(0, 0.25)
|
||||||
|
shape = SubResource("RectangleShape2D_dj8gt")
|
||||||
|
|
||||||
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||||
|
libraries = {
|
||||||
|
"": SubResource("AnimationLibrary_mh65y")
|
||||||
|
}
|
BIN
sprites/common/midori.xcf
Normal file
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 17 KiB |
|
@ -1,34 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://bcm20qp1cqfo7"
|
|
||||||
path="res://.godot/imported/nwalk1.png-dc3c6b2b408e7b990cb64e1bca03e606.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://sprites/midori/nwalk1.png"
|
|
||||||
dest_files=["res://.godot/imported/nwalk1.png-dc3c6b2b408e7b990cb64e1bca03e606.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
|
|
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 17 KiB |
|
@ -1,34 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://dfarh1nh1hkr6"
|
|
||||||
path="res://.godot/imported/swalk1.png-0e37605b3d95d98a1826856ee27ff8fe.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://sprites/midori/swalk1.png"
|
|
||||||
dest_files=["res://.godot/imported/swalk1.png-0e37605b3d95d98a1826856ee27ff8fe.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
|
|
Before Width: | Height: | Size: 17 KiB |
|
@ -1,34 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://cvr3up04sv0lf"
|
|
||||||
path="res://.godot/imported/swalk2.png-2a5bda0c9baddddd9a1aac4b2cafb0c8.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://sprites/midori/swalk2.png"
|
|
||||||
dest_files=["res://.godot/imported/swalk2.png-2a5bda0c9baddddd9a1aac4b2cafb0c8.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
|
|
BIN
sprites/placeholder/face.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://ggtpj076umiw"
|
uid="uid://bb4sw2rhdbjbf"
|
||||||
path="res://.godot/imported/nwalk2.png-b2374c999269d4cde345c3e477459a65.ctex"
|
path="res://.godot/imported/face.png-5c2e95a83c1bd2f50674a584a2d88c4c.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://sprites/midori/nwalk2.png"
|
source_file="res://sprites/placeholder/face.png"
|
||||||
dest_files=["res://.godot/imported/nwalk2.png-b2374c999269d4cde345c3e477459a65.ctex"]
|
dest_files=["res://.godot/imported/face.png-5c2e95a83c1bd2f50674a584a2d88c4c.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
BIN
sprites/placeholder/player.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://ben8c86as6jxe"
|
uid="uid://dursxelwwxe8u"
|
||||||
path="res://.godot/imported/sidle.png-4166c81ff128a76ac7880107712c544c.ctex"
|
path="res://.godot/imported/player.png-132d3a237e614f1ef29e140714a5341a.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://sprites/midori/sidle.png"
|
source_file="res://sprites/placeholder/player.png"
|
||||||
dest_files=["res://.godot/imported/sidle.png-4166c81ff128a76ac7880107712c544c.ctex"]
|
dest_files=["res://.godot/imported/player.png-132d3a237e614f1ef29e140714a5341a.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|