Compare commits
5 commits
8edc34b7b6
...
707c38894a
Author | SHA1 | Date | |
---|---|---|---|
![]() |
707c38894a | ||
![]() |
8a76244537 | ||
![]() |
2000c25857 | ||
![]() |
b72474974b | ||
![]() |
75dd7158ca |
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -20,3 +20,4 @@ build.zip
|
||||||
.cache
|
.cache
|
||||||
.kdev4
|
.kdev4
|
||||||
wave-survival-fps.kdev4
|
wave-survival-fps.kdev4
|
||||||
|
__pycache__
|
||||||
|
|
4
justfile
4
justfile
|
@ -12,7 +12,7 @@ run: build
|
||||||
|
|
||||||
release-linux: build
|
release-linux: build
|
||||||
# Compiling Linux Release
|
# Compiling Linux Release
|
||||||
cd engine/ && scons platform=linuxbsd target=template_release arch=x86_64 linker=mold use_llvm=yes compiledb=yes custom_modules="../modules"
|
cd engine/ && scons platform=linuxbsd target=template_release arch=x86_64 linker=mold use_llvm=yes custom_modules="../modules"
|
||||||
# Preparing Build Environment
|
# Preparing Build Environment
|
||||||
sed -i "s!templatepath!{{`realpath engine/bin/godot.linuxbsd.template_release.x86_64.llvm`}}!" project/export_presets.cfg
|
sed -i "s!templatepath!{{`realpath engine/bin/godot.linuxbsd.template_release.x86_64.llvm`}}!" project/export_presets.cfg
|
||||||
rm -rf build && mkdir build
|
rm -rf build && mkdir build
|
||||||
|
@ -24,7 +24,7 @@ release-linux: build
|
||||||
|
|
||||||
release-windows: build
|
release-windows: build
|
||||||
# Compiling Windows Release
|
# Compiling Windows Release
|
||||||
cd engine/ && scons platform=windows target=template_release arch=x86_64 linker=mold use_llvm=yes compiledb=yes custom_modules="../modules"
|
cd engine/ && scons platform=windows target=template_release arch=x86_64 linker=mold use_llvm=yes custom_modules="../modules"
|
||||||
# Preparing Build Environment
|
# Preparing Build Environment
|
||||||
sed -i "s!templatepath!{{`realpath engine/bin/godot.windows.template_release.x86_64.llvm`}}!" project/export_presets.cfg
|
sed -i "s!templatepath!{{`realpath engine/bin/godot.windows.template_release.x86_64.llvm`}}!" project/export_presets.cfg
|
||||||
rm -rf build && mkdir build
|
rm -rf build && mkdir build
|
||||||
|
|
|
@ -9,9 +9,6 @@ class PlayerInput : public Node {
|
||||||
void _notification(int what);
|
void _notification(int what);
|
||||||
virtual void unhandled_input(Ref<InputEvent> const &event) override;
|
virtual void unhandled_input(Ref<InputEvent> const &event) override;
|
||||||
|
|
||||||
public:
|
|
||||||
bool run_input_down() const;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static String sig_movement_input;
|
static String sig_movement_input;
|
||||||
static String sig_look_input;
|
static String sig_look_input;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://snjgu4yp5swd" path="res://objects/player.tscn" id="1_6t4yh"]
|
[ext_resource type="PackedScene" uid="uid://snjgu4yp5swd" path="res://objects/player.tscn" id="1_6t4yh"]
|
||||||
[ext_resource type="Material" uid="uid://b075rlo1f0e4u" path="res://assets/materials/greenish_grid.tres" id="1_ng1ul"]
|
[ext_resource type="Material" uid="uid://b075rlo1f0e4u" path="res://assets/materials/greenish_grid.tres" id="1_ng1ul"]
|
||||||
[ext_resource type="PackedScene" uid="uid://5hg5eirw7v8n" path="res://objects/units/unit_4_wretched.tscn" id="3_7ng1a"]
|
[ext_resource type="PackedScene" uid="uid://5hg5eirw7v8n" path="res://objects/units/unit_5_wretched.tscn" id="3_7ng1a"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bt054d3ic71rf" path="res://menus/pause_menu.tscn" id="4_d7x8f"]
|
[ext_resource type="PackedScene" uid="uid://bt054d3ic71rf" path="res://menus/pause_menu.tscn" id="4_d7x8f"]
|
||||||
|
|
||||||
[sub_resource type="NavigationMesh" id="NavigationMesh_7ng1a"]
|
[sub_resource type="NavigationMesh" id="NavigationMesh_7ng1a"]
|
||||||
|
|
|
@ -13,8 +13,10 @@ func _on_health_status_death() -> void:
|
||||||
"
|
"
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ng1ul"]
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ng1ul"]
|
||||||
|
radius = 0.26953125
|
||||||
|
|
||||||
[node name="EnemyWretched" type="EnemyWretched"]
|
[node name="EnemyWretched" type="EnemyWretched"]
|
||||||
|
chase_speed = 4.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")]
|
||||||
|
|
|
@ -8,7 +8,6 @@ script/source = "extends HealthStatus
|
||||||
func _on_health_changed(remaining: int, delta: int) -> void:
|
func _on_health_changed(remaining: int, delta: int) -> void:
|
||||||
print(\"Player Health Changed:\", delta, \"remaining:\", remaining)
|
print(\"Player Health Changed:\", delta, \"remaining:\", remaining)
|
||||||
|
|
||||||
|
|
||||||
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.call_deferred(\"res://menus/main_menu.tscn\")
|
||||||
"
|
"
|
||||||
|
|
|
@ -18,9 +18,3 @@ transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0.05
|
||||||
|
|
||||||
[node name="EnemyWretched2" parent="." instance=ExtResource("1_l77gx")]
|
[node name="EnemyWretched2" parent="." instance=ExtResource("1_l77gx")]
|
||||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 1.3425274, 0.023196908, -0.9988682)
|
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 1.3425274, 0.023196908, -0.9988682)
|
||||||
|
|
||||||
[node name="EnemyWretched3" parent="." instance=ExtResource("1_l77gx")]
|
|
||||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -1.06229, 0.023196908, 0.46605587)
|
|
||||||
|
|
||||||
[node name="EnemyWretched4" parent="." instance=ExtResource("1_l77gx")]
|
|
||||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 1.1567543, 0.023197861, 0.23159564)
|
|
Loading…
Reference in a new issue