aboutsummaryrefslogtreecommitdiff
path: root/src/player.zig
AgeCommit message (Collapse)Author
2021-09-22Colour blendingtslil clingman
Some amount of work went into finding appropriate integer arithmetic formulae that were reasonably accurate. At this point i've settled for the incorrect-but-faster version. The better-though-slower formulas are still there in case i change my mind. It would help to have an assumption such as, but not limited to, the surfaces are always going to be fully opaque.
2021-09-20Render objects by writing pixelstslil clingman
This confines hardware acceleration to scaling and the background sprite. Unfortunately it would seem that to do proper object rendering (partial transparency) i'll have to implement colour mixing myself.
2021-09-20Corrected rendering bugtslil clingman
2021-09-20Render walls by pixels, instead of using hard. accel. spritestslil clingman
2021-09-16Corrected movementtslil clingman