feat: adjusted playermodel,textures&animations

This commit is contained in:
Sara Gerretsen 2025-12-01 23:54:26 +01:00
parent 25fd653cf0
commit a7287d0477
18 changed files with 13 additions and 14 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 469 KiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 105 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 999 KiB

After

Width:  |  Height:  |  Size: 3.7 MiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 77 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 137 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 469 KiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Before After
Before After

View file

@ -9,7 +9,7 @@ metadata={
"vram_texture": true
}
generator_parameters={
"md5": "4d4c79cffd628a6e7a7ee35742c5c5f0"
"md5": "10d86bc9ca00f6640d23ba80654d92c8"
}
[deps]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 999 KiB

After

Width:  |  Height:  |  Size: 3.7 MiB

Before After
Before After

View file

@ -9,7 +9,7 @@ metadata={
"vram_texture": true
}
generator_parameters={
"md5": "6edbafc3f1b7f1cf22274162de664343"
"md5": "91fdf37d89b9ee821ca87fac54687054"
}
[deps]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 137 KiB

Before After
Before After

View file

@ -9,7 +9,7 @@ metadata={
"vram_texture": true
}
generator_parameters={
"md5": "91fad3a5e3597dac27508fd436ac2e12"
"md5": "cac5bb81c90bf4c8280f6c222e3e8079"
}
[deps]

View file

@ -3,6 +3,9 @@
[ext_resource type="PackedScene" uid="uid://cj3x6a8gm4ogn" path="res://assets/models/character.blend" id="1_yaurm"]
[ext_resource type="PackedScene" uid="uid://2fxwkeifrwu3" path="res://objects/effects/impact_decal.tscn" id="2_1p07c"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_5j0w6"]
radius = 0.6
[sub_resource type="GDScript" id="GDScript_yaurm"]
script/source = "extends Node3D
@ -92,16 +95,16 @@ transitions = ["Start", "idle", SubResource("AnimationNodeStateMachineTransition
graph_offset = Vector2(-228.371, 13.6511)
[sub_resource type="BoxShape3D" id="BoxShape3D_1p07c"]
size = Vector3(0.674805, 1.01257, 0.494141)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_5j0w6"]
radius = 0.252441
height = 1.89893
size = Vector3(0.547852, 1.3642, 0.728516)
[node name="PlayerBody" type="PlayerBody"]
collision_layer = 8
collision_mask = 9
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.949463, 0)
shape = SubResource("CapsuleShape3D_5j0w6")
[node name="GroundCracksEmitter" type="Node3D" parent="."]
script = SubResource("GDScript_yaurm")
scene = ExtResource("2_1p07c")
@ -131,7 +134,7 @@ monitorable = false
priority = 1
[node name="CollisionShape3D" type="CollisionShape3D" parent="character/character/Skeleton3D/BoneAttachment3D/DamageBox"]
transform = Transform3D(1.00001, -4.01926e-07, -4.32134e-07, 6.76648e-07, 1, 4.55242e-07, -2.16067e-07, -1.23109e-07, 1.00001, -5.96046e-08, -0.196067, -0.0270205)
transform = Transform3D(1, -1.06248e-06, 1.37836e-07, 6.46887e-07, 1, 1.88826e-07, 1.75089e-07, -2.18919e-07, 1, 1.78814e-07, -0.371879, -0.0270205)
shape = SubResource("BoxShape3D_1p07c")
[node name="PlayerIdleState" type="PlayerIdleState" parent="."]
@ -140,7 +143,7 @@ shape = SubResource("BoxShape3D_1p07c")
[node name="LightAttack" type="PlayerBasicAttackState" parent="."]
next_light_attack_state = NodePath("../LightAttack2")
trigger_next_margin = 0.15
trigger_next_margin = 0.3
input_next_margin = 0.5
[node name="LightAttack2" type="PlayerBasicAttackState" parent="."]
@ -154,8 +157,4 @@ animation_name = "swing_3"
trigger_next_margin = 0.0
input_next_margin = 0.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.949463, 0)
shape = SubResource("CapsuleShape3D_5j0w6")
[editable path="character"]