У нас вы можете посмотреть бесплатно SDL3 Sprite Animation - sprite sheets and data abstraction [SDL3 Episode 19] или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
►Full SDL3 Series Playlist: • SDL 3 Tutorial playlist ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: / @mikeshah ►Discussion Forum: https://forum.mshah.io/ ►Lesson Description: In this lesson I show you how to work with sprite sheets. A sprite sheet is a collection of sprites in a single surface. Each sprite can be selected from and played successively to otherwise create an animation. In this lesson I'll show you how to create an abstraction to otherwise work with sprite sheets, and you can further add your own abstraction as you need. Sprite animation is a large topic, and it's important as a programmer to familiarize yourself at least with a little bit of animation so you can communicate with your artists. As always, feel free to bring up any questions and discuss what you've learned! 00:00 Introduction 00:11 How Sprite Animation works 01:21 Code Review of previous lesson and sprite animation strategy 02:52 How to find sprites 03:11 LPC Spritesheet creator as an example to create an animated sprite 07:25 Converting the generated PNG to a BMP 09:07 Drawing the whole spritesheet 10:00 Selecting one portion of a spritesheet 11:00 Creating a 'Frame' abstraction and 'Animation' struct 18:00 Computing animation size and number of frames 18:40 Pushing in our animation frames 20:50 Selecting specific frames in our Update function 22:00 Selecting specific frames is WORKING! 22:30 Writing an animation function to play a range of frames 24:46 Adding more to the Frame if you want 25:00 Looping our animation 26:02 Slowing down our animation 27:35 Touching up our sprite sheet 28:50 Code Review and Conclusion ►YouTube Channel: / mikeshah ►Please like and subscribe to help the channel! ►Join our free community: https://courses.mshah.io/communities/...