LD55/gander_schwartz.tscn
Stephen Seo e9bc30fd13 Work
Game now reaches the end after the guardian battle.

Work on parry system, battle system.
2024-04-14 22:21:54 +09:00

210 lines
5.2 KiB
Text

[gd_scene load_steps=23 format=3 uid="uid://ktxqc7xtqkex"]
[ext_resource type="Script" path="res://gander_schwartz.gd" id="1_6ob4s"]
[ext_resource type="Texture2D" uid="uid://cv0qw4j1q78r8" path="res://gimp/GanderSchwartz_spritesheet.png" id="1_n7bds"]
[sub_resource type="AtlasTexture" id="AtlasTexture_mj0lb"]
atlas = ExtResource("1_n7bds")
region = Rect2(16, 0, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_nj8be"]
atlas = ExtResource("1_n7bds")
region = Rect2(0, 0, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_fv2wk"]
atlas = ExtResource("1_n7bds")
region = Rect2(48, 0, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_0fiw5"]
atlas = ExtResource("1_n7bds")
region = Rect2(32, 0, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_ymdq1"]
atlas = ExtResource("1_n7bds")
region = Rect2(16, 48, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_a7slw"]
atlas = ExtResource("1_n7bds")
region = Rect2(16, 0, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_7fcfo"]
atlas = ExtResource("1_n7bds")
region = Rect2(16, 96, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_uehe8"]
atlas = ExtResource("1_n7bds")
region = Rect2(16, 0, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_h0ch1"]
atlas = ExtResource("1_n7bds")
region = Rect2(0, 48, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_cklih"]
atlas = ExtResource("1_n7bds")
region = Rect2(0, 0, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_emnkr"]
atlas = ExtResource("1_n7bds")
region = Rect2(0, 96, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_ba8ji"]
atlas = ExtResource("1_n7bds")
region = Rect2(0, 0, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_ewgtu"]
atlas = ExtResource("1_n7bds")
region = Rect2(48, 48, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_btquh"]
atlas = ExtResource("1_n7bds")
region = Rect2(48, 0, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_d26uv"]
atlas = ExtResource("1_n7bds")
region = Rect2(32, 48, 16, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_tbyxn"]
atlas = ExtResource("1_n7bds")
region = Rect2(32, 0, 16, 48)
[sub_resource type="SpriteFrames" id="SpriteFrames_i348s"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_mj0lb")
}],
"loop": true,
"name": &"facing_back",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_nj8be")
}],
"loop": true,
"name": &"facing_front",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_fv2wk")
}],
"loop": true,
"name": &"facing_left",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_0fiw5")
}],
"loop": true,
"name": &"facing_right",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ymdq1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_a7slw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7fcfo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uehe8")
}],
"loop": true,
"name": &"walking_back",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_h0ch1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cklih")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_emnkr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ba8ji")
}],
"loop": true,
"name": &"walking_front",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ewgtu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_btquh")
}],
"loop": true,
"name": &"walking_left",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_d26uv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tbyxn")
}],
"loop": true,
"name": &"walking_right",
"speed": 5.0
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_u3k2h"]
radius = 15.0
height = 80.0
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_sy0be"]
radius = 32.0
height = 126.0
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_58op3"]
radius = 13.0
height = 76.0
[node name="GanderSchwartz" type="CharacterBody2D"]
motion_mode = 1
script = ExtResource("1_6ob4s")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
position = Vector2(0, -51)
scale = Vector2(2.11, 2.11)
sprite_frames = SubResource("SpriteFrames_i348s")
animation = &"walking_front"
frame = 3
frame_progress = 0.126405
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, -40)
shape = SubResource("CapsuleShape2D_u3k2h")
[node name="ParryArea2D" type="Area2D" parent="."]
collision_layer = 4
collision_mask = 2
input_pickable = false
monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="ParryArea2D"]
position = Vector2(0, -40)
shape = SubResource("CapsuleShape2D_sy0be")
debug_color = Color(0.631373, 0.352941, 0.984314, 0.419608)
[node name="HitArea2D" type="Area2D" parent="."]
collision_layer = 4
collision_mask = 2
input_pickable = false
monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="HitArea2D"]
position = Vector2(0, -40)
shape = SubResource("CapsuleShape2D_58op3")
debug_color = Color(0.988235, 0, 0.290196, 0.419608)