Compare commits
No commits in common. "707c38894a0f531c8300587b2e01efae70f3efed" and "8edc34b7b6169362540f025ef4058e06c4d684be" have entirely different histories.
707c38894a
...
8edc34b7b6
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -20,4 +20,3 @@ build.zip
|
|||
.cache
|
||||
.kdev4
|
||||
wave-survival-fps.kdev4
|
||||
__pycache__
|
||||
|
|
4
justfile
4
justfile
|
@ -12,7 +12,7 @@ run: build
|
|||
|
||||
release-linux: build
|
||||
# Compiling Linux Release
|
||||
cd engine/ && scons platform=linuxbsd target=template_release arch=x86_64 linker=mold use_llvm=yes custom_modules="../modules"
|
||||
cd engine/ && scons platform=linuxbsd target=template_release arch=x86_64 linker=mold use_llvm=yes compiledb=yes custom_modules="../modules"
|
||||
# Preparing Build Environment
|
||||
sed -i "s!templatepath!{{`realpath engine/bin/godot.linuxbsd.template_release.x86_64.llvm`}}!" project/export_presets.cfg
|
||||
rm -rf build && mkdir build
|
||||
|
@ -24,7 +24,7 @@ release-linux: build
|
|||
|
||||
release-windows: build
|
||||
# Compiling Windows Release
|
||||
cd engine/ && scons platform=windows target=template_release arch=x86_64 linker=mold use_llvm=yes custom_modules="../modules"
|
||||
cd engine/ && scons platform=windows target=template_release arch=x86_64 linker=mold use_llvm=yes compiledb=yes custom_modules="../modules"
|
||||
# Preparing Build Environment
|
||||
sed -i "s!templatepath!{{`realpath engine/bin/godot.windows.template_release.x86_64.llvm`}}!" project/export_presets.cfg
|
||||
rm -rf build && mkdir build
|
||||
|
|
|
@ -9,6 +9,9 @@ class PlayerInput : public Node {
|
|||
void _notification(int what);
|
||||
virtual void unhandled_input(Ref<InputEvent> const &event) override;
|
||||
|
||||
public:
|
||||
bool run_input_down() const;
|
||||
|
||||
public:
|
||||
static String sig_movement_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="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_5_wretched.tscn" id="3_7ng1a"]
|
||||
[ext_resource type="PackedScene" uid="uid://5hg5eirw7v8n" path="res://objects/units/unit_4_wretched.tscn" id="3_7ng1a"]
|
||||
[ext_resource type="PackedScene" uid="uid://bt054d3ic71rf" path="res://menus/pause_menu.tscn" id="4_d7x8f"]
|
||||
|
||||
[sub_resource type="NavigationMesh" id="NavigationMesh_7ng1a"]
|
||||
|
|
|
@ -13,10 +13,8 @@ func _on_health_status_death() -> void:
|
|||
"
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ng1ul"]
|
||||
radius = 0.26953125
|
||||
|
||||
[node name="EnemyWretched" type="EnemyWretched"]
|
||||
chase_speed = 4.0
|
||||
script = SubResource("GDScript_qot2n")
|
||||
|
||||
[node name="wretched" parent="." instance=ExtResource("1_qot2n")]
|
||||
|
|
|
@ -8,6 +8,7 @@ script/source = "extends HealthStatus
|
|||
func _on_health_changed(remaining: int, delta: int) -> void:
|
||||
print(\"Player Health Changed:\", delta, \"remaining:\", remaining)
|
||||
|
||||
|
||||
func _on_death() -> void:
|
||||
get_tree().change_scene_to_file.call_deferred(\"res://menus/main_menu.tscn\")
|
||||
"
|
||||
|
|
|
@ -18,3 +18,9 @@ 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")]
|
||||
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