apetavern / grubs

A worms-inspired artillery game for s&box with randomly generated levels.
MIT License
34 stars 7 forks source link

Implement sudden death mechanics #275

Closed trundlr closed 1 year ago

trundlr commented 1 year ago

A game should have a time or turn limit. Once the limit is reached, the water should rise (or the terrain should get lowered). This will reduce the amount of land available to traverse, and keep things interesting.

ShadowBrian commented 1 year ago

I started on this but can't figure out a reliable way of doing round counting and it needs a bunch of UI work to convey what's going on, it's pushed to a branch: https://github.com/apetavern/sbox-grubs/tree/ffa-sudden-death

Todo:

DrewBritt commented 1 year ago

I finished the rest of the todo list. My only problem left is that during testing, I've managed to glitch Grubs into the terrain. This happens mostly when they're in a cave (but any terrain close enough to the top of their head causes it) and it drops onto their head, causing them to phase inside.

The obvious fix would be to swap over to raising the water level instead. Raising the KillZone is trivial, however, raising the water will require a bit more work due to it being static. On the flip side, it may be worth attempting to fix whatever collision issues the terrain is having, allowing us to do more interesting live terrain transformations.

matekdev commented 1 year ago

https://github.com/apetavern/sbox-grubs/pull/298

Done!!