Compare commits

...

4 commits

Author SHA1 Message Date
Sara 6153e73492 tweak: wretched speeds 2025-08-31 22:32:35 +02:00
Sara 1b0136220d tweak: player movement stats 2025-08-31 22:32:16 +02:00
Sara d8e6177d5f feat: created enemy rifleman class 2025-08-31 22:32:00 +02:00
Sara 23be58a31c feat: more animations in rifleman model 2025-08-31 17:19:17 +02:00
6 changed files with 15 additions and 4 deletions

View file

@ -0,0 +1,11 @@
#ifndef ENEMY_RIFLEMAN_H
#define ENEMY_RIFLEMAN_H
#include "wave_survival/enemy_body.h"
class EnemyRifleman : public EnemyBody {
GDCLASS(EnemyRifleman, EnemyBody);
static void _bind_methods();
};
#endif // !ENEMY_RIFLEMAN_H

View file

@ -31,10 +31,10 @@ public:
private:
bool try_running{ false };
float walk_speed{ 6.f };
float run_speed{ 8.f };
float walk_speed{ 4.f };
float run_speed{ 6.f };
float acceleration{ 40.f };
float jump_strength{ 4.f };
float jump_strength{ 3.75f };
Vector2 movement_input{ 0, 0 };
float fov{ 1.f };

View file

@ -20,7 +20,6 @@ func _on_health_status_death() -> void:
radius = 0.26953125
[node name="EnemyWretched" type="EnemyWretched"]
chase_speed = 7.0
script = SubResource("GDScript_qot2n")
[node name="wretched" parent="." instance=ExtResource("1_qot2n")]

View file

@ -3,6 +3,7 @@
[ext_resource type="PackedScene" uid="uid://dqlqgk1veyos8" path="res://objects/enemies/enemy_wretched.tscn" id="1_l77gx"]
[node name="NpcUnit" type="NpcUnit"]
patrol_speed = 3.0
[node name="EnemyWretched" parent="." instance=ExtResource("1_l77gx")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -1.1853347, 0.023195954, -0.8597343)