Live data from Hacker News

Raylib, a simple and easy-to-use library to enjoy videogame programming

raylib.com

31–37 of 37 posts

Re: Raylib, a simple and easy-to-use library to enjoy videogame programming

#31

Earlier quoted context omitted.

I think it's an important distinction - it's "easy to use" as in you can put things on the screen, play sound, etc without having to read documentation or deal with boilerplate logic/steps longer than the custom code needed. It's not "easy to use" as in Unity where you want to have some complex physics apply to some premade models with certain rendering effects so you learn where to go to get each of those things and…

I get what you're saying and I agree up to a point but I don't necessarily believe the distinction is necessary. LOVE2D is very "easy to use", easier than Raylib in my opinion, and probably has the most extension documentation I've seen for a game framework. https://love2d.org/wiki/Main_Page

i like about love2d that it doesn't prescribe certain way of setting up your code / pipeline.

projects like defold / godot a pretty neat but they are more opionionated: they have a hierarchal structure.

Re: Raylib, a simple and easy-to-use library to enjoy videogame programming

#32

>no fancy interface, no visual helpers, no auto-debugging... just coding in the most pure spartan-programmers way. Why is this being shown off as simple and easy to use? Or am I misunderstanding the project page's message?

I disagree. It's easy to use and particularly easy to bind to other languages because it has a very simple and straightforward API. I'm using it in Go and it's fantastic, as long as your project is fine with its limitations. For most things you only need to take a look at the cheat sheet and you're done.

True, it does sound actually really cool. I started reading some examples in my lang, might use

Re: Raylib, a simple and easy-to-use library to enjoy videogame programming

#33
After compilation of the basic example core_basic_window.c AVG antivirus detect a Trojan Win32:TrojanX-gen.

The library owner on github site say about it: "Most probably a false positive. In any case, it's an open-source project, if you find malicius code, please report."

Very disappointed because now I need to examine all the source code and I just want to see a basic demo running.

I trust AVG because every day I'm running every app I found on the internet.

Re: Raylib, a simple and easy-to-use library to enjoy videogame programming

#34

After compilation of the basic example core_basic_window.c AVG antivirus detect a Trojan Win32:TrojanX-gen. The library owner on github site say about it: "Most probably a false positive. In any case, it's an open-source project, if you find malicius code, please report." Very disappointed because now I need to examine all the source code and I just want to see a basic demo running. I trust AVG because every day I'm…

It is extremely common for anti virus software to label newly compiled executables as false positives. They use a bunch of heuristics and tune in favor of distrusting new executables they haven't seen before.

Re: Raylib, a simple and easy-to-use library to enjoy videogame programming

#35

After compilation of the basic example core_basic_window.c AVG antivirus detect a Trojan Win32:TrojanX-gen. The library owner on github site say about it: "Most probably a false positive. In any case, it's an open-source project, if you find malicius code, please report." Very disappointed because now I need to examine all the source code and I just want to see a basic demo running. I trust AVG because every day I'm…

Did you double-check with a tool such as virustotal?

False positives can be quite common with anti-virus software, since they tend to err on the side of caution, and if it is indeed a false positive, you should report it to the antivirus company itself rather than the developer of the library.

Re: Raylib, a simple and easy-to-use library to enjoy videogame programming

#36

After compilation of the basic example core_basic_window.c AVG antivirus detect a Trojan Win32:TrojanX-gen. The library owner on github site say about it: "Most probably a false positive. In any case, it's an open-source project, if you find malicius code, please report." Very disappointed because now I need to examine all the source code and I just want to see a basic demo running. I trust AVG because every day I'm…

"I trust AVG"

Problem #1 :)

It's open source software. I promise in the thousands of people that look at that source code they would know if there was a virus before AVG XD

Re: Raylib, a simple and easy-to-use library to enjoy videogame programming

#37

I've finished a couple projects in Raylib before and I really like it, however, the downside to Raylib for me is that there is no real documentation. You get a handful of examples an a "cheatsheet" of functions and nothing else. When you bring up the fact that Raylib's documentation is borderline non-existent the community almost takes it as a point of pride, points at the examples and goes "figure it out." This make…

There is a discord server where the developer is very active, you can join and ask your questions to contributors directly, in my experience they are very friendly and eager to help!

Discord servers are no substitute for documentation. I've found that avoiding projects with that mentality is a good heuristic that keeps me from wasting my time.
Post reply on HN