Back to Browse

Animations in Python - Pygame Adventure Game 20

1.9K views
May 21, 2024
28:42

Add animations to your game! In this video, we cover how to load sprite sheets, and then use those to add animations when the player walks. This game uses Pygame and Python to accomplish this. All of the source code is available below, and you can download the starting code if you'd like to follow along. Full Adventure Game in Pygame Playlist 🌲: https://www.youtube.com/playlist?list=PLn8cgfOA2qzeXxXe7DBWxX1UR5fJ4MDTb Starting Code (Code from Previous Video) 🌱: https://github.com/AlexanderFarrell/adventure_game_python/tree/19-entity-editor Completed Source Code πŸ–₯: https://github.com/AlexanderFarrell/adventure_game_python/tree/20-animations New Player Sprite Sheet (and other assets) 🌴: https://www.alexanderfarrell.com/articles/download-adventure-game-assets Timestamps: πŸ‘‹ Introduction - 00:00 πŸ›ž How Animations Work - 00:29 πŸ‡ Atlas Class for Sprite Sheets - 2:32 πŸ”₯ Animation Class - 10:11 😊 Set Sprite Sheet on Player - 19:06 ⚑ First Test - 20:47 πŸ‘Ÿ Make Player Walk - 21:29 ⚑ Second Test - 27:29 πŸ’‘ What should we do about combat? - 27:40 πŸ™‚ Thank you - 28:27

Download

1 formats

Video Formats

360pmp449.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Animations in Python - Pygame Adventure Game 20 | NatokHD