@Doomed_Daniel@mastodon.gamedev.place
Post #2526600
2026-04-23 23:21 UTC
@mogwai_poet@mastodon.social
1 byte per heart or 1 byte for all hearts (16 points per heart at 16 hearts)
Replies (1)
-
@mogwai_poet@mastodon.social 2026-04-23 23:26
@Doomed_Daniel@mastodon.gamedev.place From my cursory research, it stores your max hearts and whole number of hearts in one byte (4 bits each) and your fractional hearts in a second byte.