<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>game library | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/game-library/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Wed, 30 Dec 2020 10:40:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>game library | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>Raylib &#8211; a C library for videogames</title>
		<link>https://learncgames.com/raylib-a-c-library-for-videogames/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=raylib-a-c-library-for-videogames</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Fri, 01 Jan 2021 00:00:55 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[libraries]]></category>
		<category><![CDATA[game library]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=2247</guid>

					<description><![CDATA[<p>Much as I love SDL, I&#8217;m quite happy to look at alternatives and Raylib looks very good. It was inspired by Borland BGI graphics lib and by XNA framework (both of which I&#8217;ve used). It&#8217;s written in C99 and is very cross-platform, even listing Raspberry Pi (I&#8217;m guessing they mean Raspberry Pi OS) as well [&#8230;]</p>
The post <a href="https://learncgames.com/raylib-a-c-library-for-videogames/">Raylib – a C library for videogames</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:281,&quot;href&quot;:&quot;https:\/\/www.raylib.com&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260206133105\/https:\/\/www.raylib.com\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 18:46:50&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-10 13:49:49&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-13 15:37:06&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-16 22:41:30&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-20 12:21:10&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-25 14:58:59&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-28 18:54:02&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-04 10:10:49&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-07 11:25:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-11 23:14:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-17 11:18:45&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-21 23:31:24&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-26 02:10:24&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-30 11:29:19&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-03 04:01:03&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-06 15:55:21&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-06 15:55:21&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:282,&quot;href&quot;:&quot;https:\/\/github.com\/raysan5\/raylib\/blob\/master\/BINDINGS.md&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260204211950\/https:\/\/github.com\/raysan5\/raylib\/blob\/master\/BINDINGS.md&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 13:29:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-10 13:49:49&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-14 05:12:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-17 13:23:45&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-25 14:58:59&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-01 10:20:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-06 12:50:24&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-03-11 23:14:53&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-03-17 11:18:45&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-23 00:38:44&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-03-26 02:10:24&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-30 11:29:18&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-03 09:09:16&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-06 15:55:21&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-06 15:55:21&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:283,&quot;href&quot;:&quot;https:\/\/www.raylib.com\/examples.html&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260206133108\/https:\/\/www.raylib.com\/examples.html&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-10 02:00:27&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-14 05:13:00&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-17 13:23:45&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-25 14:59:01&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-02 23:03:40&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-06 12:50:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-11 23:14:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-17 11:18:45&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-23 00:38:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-26 02:10:24&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-30 11:29:19&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-03 09:09:20&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-06 15:55:21&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-06 15:55:21&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:284,&quot;href&quot;:&quot;https:\/\/github.com\/raysan5\/raygui&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260205113238\/https:\/\/github.com\/raysan5\/raygui&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 13:29:52&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-10 13:49:49&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-14 05:12:58&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-17 15:19:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-25 14:58:59&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-02 23:03:45&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-06 12:50:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-11 23:14:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-17 11:18:45&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-23 00:38:46&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-26 02:10:24&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-30 11:29:20&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-03 09:09:16&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-06 15:55:25&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-06 15:55:25&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]'></div>
<p><img fetchpriority="high" decoding="async" class="alignleft size-medium wp-image-2248" src="https://learncgames.com/wp-content/uploads/2020/12/raylib-300x169.png" alt="Raylib screenshota" width="300" height="169" srcset="https://learncgames.com/wp-content/uploads/2020/12/raylib-300x169.png 300w, https://learncgames.com/wp-content/uploads/2020/12/raylib-768x433.png 768w, https://learncgames.com/wp-content/uploads/2020/12/raylib.png 830w" sizes="(max-width: 300px) 100vw, 300px" />Much as I love SDL, I&#8217;m quite happy to look at alternatives and <a title="Link to Raylib.com" href="https://www.raylib.com/" target="_blank" rel="nofollow noopener">Raylib</a> looks very good. It was inspired by Borland BGI graphics lib and by XNA framework (<em>both of which I&#8217;ve used</em>).</p>
<p>It&#8217;s written in C99 and is very cross-platform, even listing Raspberry Pi (<em>I&#8217;m guessing they mean Raspberry Pi OS</em>) as well as Windows, Mac, Linux, Android and HTML5. Basically any platform that supports C and OpenGL. There is a massive <a title="Link to Raylib bindings" href="https://github.com/raysan5/raylib/blob/master/BINDINGS.md" target="_blank" rel="nofollow noopener">list of bindings</a> for use in other programming languages.</p>
<p>Check out the <a title="Link to Rylib examples" href="https://www.raylib.com/examples.html" target="_blank" rel="nofollow noopener">examples page</a>; you can try them online and each has a C source code listing so you can see how it&#8217;s done.</p>
<p>What I really like about RayLib is the scope of it and this is where I think it beats SDL. There&#8217;s 2D and 3D support, text support, in eight modules (<em>core, shapes, textures, text, models, shaders, raudio and physac)</em>. It also comes with 8 free fonts but you can use your own custom fonts, pretty much the same way as I did in the Asteroids game.</p>
<p>I was very impressed with the text demo where a red box contains the text and if you resize it with the mouse the text is word wrapped.</p>
<p>The Spanish developer Ray (<em>surname unknown</em>) was cited today as the #1 trending C developer on GitHub and that&#8217;s a testament to the seven years that he has put into Raylib. His design philosophy with Raylib is to make programming fun and I am going to check it out.  If it looks as good as I think it is, I will be switching to it for future games work. One thing that particular intrigues me is the <a title="Link to RayGui library on GitHub" href="https://github.com/raysan5/raygui" target="_blank" rel="nofollow noopener">RayGui library</a>&#8211; an immediate mode GUI library. There are various tools that have been designed with it. and it supports these GUI controls:</p>
<pre><code class="" data-line="">Label       |  Button      |  LabelButton |  ImageButton  |  Toggle      |  ToggleGroup |  CheckBox
ComboBox    |  DropdownBox |  TextBox     |  TextBoxMulti |  ValueBox    |  Spinner     |  Slider   
SliderBar   |  ProgressBar |  StatusBar   |  ScrollBar    |  ScrollPanel |  DummyRec    |  Grid</code></pre>
<p><img decoding="async" class="alignleft size-large wp-image-2249" src="https://learncgames.com/wp-content/uploads/2020/12/raygui_style_table_multi-1024x160.png" alt="RayGui table" width="1024" height="160" srcset="https://learncgames.com/wp-content/uploads/2020/12/raygui_style_table_multi-1024x160.png 1024w, https://learncgames.com/wp-content/uploads/2020/12/raygui_style_table_multi-300x47.png 300w, https://learncgames.com/wp-content/uploads/2020/12/raygui_style_table_multi-768x120.png 768w, https://learncgames.com/wp-content/uploads/2020/12/raygui_style_table_multi-1536x240.png 1536w, https://learncgames.com/wp-content/uploads/2020/12/raygui_style_table_multi.png 1638w" sizes="(max-width: 1024px) 100vw, 1024px" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>The post <a href="https://learncgames.com/raylib-a-c-library-for-videogames/">Raylib – a C library for videogames</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2247</post-id>	</item>
	</channel>
</rss>
