From 25ef546c6a1344acdd267710d1b85aed3c98a53c Mon Sep 17 00:00:00 2001 From: AynRandDuran Date: Mon, 12 Jul 2021 12:06:56 -0400 Subject: [PATCH] Start prompt and shield adjustment --- game.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/game.cpp b/game.cpp index 3b7d488..ec21e58 100644 --- a/game.cpp +++ b/game.cpp @@ -230,6 +230,10 @@ int main(void) { if(shield_hp <= 0) disable_shield(); } + if(!throttle) { + DrawText("KILL TO LIVE", (scrW/2)-(MeasureText("KILL TO LIVE", 64)/2), (scrH/2)-128, 64, RED); + DrawText("LAUNCH TO START", (scrW/2)-(MeasureText("LAUNCH TO START", 32)/2), (scrH/2)+64, 32, RED); + } } else if(!(active_powerups & GOD)) { DrawText("YOU DIED", (scrW/2)-(MeasureText("YOU DIED", 64)/2), (scrH/2)-64, 64, RED); DrawText("FUCK YOU", (scrW/2)-(MeasureText("FUCK YOU", 16)/2), (scrH/2)-8, 16, RED); @@ -299,7 +303,7 @@ void explode_asteroid(Vector4* astr) { dead_astr[i][a].z = ((360/SHIP_DEBRIS) * a) + (360/(SHIP_DEBRIS*3)); dead_astr[i][a].w = 1; } - if(shield_pickup.w == 0 && rand() % 20 < 3) + if(shield_pickup.w == 0 && rand() % 30 < 2) init_shield(astr); break; } -- 2.49.0