Key fixes: - Fixed the sword tracking bug by changing on_mouse_mmove to Pygame Zero’s correct on_mouse_move callback and using sword.pos = pos. - Fixed dinosaur movement so they move at a steady speed toward the apple instead of accelerating wildly based on distance. - Fixed the hit sound call to sounds.hit.play(). - Added basic score and missed-apple counters. - Cleaned up naming, constants, and added comments around the important game logic.
2.6 KiB
2.6 KiB