Super Bounce

From Fortress Blast
Revision as of 17:34, 24 November 2019 by Jack5 (talk | contribs) (Article update with video)
Jump to navigationJump to search
Powerup super bounce.png

Super Bounce is the first powerup in Fortress Blast. It operates by "bouncing" a player into the air whenever they touch the ground for 5 seconds, with the same amount of velocity they had when falling. This allows players to fly or bunny hop around the map, as well as many other movements the enemy may not expect. Super Bounce is also useful for getting to places not usually accessible with the user's chosen class. Fall damage is blocked while Super Bounce is active.

Development information

The player's velocity is stored once per tick while in the air, but within the first frame of touching the ground, the player's stored velocity will be inverted (downwards is negative velocity, which is inverted to upward velocity) and set. This will not happen if the player's velocity is less than -250 due to this being the vertical velocity required to leave the ground, the player may get stuck otherwise. This results in players only bouncing 2 or 3 times when jumping from a standstill. Fall damage is delivered by worldspawn and not by the player, which is why damage from entity 0 is blocked while using Super Bounce. However, since trigger_hurt damage (i.e. hazards) is also from worldspawn, damage is only blocked if it less than 100 damage in total. This does mean that slow hurts like Purgatory are blocked by Super Bounce, and large amounts of fall damage (like when playing as Saxton Hale) will not be blocked. It is planned for the future to have a way to seperate fall damage and hazard damage.