Bouncing rotating scrags, and new player afloat physics (Patreon)
Content
Implemented qc gamecode to make dead scrags rotate while falling, and now they also bounce (only once) when falling from high heights. I wanted to make them bounce from any height, but the best way to do this would require implementing engine support for multiple concurrent timers per gamecode entity (which I may do soon). At least the current solution solves the problem of the scrags' death animation looking too bland when scrags dies at high altitudes.
It may be not much, but I really enjoy implementing this kind of feature that despite being not impressive, it does make the game feel more alive. The gamecode for the small mission pack I'm going to create will be full of small features like this.
And implemented in the Retroquad engine physics a feature inspired by the Saturn version of Quake: Now the player automatically stays afloat when their eyes are above the water (there's no need to hold the jump button anymore).
While afloat you can move not only to the left, right and forward, but you can also move backwards without getting submerged. To get submerged again you can either press the jump button, or move forward while looking down.
Since this is an engine feature, it automatically works with any gamecode mods.
I'll take care of the bug mentioned in the previous post soon. Right now I'm trying to hire a new lawyer.