SDL2 Tutorial: How to use SDL_RenderCopy to create a scrolling texture

preview_player
Показать описание
In this video I show you how to use the SDL_RenderCopy function to move a texture around a screen
Рекомендации по теме
Комментарии
Автор

I'm kind of new to sdl and I was wondering: would it be faster with the function SDL_UpdateTexture or not ?

volttln
Автор

Hlo sir,

as i go near to the edge, the pixels seem to expand and then there's a black screen

what would be possible reasons for that?

also if i zoom out for a long time, black screen (possible outside display screen) is shown, and then i cant get back

thank you

animeshkumarmaitreya
Автор

Nice video, looking for the code please !

liar
Автор

SDL's state machine like design is getting old, I hope SDL3 changes this with a big rewrite

DreanPetruza