Updated survivor artwork and collision

This commit is contained in:
Henry 2026-05-10 16:22:22 +01:00
parent a95eaa4dfb
commit 7060f2f9a1
8 changed files with 132 additions and 14 deletions

View file

@ -1,28 +1,58 @@
[gd_scene format=3 uid="uid://bedp5mlcbielu"]
[ext_resource type="Texture2D" uid="uid://btgh55yxpq1tq" path="res://images/henry_wave_still.png" id="1_dvhww"]
[ext_resource type="Script" uid="uid://ewsu4jeim8jy" path="res://scenes/survivor.gd" id="1_q7pxf"]
[ext_resource type="Texture2D" uid="uid://c24xx8ghsyijg" path="res://images/survivor.png" id="2_q7pxf"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_q7pxf"]
[sub_resource type="BoxShape3D" id="BoxShape3D_q7pxf"]
size = Vector3(0.70355225, 1, 0.5317383)
[sub_resource type="AtlasTexture" id="AtlasTexture_7yc2n"]
atlas = ExtResource("2_q7pxf")
region = Rect2(0, 0, 16, 29)
[sub_resource type="AtlasTexture" id="AtlasTexture_v4jtw"]
atlas = ExtResource("2_q7pxf")
region = Rect2(16, 0, 16, 29)
[sub_resource type="SpriteFrames" id="SpriteFrames_t26pv"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_7yc2n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_v4jtw")
}],
"loop": true,
"name": &"default",
"speed": 10.0
}]
[sub_resource type="BoxShape3D" id="BoxShape3D_7yc2n"]
size = Vector3(1, 1.2099609, 0.59033203)
[node name="Survivor" type="CharacterBody3D" unique_id=1192836658]
transform = Transform3D(3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0)
script = ExtResource("1_q7pxf")
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1830691958]
transform = Transform3D(1.4, 0, 0, 0, 1.4, 0, 0, 0, 1.4, 0, 0, 0)
shape = SubResource("CapsuleShape3D_q7pxf")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.013031006, 0, -0.06518555)
shape = SubResource("BoxShape3D_q7pxf")
[node name="Sprite3D" type="Sprite3D" parent="." unique_id=2107037495]
transform = Transform3D(3.5, 0, 0, 0, 3.5, 0, 0, 0, 1.59, 0, 0, 0)
[node name="Sprite3D" type="AnimatedSprite3D" parent="." unique_id=4297452]
transform = Transform3D(4.5, 0, 0, 0, 4.5, 0, 0, 0, 2.044, 0, 0, 0)
gi_mode = 0
billboard = 1
double_sided = false
texture_filter = 0
texture = ExtResource("1_dvhww")
sprite_frames = SubResource("SpriteFrames_t26pv")
autoplay = "default"
frame_progress = 0.99938977
[node name="Area3D" type="Area3D" parent="." unique_id=1121777394]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" unique_id=1505010263]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
shape = SubResource("CapsuleShape3D_q7pxf")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.080844045, -0.14428711)
shape = SubResource("BoxShape3D_7yc2n")
[connection signal="area_entered" from="Area3D" to="." method="_on_area_3d_area_entered"]