Back to Browse

Drawing SPRITES in Raylib

21.6K views
Mar 10, 2023
8:03

Raylib has some very handy shape drawing functions, but most games will require the use of hand-made textures. Assuming you've bundled all your sprites together on an atlas, this video will help you to discover most of the Texture drawing functions in Raylib, and we get a little peak into how we might be able to animate these sprites. In a follow up video, we'll apply what's covered here to create animations in Raylib, and even later we'll figure out how we can animate a player as they move around. My video on the Apple Catch game: https://youtu.be/jWo3uzYbb7Y My video on the C Language: https://youtu.be/YtYP7e7NDYY My video on Tic-Tac-Toe with Raylib in C: https://youtu.be/ki5l_It9Q9Y Chapters 0:00 Loading a texture 0:47 Basic texture drawing 2:05 DrawTextureRec 3:08 DrawTexturePro 4:28 Cleaning up with define 5:12 DrawTexturePro Rotation and Scaling 5:33 Source manipulation 6:46 Using a timer to "animate" the apple 7:44 Conclusion

Download

1 formats

Video Formats

360pmp414.0 MB

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

Drawing SPRITES in Raylib | NatokHD