Advertisement

Latest Raylib Activity

Hi everyone! I’m currently working on my master’s thesis, where I’m comparing the SFML, Raylib, and SDL2 libraries in the context of game development. I’d love to hear about your experiences with these libraries. Which one have you used or are you using in your work, and what influenced your choice…

643 views
Advertisement

LeftyGuitar said:
Thanks, but I think that is making it more complicated than it needs to be.

That's what you need to do to know if a point is within a circle or outside. If there would be a simpler way, Pythagoras would have figured it out already. : )

But we can optimize the sqrt away by using squar…

6,374 views

Glad it worked! for the long line, you may just need some sort of clear screen/framebuffer  or something like that in raylib, sounds like BeginDraw() doesn’t clear the previous frame. 

7,257 views
C-Research
February 28, 2022 05:54 PM

Acosix said:

C libraries are old but useful for 2D games.

True. Much of the C libraries have been matured, even perfected, so no need to “reinvent the wheel”.  Many people discover that a lot of frameworks, engines, middleware, and tools have a lot of C at least embedded in the source. Some are …

46,494 views
Advertisement
Advertisement