TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Raylib: a simple and easy-to-use library to enjoy game programming

153 pointsby njnover 6 years ago

11 comments

xashorover 6 years ago
I use it for playing around with some game ideas, really liked the ease of it. Clean, compact API.<p>Only nuisance is that SUPPORT_BUSY_WAIT_LOOP is defined in the defaults, so I can&#x27;t use the package from my distribution but have to compile it myself – as I don&#x27;t want 100% CPU usage when prototyping (where I can happily live with inaccuracies of the timers). I considered opening an issue and forgot about it. But you, Ray, seem to be reading this thread anyway. :-) Thanks, by the way!
评论 #18935178 未加载
ArtWombover 6 years ago
Loving the minimal aesthetic. Will give it a try this weekend ;)<p>Full API:<p><a href="https:&#x2F;&#x2F;www.raylib.com&#x2F;cheatsheet&#x2F;cheatsheet.html" rel="nofollow">https:&#x2F;&#x2F;www.raylib.com&#x2F;cheatsheet&#x2F;cheatsheet.html</a>
评论 #18934989 未加载
potiuperover 6 years ago
Prefer the use of types over preprocessor defines - ex: static const vs #define PI, RAD2DEG, etc. (<a href="https:&#x2F;&#x2F;github.com&#x2F;raysan5&#x2F;raylib&#x2F;blob&#x2F;master&#x2F;src&#x2F;raymath.h" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;raysan5&#x2F;raylib&#x2F;blob&#x2F;master&#x2F;src&#x2F;raymath.h</a>). Also, take a look at using the GLSL data types for vectors and matrices - <a href="https:&#x2F;&#x2F;www.khronos.org&#x2F;opengl&#x2F;wiki&#x2F;Data_Type_(GLSL)" rel="nofollow">https:&#x2F;&#x2F;www.khronos.org&#x2F;opengl&#x2F;wiki&#x2F;Data_Type_(GLSL)</a> along with explicit use of SSE when appropriate and supported.
thepete2over 6 years ago
Could you use this for bigger projects? Or would I run into (performance?) problems and have to port the project to another engine?
评论 #18938040 未加载
jpfedover 6 years ago
&gt;Bindings to Lua (raylib-lua), Go (raylib-go) and more!<p>Is there a list of other bindings somewhere? I didn&#x27;t see one in my admittedly cursory look.
评论 #18934966 未加载
lbjover 6 years ago
Looks awesome, but unfortunately a few of the examples don&#x27;t work for me. Is Firefox not supported?
评论 #18938022 未加载
dlivingstonover 6 years ago
Very cool - the syntax reminds me of Blitz3D, the language of choice for 15 year old me :)<p>Does this work with Swift and iOS - namely, is embedding this library as a dependency likely to pass Apple&#x27;s App Store review process?
评论 #18938016 未加载
azhenleyover 6 years ago
Looks fun! I have been moving towards using Go for everything so this might be a good excuse for me to figure out how to use C libraries.
genjipressover 6 years ago
Sorry, but this site is illegible on mobile.
评论 #18935001 未加载
zerrover 6 years ago
What would be the similar cross-platform (including mobile) lib in C++?
评论 #18951024 未加载
jteppinetteover 6 years ago
Does anyone know how the C code is ported to the web in the examples?
评论 #18934973 未加载