<feed xmlns='http://www.w3.org/2005/Atom'>
<title>esdl2.git/examples/bullet_engine, branch master</title>
<subtitle>SDL2 Erlang NIF.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/esdl2.git/'/>
<entry>
<title>Fix examples</title>
<updated>2018-02-17T15:05:01+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-02-17T15:05:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/esdl2.git/commit/?id=71a00c0f8ae85eab759f8b27d62ffc33713f085f'/>
<id>71a00c0f8ae85eab759f8b27d62ffc33713f085f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Always enable SMP in the examples</title>
<updated>2015-10-16T23:18:04+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2015-10-16T23:18:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/esdl2.git/commit/?id=24415dee3b150e33c8c0dbcea864c63997ec2c98'/>
<id>24415dee3b150e33c8c0dbcea864c63997ec2c98</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Too many bullets were shot in the first part</title>
<updated>2014-04-07T19:47:45+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2014-04-07T19:47:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/esdl2.git/commit/?id=280b58e6aa3876e42ca0c7215b9d65f44e618520'/>
<id>280b58e6aa3876e42ca0c7215b9d65f44e618520</id>
<content type='text'>
Thanks alpha blending for letting me see that!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks alpha blending for letting me see that!
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a bullet engine example</title>
<updated>2014-04-02T12:09:18+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2014-04-02T12:09:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/esdl2.git/commit/?id=77d0e9d9ca8ed451a40f9b54f20365727ad76f5e'/>
<id>77d0e9d9ca8ed451a40f9b54f20365727ad76f5e</id>
<content type='text'>
A function sdl_renderer:set_logical_size/3 has been added.

All the functions relative to the window, the renderer,
textures and events now run in a separate thread inside
the NIF. A few helper functions and macros have been
added in order to abstract this out. The code reads like
it is doing call or cast to the main thread. In the case
of call, the result is then sent back to the calling
process as a message (Erlang side catches it directly
before returning).

The functions relative to SDL init and surfaces have
not been threaded yet. It may still be needed from the
point of view of SDL or Erlang, but it seems to work
fine as it is so they were left alone for now.

The bullet example originally came from my submission to
Spawnfest 2011, and has been reactualized to work with
a modern Erlang, and SDL2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A function sdl_renderer:set_logical_size/3 has been added.

All the functions relative to the window, the renderer,
textures and events now run in a separate thread inside
the NIF. A few helper functions and macros have been
added in order to abstract this out. The code reads like
it is doing call or cast to the main thread. In the case
of call, the result is then sent back to the calling
process as a message (Erlang side catches it directly
before returning).

The functions relative to SDL init and surfaces have
not been threaded yet. It may still be needed from the
point of view of SDL or Erlang, but it seems to work
fine as it is so they were left alone for now.

The bullet example originally came from my submission to
Spawnfest 2011, and has been reactualized to work with
a modern Erlang, and SDL2.
</pre>
</div>
</content>
</entry>
</feed>
