aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-11-14 10:56:35 -0700
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-11-14 10:56:35 -0700
commit22535c8b18cda1d5a1ee771616425fc3941a801c (patch)
tree17d3c5db09b5e34fc35f27a802aed32fa4d65868 /src
parent9588ded8d76e720299ad9d1b254409e715164b81 (diff)
Fine tuning maresciallo
Diffstat (limited to 'src')
-rw-r--r--src/entities/guidedMissile.h2
-rw-r--r--src/entities/maresciallo.c2
-rw-r--r--src/entities/maresciallo.h8
-rw-r--r--src/levels/level1.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/src/entities/guidedMissile.h b/src/entities/guidedMissile.h
index a248c12..b237730 100644
--- a/src/entities/guidedMissile.h
+++ b/src/entities/guidedMissile.h
@@ -9,7 +9,7 @@
#define GUIDED_MISSILE_DAMAGE 0.5
#define GUIDED_MISSILE_BOOM_BOOM_AT 5.0
-#define GUIDED_MISSILE_DEATH_DAY 5.0 // Its like a birth day but sad.
+#define GUIDED_MISSILE_DEATH_DAY 7.0 // Its like a birth day but sad.
typedef struct GuidedMissile {
bool beenBorn;
diff --git a/src/entities/maresciallo.c b/src/entities/maresciallo.c
index 98fc19f..b03d366 100644
--- a/src/entities/maresciallo.c
+++ b/src/entities/maresciallo.c
@@ -31,7 +31,7 @@ void initMaresciallo(Entity * entity, Game * game) {
.angleMode = false,
.doClamp = true,
.min = 0.0,
- .max = 210.0
+ .max = 190.0
};
data->flyToPoint = (EntityFlyToPointInfo){
diff --git a/src/entities/maresciallo.h b/src/entities/maresciallo.h
index 6413fdb..b853ef4 100644
--- a/src/entities/maresciallo.h
+++ b/src/entities/maresciallo.h
@@ -4,16 +4,16 @@
#ifndef MARESCIALLO_H
#define MARESCIALLO_H
-#define MARESCIALLO_CIRCLE_AT_DIS 200.0 // 200.0
-#define MARESCIALLO_COME_BACK_AT_DIS 250.0
+#define MARESCIALLO_CIRCLE_AT_DIS 800.0 // 200.0
+#define MARESCIALLO_COME_BACK_AT_DIS 850.0
#define MARESCIALLO_ROTATION_SPEED 20.0
-#define MARESCIALLO_CIRCLE_PLAYER_SPEED 1.0
+#define MARESCIALLO_CIRCLE_PLAYER_SPEED 0.5
#define MARESCIALLO_BULLET_COOLDOWN 3.0
#define MARESCIALLO_BULLET_DAMAGE 0.01
#define MARESCIALLO_CHANGE_OF_HIT 10
-#define MARESCIALLO_MISSILE_COOLDOWN 0.5
+#define MARESCIALLO_MISSILE_COOLDOWN 5.0
typedef struct Maresciallo {
EntityFlyToPointInfo flyToPoint;
diff --git a/src/levels/level1.c b/src/levels/level1.c
index 9f7afc9..2fb795a 100644
--- a/src/levels/level1.c
+++ b/src/levels/level1.c
@@ -6,7 +6,7 @@
void initLevel1(Game * game, Levels * levels) {
WorldEntry entries[2] = {
(WorldEntry){ENTITY_ANTIFA, (Vector3){0.0, 0.0, 0.0}, QuaternionIdentity()},
- (WorldEntry){ENTITY_SERGENTE, (Vector3){0.0, 10.0, 50.0}, QuaternionIdentity()}
+ (WorldEntry){ENTITY_MARESCIALLO, (Vector3){0.0, 10.0, 50.0}, QuaternionIdentity()}
};
addEntriesToWorld(