Now have a basic sprite system that uses SFML's sprites, but the algorithm for determining how much of a sprite to display is wrong. Need to use the alternate algorithm from LODE's tutorial that draws sprites after rendering.

This commit is contained in:
Zed A. Shaw 2025-01-23 02:42:43 -05:00
parent 024d5b30e1
commit da7075864b
6 changed files with 38 additions and 36 deletions

View file

@ -67,7 +67,6 @@ int main() {
auto elapsed = std::chrono::duration<double>(end - start);
stats.sample(1/elapsed.count());
draw_gui(window, text, stats);
window.display();