Compare commits
No commits in common. "8edc34b7b6169362540f025ef4058e06c4d684be" and "0d346471a28a1ee9f478f0cb63f71eb9cbe51f2a" have entirely different histories.
8edc34b7b6
...
0d346471a2
|
@ -23,9 +23,16 @@ sky = SubResource("Sky_7ng1a")
|
||||||
tonemap_mode = 2
|
tonemap_mode = 2
|
||||||
glow_enabled = true
|
glow_enabled = true
|
||||||
|
|
||||||
[node name="Testmap" type="Node"]
|
[node name="Testmap" type="Control"]
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
|
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
|
||||||
|
layout_mode = 1
|
||||||
anchors_preset = 15
|
anchors_preset = 15
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
|
@ -438,3 +445,4 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.691285, 9.536743e-07, -16.
|
||||||
patrol_path = NodePath("../PatrolPath")
|
patrol_path = NodePath("../PatrolPath")
|
||||||
|
|
||||||
[node name="PauseMenu" parent="." instance=ExtResource("4_d7x8f")]
|
[node name="PauseMenu" parent="." instance=ExtResource("4_d7x8f")]
|
||||||
|
layout_mode = 1
|
||||||
|
|
|
@ -5,9 +5,6 @@ script/source = "extends Control
|
||||||
|
|
||||||
@onready var next_scene := preload(\"res://maps/testmap.tscn\")
|
@onready var next_scene := preload(\"res://maps/testmap.tscn\")
|
||||||
|
|
||||||
func _ready():
|
|
||||||
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
|
|
||||||
|
|
||||||
func _on_start_button_pressed() -> void:
|
func _on_start_button_pressed() -> void:
|
||||||
get_tree().change_scene_to_packed.call_deferred(next_scene)
|
get_tree().change_scene_to_packed.call_deferred(next_scene)
|
||||||
"
|
"
|
||||||
|
|
|
@ -15,6 +15,7 @@ func _on_health_status_death() -> void:
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ng1ul"]
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ng1ul"]
|
||||||
|
|
||||||
[node name="EnemyWretched" type="EnemyWretched"]
|
[node name="EnemyWretched" type="EnemyWretched"]
|
||||||
|
chase_speed = 2.0
|
||||||
script = SubResource("GDScript_qot2n")
|
script = SubResource("GDScript_qot2n")
|
||||||
|
|
||||||
[node name="wretched" parent="." instance=ExtResource("1_qot2n")]
|
[node name="wretched" parent="." instance=ExtResource("1_qot2n")]
|
||||||
|
@ -22,9 +23,15 @@ script = SubResource("GDScript_qot2n")
|
||||||
[node name="Hitbox" parent="wretched/Character/Skeleton3D" index="2" node_paths=PackedStringArray("health")]
|
[node name="Hitbox" parent="wretched/Character/Skeleton3D" index="2" node_paths=PackedStringArray("health")]
|
||||||
health = NodePath("../../../../HealthStatus")
|
health = NodePath("../../../../HealthStatus")
|
||||||
|
|
||||||
|
[node name="SpineAttach" parent="wretched/Character/Skeleton3D" index="3"]
|
||||||
|
transform = Transform3D(1, -2.2202518e-16, 2.1910394e-16, 2.1910388e-16, 0.9999122, 0.013243958, -2.220252e-16, -0.01324396, 0.99991226, -4.1256417e-17, 1.1546816, -0.0027124756)
|
||||||
|
|
||||||
[node name="Hitbox" parent="wretched/Character/Skeleton3D/SpineAttach" index="0" node_paths=PackedStringArray("health")]
|
[node name="Hitbox" parent="wretched/Character/Skeleton3D/SpineAttach" index="0" node_paths=PackedStringArray("health")]
|
||||||
health = NodePath("../../../../../HealthStatus")
|
health = NodePath("../../../../../HealthStatus")
|
||||||
|
|
||||||
|
[node name="HeadAttach" parent="wretched/Character/Skeleton3D" index="4"]
|
||||||
|
transform = Transform3D(0.9999988, -0.0007823897, 0.0013344375, 0.0007271601, 0.99916273, 0.04089782, -0.0013653187, -0.040896803, 0.9991622, -1.3069549e-16, 1.5574794, -0.004068734)
|
||||||
|
|
||||||
[node name="Hitbox" parent="wretched/Character/Skeleton3D/HeadAttach" index="0" node_paths=PackedStringArray("health")]
|
[node name="Hitbox" parent="wretched/Character/Skeleton3D/HeadAttach" index="0" node_paths=PackedStringArray("health")]
|
||||||
health = NodePath("../../../../../HealthStatus")
|
health = NodePath("../../../../../HealthStatus")
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ func _on_health_changed(remaining: int, delta: int) -> void:
|
||||||
|
|
||||||
|
|
||||||
func _on_death() -> void:
|
func _on_death() -> void:
|
||||||
get_tree().change_scene_to_file.call_deferred(\"res://menus/main_menu.tscn\")
|
get_tree().change_scene_to_file(\"res://menus/main_menu.tscn\")
|
||||||
"
|
"
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_bxedw"]
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_bxedw"]
|
||||||
|
|
Loading…
Reference in a new issue