From 22535c8b18cda1d5a1ee771616425fc3941a801c Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Tue, 14 Nov 2023 10:56:35 -0700 Subject: Fine tuning maresciallo --- src/entities/guidedMissile.h | 2 +- src/entities/maresciallo.c | 2 +- src/entities/maresciallo.h | 8 ++++---- src/levels/level1.c | 2 +- 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( -- cgit v1.2.3