<?xml version='1.0' encoding='utf-8'?>
<rss version='2.0'>
  <channel>
    <title>Gosu Forums - Gosu News</title>
    <link>http://www.libgosu.org/cgi-bin/mwf/forum.pl</link>
    <description>Gosu Forum Feed</description>
    <lastBuildDate>Sat, 17 Dec 2011 23:00:20 GMT</lastBuildDate>
    <ttl>120</ttl>
    <generator>mwForum 2.24.2</generator>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5362</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5362</link>
      <title>Gosu 0.7.41 released</title>
      <author>jlnr</author>
      <pubDate>Sat, 17 Dec 2011 04:33:59 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Another tiny polishing update that is uploading right now.<br/><br/>• All: Fixed several subtle bugs in the transform stack<br/>• All: Fixed flush() when inside transforms/clipping<br/>• Linux: Fixed another PNG loading bug (thanks again, Jamer!)<br/><br/>If you have run into either of these three bugs, I hope this update fixes them. Just in time for Ludum Dare too!]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5342</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5342</link>
      <title>Gosu 0.7.40 released</title>
      <author>jlnr</author>
      <pubDate>Tue, 13 Dec 2011 18:28:50 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[I am also flushing between states - it&#39;s nice to have reusable states that don&#39;t Z-collide with the game. But I was lucky enough to only scroll in one of the states. :)<br/><br/>Yes, it is already fixed, I just need to package a release again. (Soon, Ludum Dare is impending after all!)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5340</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5340</link>
      <title>Gosu 0.7.40 released</title>
      <author>RavensKrag</author>
      <pubDate>Tue, 13 Dec 2011 10:50:21 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[So it&#39;s supposed to work past .41 then? Strange, as it works in .38, just not in .40.<br/><br/>Ah well, I&#39;ll shuffle the code around a bit for the time being, although it results in a bit of a performance hit.&#160; My code is by no means optimized though, so I&#39;m sure I could stand to eek out some efficiency elsewhere.&#160; I look forward to .41, it sounds like that&#39;s gonna be&#160; good one.<br/><br/>For those interested, here&#39;s what I&#39;m doing.&#160; It&#39;s intended to draw gamestates in different &quot;layers,&quot; such that each state has it&#39;s own z-index ordering.<br/><br/><code>@window.translate *@camera.offset do<br/>&#160; @stack[ACTIVE].each do |gamestate|<br/>&#160; &#160; if gamestate.visible?<br/>&#160; &#160; &#160; gamestate.draw @camera.zoom<br/>&#160; &#160; &#160; @window.flush<br/>&#160; &#160; end<br/>&#160; end<br/>end</code>]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5339</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5339</link>
      <title>Gosu 0.7.40 released</title>
      <author>jlnr</author>
      <pubDate>Tue, 13 Dec 2011 10:02:51 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Do you use <code>flush()</code> somewhere? Up to the upcoming .41, <code>flush()</code> can only be used outside of clipping and transformations :(]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5337</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5337</link>
      <title>Gosu 0.7.40 released</title>
      <author>RavensKrag</author>
      <pubDate>Tue, 13 Dec 2011 04:37:51 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Ok, finally got around to it.&#160; Here&#39;s the error.<br/><br/><code> ruby: ../GosuImpl/Graphics/DrawOpQueue.hpp:128: void Gosu::DrawOpQueue::popTransform(): Assertion </code>individualTransforms.size() &gt; 1&#39; failed.<br/>Aborted `]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5335</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5335</link>
      <title>Ludum Dare #22 next weekend December 16th-19th</title>
      <author>jlnr</author>
      <pubDate>Sun, 11 Dec 2011 23:22:36 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Theme voting started already. Anyone in?<br/><br/><a class='url' href='http://www.ludumdare.com/compo/ld-22-theme-voting-round-1-of-5/'>http://www.ludumdare.com/compo/ld-22-theme-voting-round-1-of-5/</a>]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5304</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5304</link>
      <title>Gosu 0.7.39 released</title>
      <author>bestguigui</author>
      <pubDate>Fri, 02 Dec 2011 18:46:08 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[That would be great ! But take the time needed, your work is still awesome]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5303</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5303</link>
      <title>Gosu 0.7.39 released</title>
      <author>jlnr</author>
      <pubDate>Fri, 02 Dec 2011 18:31:48 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Oh...yeah well, that is impossible sadly :) It may work with a future <code>render_to_texture</code> function.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5302</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5302</link>
      <title>Gosu 0.7.39 released</title>
      <author>bestguigui</author>
      <pubDate>Fri, 02 Dec 2011 18:24:19 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[I was referring to Window#record ;)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5299</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5299</link>
      <title>Gosu 0.7.39 released</title>
      <author>jlnr</author>
      <pubDate>Thu, 01 Dec 2011 20:51:41 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[<code>translate</code> does actually work with custom GL now. Just be sure to use <code>gl(z) { code }</code> instead of the old <code>gl { code }</code>.<br/><br/>Macros are also implemented using <code>gl(z)</code>, and they respect transforms correctly.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5298</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5298</link>
      <title>Gosu 0.7.39 released</title>
      <author>bestguigui</author>
      <pubDate>Thu, 01 Dec 2011 20:27:42 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Too bad it currently doesn&#39;t take Custom OpenGL Code :( <br/>I hope it&#39;ll be possible in a coming version ;)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5296</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5296</link>
      <title>Gosu 0.7.39 released</title>
      <author>jlnr</author>
      <pubDate>Tue, 29 Nov 2011 15:34:04 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Also note that this only works in 0.7.40, so we are definitely in the wrong thread now. ;)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5295</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5295</link>
      <title>Gosu 0.7.39 released</title>
      <author>RavensKrag</author>
      <pubDate>Tue, 29 Nov 2011 15:05:06 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Yeah, I figured <code>translate()</code> was the solution there.&#160; Thanks a lot.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5294</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5294</link>
      <title>Gosu 0.7.39 released</title>
      <author>Spooner</author>
      <pubDate>Tue, 29 Nov 2011 13:52:42 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[I got the impression that the only effect that the recorded size had was to affect how <code>#draw_rot</code> managed <code>rotation</code> and <code>center_x</code>/<code>center_y</code>. Other than that, the size is not relevant (And I tell Gosu that all my recordings are 1x1 because I don&#39;t need to rotate or center them and everything is fine :D).]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5293</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5293</link>
      <title>Gosu 0.7.39 released</title>
      <author>jlnr</author>
      <pubDate>Tue, 29 Nov 2011 10:17:45 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[That&#39;s what it used to do, and you didn&#39;t even have to pass width/height then. But the resulting values were hard to rely on so I made it manual. (e.g. what if you want to record a map, but this one block happens to an empty first row/column)<br/><br/>It always starts from (0, 0). You should draw what you want to draw all between (0, 0) and (width, height), but you can easily use <code>translate()</code> to do so.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5292</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5292</link>
      <title>Gosu 0.7.39 released</title>
      <author>RavensKrag</author>
      <pubDate>Tue, 29 Nov 2011 05:18:45 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[So, how does this work exactly? There&#39;s a height and a width, but no x and y? What if I record images being draw at 2000,2000 or something like that? Is it somehow intelligent enough to cut out the 2000x2000 block of dead space?<br/><br/>Suddenly interested in this technique for the game I&#39;m working on, but I have a larger bottleneck I need to get through first.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5290</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5290</link>
      <title>Gosu 0.7.39 released</title>
      <author>bestguigui</author>
      <pubDate>Mon, 28 Nov 2011 18:20:01 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[This is an amazing feature ! I was starting to use render to texture, but it seems that native Gosu will now do the trick ! Thanks again !]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5287</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5287</link>
      <title>Gosu 0.7.40 released</title>
      <author>jlnr</author>
      <pubDate>Fri, 25 Nov 2011 19:03:53 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Yeah, that would be awesome. :D Linux, right? I haven&#39;t exactly tested it a lot in my VM before releasing.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5285</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5285</link>
      <title>Gosu 0.7.40 released</title>
      <author>RavensKrag</author>
      <pubDate>Fri, 25 Nov 2011 15:37:05 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Just updated to 0.7.40.<br/><br/>Not totally sure what&#39;s wrong, but it&#39;s broken for me.&#160; Sorry to be helpful and unhelpful at the same time, but I got a deadline to meet.&#160; Well, more of a personal milestone, but still.&#160; I&#39;ll try to post more detailed information later.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5240</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5240</link>
      <title>Gosu 0.7.39 released</title>
      <author>danikaze</author>
      <pubDate>Tue, 22 Nov 2011 18:15:27 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[I&#39;m not sure. Never implemented it, just used ;)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5239</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5239</link>
      <title>Gosu 0.7.39 released</title>
      <author>jlnr</author>
      <pubDate>Tue, 22 Nov 2011 14:47:40 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Isn&#39;t that the same as render-to-texture? I have no clue (yet) ;)<br/><br/>Anyway, I&#39;ll be focusing on the interface for a while now. Contributions on GitHub are welcome if there is a use case for them. (Unused code breaks within months, in my experience)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5238</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5238</link>
      <title>Gosu 0.7.39 released</title>
      <author>danikaze</author>
      <pubDate>Tue, 22 Nov 2011 14:36:11 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[For this purpose, maybe enabling a backbuffer would be even more useful.<br/>Do you plan to enable it sometime?]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5236</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5236</link>
      <title>Gosu 0.7.39 released</title>
      <author>jlnr</author>
      <pubDate>Tue, 22 Nov 2011 11:33:58 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[I really want to add render-to-texture too, but I think it would be even more misleading to make it related to macro recording - I think it should be a separate function. Some advantage of record-to-macro that couldn&#39;t be had with a proper texture:<br/><br/>• recording macros is super fast, independent of graphics drivers, unlike textures<br/>• macros can be much smaller than textures in memory. If you want to e.g. record a large tile map, each tile is 144 bytes in the macro because it only references the existing tile Image. On a texture, you could only represent 6x6px in that space.<br/>• macros scale up and rotate nicely like vector graphics do, textures become pixelated and blurry.<br/><br/>Maybe &quot;like vector graphics&quot; is really the right way to imagine them? idk :)<br/><br/>For my use cases (tile maps, skeletal animation) this makes them much better than textures. But now that they&#39;re there, the next cool feature will indeed be render-to-texture. Maybe that&#39;d make the whole GLSL post-processing thing nicer too?]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5234</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5234</link>
      <title>Gosu 0.7.39 released</title>
      <author>Maverick</author>
      <pubDate>Tue, 22 Nov 2011 03:44:16 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[As I said, I&#39;m not denying it&#39;s awesome, but if we can see it move onto actually being mutable as an image, that would be the real big step I think for Gosu. (One of the key features that really stands out both performance-wise AND graphics-wise)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5232</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5232</link>
      <title>Gosu 0.7.39 released</title>
      <author>Spooner</author>
      <pubDate>Tue, 22 Nov 2011 02:50:13 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Although it acts like an Image in Gosu, all that happens in record is that it stores a series of GL commands you are calling and can replicate exactly that at a later date (why jlnr calls it a &quot;macro&quot;). This is a small speed improvement in C++ but a massive, massive one in Ruby (since then you just have &quot;many&quot; operations in pure C++, not &quot;many&quot; Image#draws calling those same operations in Ruby). Brilliant for drawing large backgrounds from tiles, for example, which don&#39;t often change and need to be re-recorded.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5231</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5231</link>
      <title>Gosu 0.7.39 released</title>
      <author>Maverick</author>
      <pubDate>Tue, 22 Nov 2011 00:35:19 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[I still feel like this whole record() business is misleading and very very strict in terms of what it can and cannot do. <br/>I know this is a really useful feature, but I feel like this could be a stand-out feature for Gosu if we could (*ahem* you could...) figure out how to make the recorded data mutable like a texture.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5230</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5230</link>
      <title>Gosu 0.7.39 released</title>
      <author>danikaze</author>
      <pubDate>Mon, 21 Nov 2011 21:57:50 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[well, I&#39;ll do my research with GL then :)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5229</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5229</link>
      <title>Gosu 0.7.39 released</title>
      <author>jlnr</author>
      <pubDate>Mon, 21 Nov 2011 20:55:56 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[No, you can use raw GL for that though. You just have to call <code>Graphics::flush()</code> and then use any of the GL functions for copying the screen to memory (or was it textures? - not Gosu specific anyway).]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5228</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5228</link>
      <title>Gosu 0.7.39 released</title>
      <author>danikaze</author>
      <pubDate>Mon, 21 Nov 2011 20:32:11 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[so right now you can&#39;t &quot;take screenshots&quot; using this, can you?]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5227</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5227</link>
      <title>Gosu 0.7.39 released</title>
      <author>jlnr</author>
      <pubDate>Mon, 21 Nov 2011 20:24:59 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Right, because recording is not the same as rendering to a texture. <code>toBitmap()</code> will throw an exception telling you that Macros cannot be converted into Bitmaps.<br/><br/>Rendering to textures has not been implemented yet. But if it was, you wouldn&#39;t need record anyway. :) There would be an equivalent pair of <code>beginRenderingToTexture</code>/<code>endRenderingToTexture</code>.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5226</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5226</link>
      <title>Gosu 0.7.39 released</title>
      <author>danikaze</author>
      <pubDate>Mon, 21 Nov 2011 20:23:51 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Thanks.<br/><br/>So this should work, right? (but it doesn&#39;t :P)<br/><code><br/>graphics().beginRecording();<br/><br/>// do some drawing ops.<br/><br/>auto_ptr&lt;Gosu::ImageData&gt; ptr =&#160; graphics().endRecording(1280,720);<br/>Gosu::saveImageFile(ptr-&gt;toBitmap(), resourcePrefix() + L&quot;screenshot.png&quot;);<br/></code>]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5225</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5225</link>
      <title>Gosu 0.7.39 released</title>
      <author>jlnr</author>
      <pubDate>Mon, 21 Nov 2011 19:54:24 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Sorry, I was confused. They are both members of <code>Gosu::Graphics</code> and documented there:<br/><br/><a class='url' href='http://www.libgosu.org/cpp/class_gosu_1_1_graphics.html'>http://www.libgosu.org/cpp/class_gosu_1_1_graphics.html</a>]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5224</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5224</link>
      <title>Gosu 0.7.39 released</title>
      <author>danikaze</author>
      <pubDate>Mon, 21 Nov 2011 19:44:21 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[uhm, I&#39;m sorry, but as it&#39;s not documented I didn&#39;t know how to use it.<br/>Anyways, I can&#39;t see it as usable...]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5223</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5223</link>
      <title>Gosu 0.7.39 released</title>
      <author>jlnr</author>
      <pubDate>Mon, 21 Nov 2011 19:34:49 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[In C++, it is <code>beginRecording()</code> to start recording, then <code>Gosu::Image(endRecording(width, height))</code> to construct an image from the result of the recording process. Both are member functions of <code>Gosu::Graphics</code>. (corrected)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5222</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5222</link>
      <title>Gosu 0.7.39 released</title>
      <author>danikaze</author>
      <pubDate>Mon, 21 Nov 2011 19:01:28 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[As erisdiscord said, is record working?<br/>I&#39;m on C++ and 0.7.40 and still getting error C2039: &#39;record&#39; : is not a member of MyWindow (class MyWindow : public Gosu::Window)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5209</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5209</link>
      <title>Gosu 0.7.40 released</title>
      <author>jlnr</author>
      <pubDate>Sun, 20 Nov 2011 21:20:38 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[I guess it depends on whether <code>rotate</code> and <code>scale</code> are mutating methods or not. Since they won&#39;t mutate the underlying Image at least, I would&#39;ve expected them to always be non-mutating. I think your middle code bit should be <code>manipulated_image.translate!(1, 0)</code>. So for efficiency&#39;s sake, one could make it clear as <code>img.rotate(6).scale!(2).draw(...)</code>, meh. :/]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5208</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5208</link>
      <title>Gosu 0.7.40 released</title>
      <author>Spooner</author>
      <pubDate>Sun, 20 Nov 2011 17:29:27 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Not really. The standard way to manage chains like that is only to calculate when required by something like a draw (treat it something like a ruby iterator?).]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5207</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5207</link>
      <title>Gosu 0.7.40 released</title>
      <author>jlnr</author>
      <pubDate>Sun, 20 Nov 2011 17:26:11 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Since I cannot stop you Ruby guys from keeping a reference to the &quot;manipulated&quot; image, that&#39;s the only way it&#39;d make sense. But it&#39;d also mean a new allocated object for every step in the chain. :( I will benchmark all the possibilities once I get there.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5206</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5206</link>
      <title>Gosu 0.7.40 released</title>
      <author>Spooner</author>
      <pubDate>Sun, 20 Nov 2011 16:22:43 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Oh, sorry, I thought we were getting img.draw x, y, z, scale: 2, rotate: 45, mode: :add in 0.8. I think I remember you mentioning you liked the idea of method chains though :(<br/><br/>The issue I have with img.rotate(6).scale(2).draw(x, y, z) is the probably performance issue of lots of ruby method calls every time I draw something (maybe not that important; sometimes it is hard to judge real CPU impact). However, if I can do manipulated_image =&#160; img.rotate(6).scale(2).translate(x, y) and then manipulated_image.translate(1, 0) and then manipulated_image.draw() at a later date, then I feel I am really winning :)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5205</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5205</link>
      <title>Gosu 0.7.40 released</title>
      <author>jlnr</author>
      <pubDate>Sun, 20 Nov 2011 16:16:42 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[The hashes are only coming for constructors in 0.8, not <code>Image#draw</code> and friends. I haven&#39;t had time to do benchmarks yet either, but it seems we could have a modular drawing thing at the same performance cost. (<code>img.rotate(6).scale(2).draw(x, y, z)</code>, which I scheduled for 0.9 :P)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5204</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5204</link>
      <title>Gosu 0.7.40 released</title>
      <author>Spooner</author>
      <pubDate>Sun, 20 Nov 2011 13:22:23 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[In 0.8 the arguments would be hashes, so the &quot;missing parameter&quot; argument is a terribly short-lived one :).]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5202</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5202</link>
      <title>Gosu 0.7.40 released</title>
      <author>jlnr</author>
      <pubDate>Sun, 20 Nov 2011 10:02:57 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Spooner brought this up too, but I am not convinced yet. With a shared base class, the interfaces of Image and Macro would be the same, except Macro wouldn&#39;t have <code>#to_blob</code> and <code>#insert</code> (the new interface for things like Texplay). <code>#gl_tex_info</code> could be there, but return <code>nil</code> as large Images already do. Or maybe BigImage could be a third class, but then calling <code>Image.new</code> to create it would be weird.<br/><br/>Or I could actually implement&#160; <code>#to_blob</code> and <code>#update</code> for Macro. (<code>#to_blob</code> would require render-to-texture to be there, <code>#update</code> is easy.) That would probably take the same amount of time and keep the class count down.<br/><br/>The annoying thing is that all the differences lie in the arguments to the methods, so it would actually be more correct if Macro had an interface that is <i>similar</i> but technically unrelated to Image, with the <code>color</code> and <code>mode</code> arguments missing because they won&#39;t ever work accurately. Usually they&#39;re at the end of the argument list...except for <code>#draw_as_quad</code>. So that wouldn&#39;t be super clean either.<br/><br/>Weird, weird, weird. :)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5201</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5201</link>
      <title>Gosu 0.7.40 released</title>
      <author>erisdiscord</author>
      <pubDate>Sun, 20 Nov 2011 09:16:45 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Perhaps it&#39;s time to refactor slightly: new base class (Drawable) that is inherited by Image and Macro. That way there&#39;s no worrying whether an image is actually an image, right? C:<br/><br/>At least once all the draw methods work for recorded macros.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5199</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5199</link>
      <title>Gosu 0.7.40 released</title>
      <author>jlnr</author>
      <pubDate>Sat, 19 Nov 2011 22:27:27 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Hotfix release:<br/><br/>• All: Fixed interaction between recording and transforms<br/>• Linux: <code>screenWidth</code>/<code>screenHeight</code> also returns the size of the primary screen only (thanks again, JayThirtySeven)<br/>• Linux/Ruby: Fixed linking error<br/><br/>The only things <code>record</code> cannot handle now are lines, triangles, clipping and custom GL, and the resulting image cannot generally be drawn with <code>draw_rot</code> or <code>draw_as_quad</code>/<code>getData().draw(...)</code>.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5198</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5198</link>
      <title>Gosu 0.7.39 released</title>
      <author>jlnr</author>
      <pubDate>Sat, 19 Nov 2011 11:13:54 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[It is a bit like rendering to a texture, but not really. It just groups a lot of drawing operations together. This is why you cannot <code>draw_rot</code> the resulting image yet, or tint it with colors (but this will be fixed). You can also not use Texplay on it.<br/><br/>Also, unlike rendering to a texture, it does not restrict you to drawing in the region between (0, 0) and (width, height). You need to use clipping for that.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5197</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5197</link>
      <title>Gosu 0.7.39 released</title>
      <author>erisdiscord</author>
      <pubDate>Sat, 19 Nov 2011 05:34:05 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Goodness. Record is working? I&#39;m gonna have to dig out some of my old code one of these days and try it out. :D]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5196</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5196</link>
      <title>Gosu 0.7.39 released</title>
      <author>Jwosty</author>
      <pubDate>Sat, 19 Nov 2011 04:18:16 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Ooooh! That record thing sounds pretty nifty. So it&#39;s basically like getting a region from the screen and then being able to draw it?]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5195</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5195</link>
      <title>Gosu 0.7.39 released</title>
      <author>jlnr</author>
      <pubDate>Sat, 19 Nov 2011 00:57:18 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Oh, and a note. If you call <code>record</code> within any transform, the outer transform will be applied to what is in the block. This makes sense in its own way, but will change, so don&#39;t rely on it :)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5194</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5194</link>
      <title>Gosu 0.7.39 released</title>
      <author>Spooner</author>
      <pubDate>Sat, 19 Nov 2011 00:33:44 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[I&#39;m using a fair bit of recording in Smash and Grab and it makes a massive difference to frame-rate (only about 3000 draws in 4 recordings though). Without it, I&#39;d have to render everything to multiple images and mess around with a lot of code to manage that instead, because it would be unusable otherwise. Thanks for finally fixing it up properly - saved a lot of code over what I had to use for the undocumented version though it is likely to break other games that use it because it now works properly :D]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5193</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5193</link>
      <title>Gosu 0.7.39 released</title>
      <author>jlnr</author>
      <pubDate>Sat, 19 Nov 2011 00:15:10 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[This is a bit more of an experimental release, I have cleaned up the backend a lot, which conveniently made the long-undocumented <code>record</code> function work.<br/><br/>Let me know if performance has suffered in any way. If anything, Gosu should be faster now, but it doesn&#39;t feel faster in CptnRuby for me. (Might be my system.)<br/><br/>• All: Added <code>Window#record(width, height)</code>.<br/>• All: Removed an overcautious assert() from OGG file reading<br/>• All: Fixed OGG files&#39; destructor stopping unrelated songs<br/>• Linux: Fullscreen only covers one screen now (thanks JayThirtySeven!)<br/>• Ruby: Switched from rdoc to YARD<br/><br/>Note to GL hackers: Custom GL code now inherits Gosu&#39;s MODEL_VIEW matrix (applied transforms) as well as current clipping rect. If your code does not want this, you have to unset it manually. Also, if the current clipping area is empty while you call <code>enqueueGL</code>, the GL block is <i>not</i> run. I am open to debate this, it&#39;s a weird case. :)<br/><br/><code>record</code> is a super-powerful, awesome feature, and there are countless ways to use and abuse it. In two sentences, you can just do <code>@map_image = record(@map.width_in_pixels, @map.height_in_pixels) { @map.draw }</code> once and then draw <code>@map_image</code> every frame. <code>@map_image</code> will behave like a single Image, but contain a <i>vertex array</i> of all your map tiles. One method call - <code>@map_image.draw</code> - will draw your whole map. This is a good optimization in C++ and a HUGE one in Ruby. Putting 120,000 calls to <code>Image#draw</code> inside a macro, I could still draw it at 60 Hz, and that would be one gigantic map. Try that with nested Ruby loops!<br/><br/>I wish it wasn&#39;t so hard to explain, I really need to adjust the CptnRuby script. :)]]>
      </description>
    </item>
  </channel>
</rss>

