17 Commits

Author SHA1 Message Date
Aaron Suen
b903ddd42a Image optimizations. 2020-04-16 01:27:54 -04:00
Aaron Suen
a6ef71d9dd More breath HUD redoing 2020-04-13 00:00:31 -04:00
Aaron Suen
0e6327ca2d Custom theme-matching crosshair 2020-04-09 23:18:39 -04:00
Aaron Suen
ffb8b12ab6 Re-quantize/optimize breath image. 2019-12-31 13:29:54 -05:00
Aaron Suen
24decd3c47 Fade bottom of breath HUD to unobscure hotbar. 2019-12-31 13:25:08 -05:00
Aaron Suen
6a012aeacb Move all src dirs to subdirs of output targets.
This should make organization a little more consistent, and more
specific.
2019-10-04 19:13:30 -04:00
Aaron Suen
580c2f205d Re-optimize breath HUD overlay. 2019-09-08 13:30:34 -04:00
Aaron Suen
6c650e85c7 New drowning HUD that's easier to see in already-dark environs. 2019-09-08 13:24:12 -04:00
Aaron Suen
92d1877b99 Hotbar textures.
Hexagonal gradients aren't actually a thing, but 6 linear gradients
are a thing.  Render them in high-res to minimize the effect of
anti-aliasing gaps, and then shrink them to fit.
2019-03-11 21:53:32 -04:00
Aaron Suen
f98cb76fc5 Make HUDs a little more usable in low light conditions. 2019-03-10 20:39:20 -04:00
Aaron Suen
7c8cbfaf3e Breath HUD tidy up. 2019-03-10 18:11:35 -04:00
Aaron Suen
3bafe76629 Remove dead files. 2019-03-10 17:31:29 -04:00
Aaron Suen
4d0f0734ba Beginning of a bold new health system.
- Eliminate health and breath stat bars.
- Players NO LONGER DIE FROM INJURY.
- Players no longer lose walking speed or mobility.
- Players lose inventory slots in proportion to injury; they're
  stuffed with an "injury" item, and items they displace are
  ejected.  Slots are displaced in random order.
- Healing rate is much faster, so players are usually mildly
  inconvenienced by injury, but can soon enough pick up their
  stuff and leave.
- Health and breath HUDs are gone.  Health is visible based on
  number of lost slots, and breath uses a vignette to narrow
  tunnel vision for O2 loss.

Overall, the old health system has been more of an immersion-
breaking annoyance than anything.  This allows health to get out
of the way of the primary gameplay.

UNFINISHED: Need a replacement for the old "suicide to get unstuck"
mechanic.
2019-03-10 15:47:22 -04:00
Aaron Suen
23a1a7b5da Expand font to full USA 101-key keyboard support. 2019-03-06 11:02:37 -05:00
Aaron Suen
db0f5895b6 Attempt to work around HUD issues by using image HUD.
On android (and possibly other very high DPI displays) the position
of the HUD is calculated incorrectly for text HUDs.  According to
rubenwardy, "the HUD sucks", so it seems unlikely that this will
get fixed soon.  Switch to using a sequence of image HUDs and a
bitmap font to render the hotbar text.  This is currently limited,
but expandable.
2019-03-06 10:07:09 -05:00
Aaron Suen
7f123aea91 Goodbye, last GUI!
- Inventory screen is now no longer game-interactive, and serves
  as purely an "about" screen.
- Move the HUD components out of inv mod and into hud mod.
- Separate player setup mod for static physical limitations like
  step height, inv size, etc.
2019-03-03 16:53:12 -05:00
Aaron Suen
c7ac1f63db Reorg all player mods, give them lexically grouped names. 2019-03-02 20:32:50 -05:00