This commit is contained in:
Miloslav Ciz 2024-06-25 15:38:41 +02:00
parent a6db005012
commit 03375916d0
13 changed files with 1752 additions and 1743 deletions

View file

@ -88,6 +88,7 @@ There were also a few people I've heard criticism from -- and that's absolutely
The following is a retrospective look on what could have been done better (a potential project for someone might be to implement these and so make the game even more awesome):
- I kinda overdid it with fixed width types, tried to always only use variables of the smallest necessary size but now it looks a bit ridiculous, it would be better to just use normal integers for most local variables, I probably didn't achieve much, maybe it's even a bit slower this way.
- It might have been better to write it in C89 than C99 for better portability.
- Sound effects would likely be better procedurally generated just like music. It would be less code and data in ROM and the quality probably wouldn't be that much worse as the samples are shitty quality anyway.
- The palette used might have rather been [RGB 332](rgb332.md) instead of the custom palette, again less code and less data in ROM, though visual quality might suffer a bit and things like diminishing colors might require some extra code or look up tables (like in Doom).