Drawing SPRITES in Raylib
Vložit
- čas přidán 30. 06. 2024
- 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...
My video on the C Language:
• C Language Overview
My video on Tic-Tac-Toe with Raylib in C:
• Making Tic-Tac-Toe in ...
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
Wow, you really deserve more views. You are a great explainer, the videos are easy to follow, it's neither too fast nor too slow. Your code is also really clean and simple.
I love using raylib, and you've been doing the best tutorials on CZcams. Keep up with the good work!
Seems a lot simpler then using SDL/SDL2, C for the win!
Great explainer. I was looking the other night on the cheat sheet for a way scale sprites too no avail. Thank you for this.
These videos are so helpful you have no idea... People normally only talk about using C++ with raylib which imho is pretty much nothing the same with C. Thank you
I agree, best RayLib videos I have been able to find!
c++ is c with classes
@@gerardo.arroyo.sif you barely know c++ then sure
man i hope you continue this project, it's really cool
That's the plan! The reason there hasn't been a video in a bit is because I've been building some tools to make making these videos easier. Typical, programmer writes code to enable being lazy..
This was so helpful! Thank you!
Good direct video and quick info. We'll done. Just consider the phrase "spazzing out like crazy". This isn't the 70s any more. Time to level up :)
can you make a 3d simple game engine using raylib and c++ or csharp please make a videos about it also your are my best and favorite youtuber ever
C++ is definitely much better suited to 3D than C! I still have quite a bit of C content in the pipeline but I do also use Raylib with C++ for some projects. We'll see some of that on the channel at some point!
@@andrewhamelcodes712 thank you