Drawing SPRITES in Raylib
Автор: Andrew Hamel Codes
Загружено: 2023-03-10
Просмотров: 19270
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:
• Making the most COMMON "First Game" In Ray...
My video on the C Language:
• C Language Overview
My video on Tic-Tac-Toe with Raylib in C:
• Making Tic-Tac-Toe in Raylib with C
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
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: