У нас вы можете посмотреть бесплатно SDL3 Sprite Abstraction [SDL3 Episode 17] или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса 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 we refactor our application so that we can more easily create hardware accelerated textures with a sprite abstraction. A sprite is simply a 'moveable texture' -- so that means we need to somehow associate an SDLFrect and a SDL_Texture. One simple way to do this is o create a struct. We will keep our resource management simple by also allowing the Sprite struct to control the lifetime of our sprite. As always, feel free to bring up any questions and discuss what you've learned! 00:00 Introduction 00:12 Code Review of previous lesson 01:52 Simple Sprite Abstraction Class 05:14 Using our Sprite struct. 09:05 Successfully moving our sprite 09:33 Suggestion of using a shared_ptr for C++ users 10:33 Continuing to refactor and add helpful member functions to Sprite 15:46 Code Review and Conclusion ►YouTube Channel: / mikeshah ►Please like and subscribe to help the channel! ►Join our free community: https://courses.mshah.io/communities/...