<?xml version='1.0' encoding='utf-8'?>
<rss version='2.0'>
  <channel>
    <title>Gosu Forums - Gosu Exchange</title>
    <link>http://www.libgosu.org/cgi-bin/mwf/forum.pl</link>
    <description>Gosu Forum Feed</description>
    <lastBuildDate>Thu, 23 May 2013 22:00:04 GMT</lastBuildDate>
    <ttl>120</ttl>
    <generator>mwForum 2.29.0</generator>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6855</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6855</link>
      <title>Pseudo wait</title>
      <author>SPK</author>
      <pubDate>Thu, 23 May 2013 19:20:42 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Hello,<br/><br/>I&#39;m showing an animation and want to wait until it&#39;s done.<br/><br/>I have battler objects and each of them releases an animation which I just call by iterating over them.<br/>But the second battler shall only show his animation when the first one is done and the third when the second is done.<br/><br/>Okay, that&#39;s actually not that difficult. But somehow, my code seems to has a flaw.<br/>My environment that draws the animation has a animation object, it&#39;s nil until I iterate over those battlers.<br/><br/><a class='ura' href='http://pastebin.kde.org/749792/'>http://pastebin.kde.org/749792/</a><br/><br/><code>class Environment<br/>&#160; def initialize<br/>&#160; &#160; @animation = nil<br/>&#160; &#160; @battlers = [Battler.new(&quot;some&quot;), Battler.new(&quot;ordinary&quot;), Battler.new(&quot;objects&quot;)] <br/>&#160; end<br/><br/>&#160; def update<br/>&#160; &#160; @battlers.each {|battler| battler.update}<br/>&#160; end<br/><br/>&#160; def draw<br/>&#160; &#160; @battlers.each {|battler| battler.draw}<br/><br/>&#160; &#160; if not @animation.nil?<br/>&#160; &#160; &#160; if not @animation.shown<br/>&#160; @animation.draw<br/>&#160; &#160; &#160; end<br/>&#160; &#160; end<br/>&#160; end<br/><br/>&#160; def performAnimations<br/>&#160; &#160; @battlers.each do |battler|<br/>&#160; &#160; &#160; # some stuff<br/>&#160; &#160; &#160; @animation = Animation.new(battler.highOugiAnimation)<br/>&#160; &#160; &#160; <br/>&#160; &#160; &#160; # wait until animation finished<br/>&#160; &#160; &#160; waitAnimation<br/>&#160; &#160; end<br/>&#160; end<br/><br/>&#160; def waitAnimation<br/>&#160; &#160; if not @animation.nil?<br/>&#160; &#160; &#160; while not @animation.shown<br/>&#160; update<br/>&#160; draw<br/>&#160; &#160; &#160; end<br/>&#160; &#160; end<br/>&#160; end<br/>end<br/><br/>class Animation<br/>&#160; attr_reader :shown<br/>&#160; def initialize(animation)<br/>&#160; &#160; @animation = animation<br/>&#160; &#160; @shown = false<br/>&#160; &#160; @pseudoTimer = 0<br/>&#160; &#160; @pseudoNumber = 1500<br/>&#160; end<br/><br/>&#160; def draw<br/>&#160; &#160; @animation.draw(24, 24, 24)<br/>&#160; &#160; @pseudoTimer += 1 <br/>&#160; &#160; <br/>&#160; &#160; if @pseudoTimer &gt; @pseudoNumber<br/>&#160; &#160; &#160; @shown = true<br/>&#160; &#160; end<br/>&#160; end<br/><br/>end</code><br/><br/>I expect the animation to be shown, during that period the draw and update works normally, but &quot;feels&quot; like a wait.<br/>But what happens instead is that the animation is NOT drawn, everything freezes up during the waitAnimation call and<br/>I have no clue WHY it happens.<br/><br/>Please, I need your advice...]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6853</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6853</link>
      <title>Looking for a Gosu tutorial(Video or Text)</title>
      <author>RunnerPack</author>
      <pubDate>Tue, 21 May 2013 04:27:56 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[That&#39;s one way to do it, but that can get quite complicated/slow when you start using more than a few objects. Have a gander at: <a class='url' href='http://www.libgosu.org/rdoc/Gosu/Window.html#translate-instance_method'>Gosu::Window#translate</a>.<br/><br/>Use it like:<br/><br/><code>translate(world_x, world_y) {<br/>&#160; thing.draw(local_x, local_y, ...)<br/>}</code><br/><br/>Keeping in mind, of course, that when the camera moves, e.g. right, the world &quot;moves&quot; left, and so on.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6852</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6852</link>
      <title>Can I use Gosu to make an Isometric 2D game?</title>
      <author>RunnerPack</author>
      <pubDate>Tue, 21 May 2013 04:15:34 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[You can achieve * A N Y T H I N G * using Gosu! ;)<br/><br/>But seriously, yes you can. It&#39;s basically just a &quot;top-down&quot; perspective combined with the right graphical style (in fact, remember the dungeons in LoZ? The walls were top-down, but everything else was oblique!) The only semi-difficult thing is collision-detection, and then only if you want to be able to walk &quot;behind&quot; stuff (which LoZ games don&#39;t usually let you do).<br/><br/>If you want to do jumping or other &quot;Z-axis&quot; stuff, you just have to use the desired Z coordinate to modify the base Y coordinate. I&#39;ve done this in Flash/AS3.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6851</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6851</link>
      <title>Error no such file to load - Gosu</title>
      <author>SPK</author>
      <pubDate>Mon, 20 May 2013 13:57:30 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Which OS? Under Linux you should be careful, when installing gems as root... they may be installed where your user&#39;s path doesn&#39;t look.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6850</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6850</link>
      <title>Error no such file to load - Gosu</title>
      <author>SeamusFD</author>
      <pubDate>Mon, 20 May 2013 13:35:14 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Need help with getting Gosu running. I am using a different computer that did not have gosu currently. However I think I have installed it...<br/>But when I try to run anything I get the error:<br/><br/>LoadError: no such file to load — gosu<br/><br/>method gem_original_require&#160; in custom_require.rb at line 31<br/>method require&#160; in custom_require.rb at line 31<br/>at top level&#160; in main.rb at line 2<br/><br/>Could someone please help...]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6848</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6848</link>
      <title>Blink effect</title>
      <author>jlnr</author>
      <pubDate>Sun, 19 May 2013 02:58:19 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[There are always many fun ways to implement visual effects... :) You can also create the white image once using TexPlay or even pure Gosu:<br/><br/><a class='ura' href='http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6425'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6425</a><br/><br/>And then overlay the white image over the original with a changing alpha value (or the other way around). However the Ashton solution should handle semi-transparent pixels a lot more nicely.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6847</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6847</link>
      <title>Blink effect</title>
      <author>SPK</author>
      <pubDate>Sat, 18 May 2013 19:41:22 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Awesome. Ashton::Shader(fragment: :fade) provides everything I need. Though, the syntax is a bit special and the Ashton source files doesn&#39;t really help.<br/><br/>However, I got what I asked for. Thousand thanks. :-)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6846</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6846</link>
      <title>Blink effect</title>
      <author>SPK</author>
      <pubDate>Sat, 18 May 2013 18:23:46 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Thanks for the fast answer.<br/><br/>Pitty it&#39;s the first time I hear about it. I&#39;ll report back, once I tried it out.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6845</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6845</link>
      <title>Blink effect</title>
      <author>lol_o2</author>
      <pubDate>Sat, 18 May 2013 18:14:57 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Try Ashton: <a class='ura' href='http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?tid=784'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?tid=784</a><br/>You just need a proper shader. And it&#39;s better to give up on TexPlay, because it&#39;s very slow.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6844</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6844</link>
      <title>Blink effect</title>
      <author>SPK</author>
      <pubDate>Sat, 18 May 2013 17:59:49 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Hello,<br/><br/>I need a blink effect (or called flash?) like the one used here: <a class='ura' href='http://www.youtube.com/watch?v=go7rlvyI7Ys'>http://www.youtube.com/watch?v=go7rlvyI7Ys</a><br/>I tried it using Texplay, but it&#39;s kinda limited. I coulnd&#39;t find a way to turn my image all white and slowly change it back.<br/>My approach then was to copy my image, draw it over my original image and make it from white to 100% opacity. But<br/>I noticed that&#39;s not the best performant way and I wasn&#39;t even able to turn my image white or change it&#39;s opacity... instead I drew a reddish rectangle on top<br/>of my CLONED image. Then I switch between those two images every x frames to simulate a blink effect. Well, ...<br/><br/>can anyone suggest a better way to implement a blink using Texplay?]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6843</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6843</link>
      <title>Can I use Gosu to make an Isometric 2D game?</title>
      <author>Eamonn</author>
      <pubDate>Fri, 17 May 2013 14:46:43 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Hey that IS what I&#39;m looking for. I was told somewhere it was called isometric. Is this achievable using Gosu?]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6842</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6842</link>
      <title>Looking for a Gosu tutorial(Video or Text)</title>
      <author>Eamonn</author>
      <pubDate>Fri, 17 May 2013 14:39:27 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Thank you all for your help! So really I should just read the main parts of the documentation and then when I understand the main concepts get some example games and mod them a little bit? The only thing that puzzles me is camera movement. What I think you would do would make the X/Y position of the object(s) that you want to move adjust depending on the way you move like up, down, left and right. I&#39;ll look into it though. Thanks you all for giving me some help on this!!! :D]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6840</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6840</link>
      <title>Using Gosu without starting X server</title>
      <author>jlnr</author>
      <pubDate>Fri, 17 May 2013 09:32:58 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[There was an attempt at porting Gosu in the very, very early days of the Pi:<br/><br/><a class='ura' href='http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5638'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5638</a><br/><br/>From what I remember this continued on IRC and the biggest obstacle was in fact Gosu&#39;s dependency on X11 (or alternatively Win32/Apple APIs).<br/><br/>There was a snippet of code on github that demonstrated how to open an OpenGL ES context using a proprietary, binary driver, but the snippet itself had no license attached so I kept my hands off it.<br/><br/>Do you know how other libraries handle it? If there is a way to open an OpenGL ES context, then most of Gosu should immediately work. Font rendering, audio, input are the next step then.<br/><br/>I am also not sure if I can help much without owning one myself :) I only have a little zoo of mobile devices for general OpenGL ES development.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6836</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6836</link>
      <title>Can I use Gosu to make an Isometric 2D game?</title>
      <author>Spooner</author>
      <pubDate>Fri, 17 May 2013 08:59:22 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[I made an isometric game&#160; which worked quite well in Gosu: <a class='ura' href='http://spooner.github.io/games/smash_and_grab/'>http://spooner.github.io/games/smash_and_grab/</a>]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6834</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6834</link>
      <title>Using Gosu without starting X server</title>
      <author>misbehavens</author>
      <pubDate>Fri, 17 May 2013 05:28:06 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[I am planning on building a Gosu application which launches on startup of my Raspberry Pi. I installed Ruby 1.9.3 and the Gosu gem. When I ran a simple Gosu example game, I got the error &quot;Cannot find display (RuntimeError)&quot;. That&#39;s when I realized that I could not run Gosu without starting the X window server.<br/><br/>I&#39;m not that familiar with the lower level internals of Linux and Gosu, so I&#39;m wondering, is there any way that I can run a Gosu application without starting X server? I would rather not waste the time and resources to start up all the GUI stuff just to ignore it by running a full screen Gosu application.<br/><br/>Thoughts?<br/><br/>--Andrew]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6833</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6833</link>
      <title>Looking for a Gosu tutorial(Video or Text)</title>
      <author>jlnr</author>
      <pubDate>Fri, 17 May 2013 04:58:15 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[There is no definitive list of concepts :) If you want to write a jigsaw puzzle game, the code will look completely different from a Super Mario clone. Gosu makes almost no assumptions about what you want to do.<br/><br/>I would suggest that you download a few smaller games from the Showcase and mod them a little, and get a feeling for which code style you prefer.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6832</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6832</link>
      <title>Can I use Gosu to make an Isometric 2D game?</title>
      <author>RunnerPack</author>
      <pubDate>Thu, 16 May 2013 23:15:32 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[I think what you&#39;re referring to is called an &quot;oblique projection&quot;. See: <a class='ura' href='http://en.wikipedia.org/wiki/File:Graphical_projection_comparison.png'>http://en.wikipedia.org/wiki/File:Graphical_projection_comparison.png</a>]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6831</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6831</link>
      <title>Looking for a Gosu tutorial(Video or Text)</title>
      <author>RunnerPack</author>
      <pubDate>Thu, 16 May 2013 23:11:12 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[You don&#39;t have to read the documentation &quot;cover-to-cover&quot; to learn from it. Just skim over the main classes (Window, Image, etc.) and look at the included examples. When you have a general idea of how things are done, start making something. If there&#39;s something you want to do, but you don&#39;t know how, take a look in the docs. There&#39;s really not that much to Gosu (on the surface) and it&#39;s really well organized and logical. You should be able to pick up the basics very quickly with just a bit of practice.<br/><br/>Also, don&#39;t forget to use the search engine here on the forum. Most likely, your question has already been asked and answered at least once.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6830</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6830</link>
      <title>Screen goes black.</title>
      <author>onnoowl</author>
      <pubDate>Thu, 16 May 2013 21:18:32 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[The draw function does not seem to be throwing any sort of exception. When the screen goes black, the rescue function does not trigger.<br/>However, I can prove that the rescue function is in fact doing it&#39;s job, because if I try to interrupt the program (ctrl C) it prints the interruption error message and then just keeps on going.<br/>The draw function is not throwing any sort of error. What else could be causing the blackness?]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6829</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6829</link>
      <title>Looking for a Gosu tutorial(Video or Text)</title>
      <author>Eamonn</author>
      <pubDate>Thu, 16 May 2013 20:09:46 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Hello. I have recently finished learning the Ruby Programming Language and I would like to jump right into learning Gosu. I was looking at the ruby4kids tutorial series but it didn&#39;t really teach that much and wasn&#39;t very useful. I could not find any other tutorials. Does anyone know where I can find a simple easy(ish)-to-follow Gosu tutorial? I&#39;d like it to teach enough concepts to program a full game. If a tutorial is not a good idea, how do other people learn Gosu? Can you tell me the best way to learn Gosu? I don&#39;t like reading though documentation so don&#39;t say to read the documentation(even if it&#39;s the best thing :P).<br/><br/>Thanks! Any help is welcome/appreciated! :D]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6827</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6827</link>
      <title>Screen goes black.</title>
      <author>lol_o2</author>
      <pubDate>Thu, 16 May 2013 18:14:15 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Check this subject: <a class='ura' href='http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?tid=388'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?tid=388</a><br/><br/>Solution looks like this:<br/><br/><code>some bad drawing code...<br/><br/>rescue Exception =&gt; e<br/>puts e, e.backtrace</code><br/><br/>I think &#39;Exception&#39; after rescue is what you need.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6825</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6825</link>
      <title>Can I use Gosu to make an Isometric 2D game?</title>
      <author>ExplodingCookie</author>
      <pubDate>Thu, 16 May 2013 15:05:36 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Yes, Pokémon, Earthbound/Mother and early Legend of Zelda games used this viewpoint.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6824</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6824</link>
      <title>Multiframe animations</title>
      <author>ExplodingCookie</author>
      <pubDate>Thu, 16 May 2013 15:02:31 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Thanks for the quick responses everyone.<br/>@oli.obk: I use &quot;@cur_image = (milliseconds / 175 % 2 == 0) ? @walk1 : @walk2&quot; as in the Cptn. Ruby Tutorial.<br/>@jlnr: Thanks, I&#39;ll have a look at that<br/>@lol_02: Thanks to you to!]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6823</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6823</link>
      <title>Screen goes black.</title>
      <author>onnoowl</author>
      <pubDate>Thu, 16 May 2013 14:16:53 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[I tried that, but it made no difference.<br/>The rescue block is never running.<br/>Here&#39;s the new draw block I tried:<br/><code>&#160; def draw<br/>&#160; &#160; begin<br/>&#160; &#160; &#160; coord = vec2(0, 0) - @drawOffset<br/>&#160; &#160; &#160; coord = vec2(coord.x % $size.x, coord.y % $size.y)<br/>&#160; &#160; &#160; @img.draw(coord.x, coord.y, 0, @imgScale.x, @imgScale.y)<br/>&#160; &#160; &#160; coord2 = coord - vec2($size.x, 0)<br/>&#160; &#160; &#160; @img.draw(coord2.x, coord2.y, 0, @imgScale.x, @imgScale.y)<br/>&#160; &#160; &#160; # c = 0xff333333<br/>&#160; &#160; &#160; # draw_quad(0, 0, c, $size.x, 0, c, $size.x, $size.y, c, 0, $size.y, c, 0)<br/>&#160; &#160; &#160; @creature.draw(self, @drawOffset)<br/>&#160; &#160; rescue<br/>&#160; &#160; &#160; puts &quot;Error&quot;<br/>&#160; &#160; &#160; puts $!.backtrace<br/>&#160; &#160; end<br/>&#160; end</code>]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6821</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6821</link>
      <title>Multiframe animations</title>
      <author>lol_o2</author>
      <pubDate>Thu, 16 May 2013 13:15:41 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Also check this for better timing method: <a class='ura' href='http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?tid=823'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?tid=823</a>]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6820</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6820</link>
      <title>Can I use Gosu to make an Isometric 2D game?</title>
      <author>jlnr</author>
      <pubDate>Thu, 16 May 2013 12:41:31 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[This game should be pretty good to learn from: <a class='ura' href='http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5117'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=5117</a><br/><br/>Edit: Oh, Pokemon was not rendered at a 45° angle? Then it should be even easier :) I think these two games should be exactly right:<br/><br/><a class='ura' href='http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6396'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6396</a><br/><a class='ura' href='http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=4486'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=4486</a>]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6819</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6819</link>
      <title>Multiframe animations</title>
      <author>jlnr</author>
      <pubDate>Thu, 16 May 2013 12:39:18 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[The tutorial uses a complete animation for the rotating stars: <a class='ura' href='https://github.com/jlnr/gosu/wiki/Ruby-Tutorial'>https://github.com/jlnr/gosu/wiki/Ruby-Tutorial</a>]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6818</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6818</link>
      <title>Screen goes black.</title>
      <author>jlnr</author>
      <pubDate>Thu, 16 May 2013 12:38:22 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[There was (is?) a bug in Gosu where an exception thrown in <code>draw</code> or other callbacks would be silently swallowed. Please try adding a <code>begin … rescue … end</code> block around your method implementations, and let me know if this problem still exists.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6816</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6816</link>
      <title>Multiframe animations</title>
      <author>oli.obk</author>
      <pubDate>Thu, 16 May 2013 11:02:51 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[please submit more info. are you using gosu&#39;s animations classes? how do you currently create two-frame animations?]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6814</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6814</link>
      <title>Can I use Gosu to make an Isometric 2D game?</title>
      <author>ExplodingCookie</author>
      <pubDate>Wed, 15 May 2013 23:11:30 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[These are the movement method I use in Stageoids<br/><br/>To activate the move command, put this function into the update function in main.rb file.<br/><br/>if button_down? Gosu::Button::KbLeft<br/>&#160; &#160;&#160; @player.move_left<br/>end<br/><br/>This calls the move_left function in the player.rb file. This is...<br/><br/>def move_left<br/>&#160;&#160; //Move left at the speed the move_speed value<br/>&#160;&#160; @x = @x - @move_speed<br/>&#160;&#160; //Make it so we can&#39;t leave the screen<br/>&#160;&#160; if @x &lt; 0<br/>&#160; &#160; &#160;&#160; @x = 0<br/>&#160;&#160; end<br/>end<br/><br/>For this to work, you need to define these variables in the player.rb file&#39;s initialize function.<br/>@x = 0<br/>@y = 0<br/>@move_speed = 10<br/><br/>This will start you in the bottom left corner.<br/><br/>For the other directions duplicate the functions and replace the values as follows...<br/>::Right::<br/>KbLeft -&gt; KbRight<br/>move_left -&gt; move_right<br/>@x - @move_speed -&gt; @x + @move_speed<br/>@x &lt; 0 -&gt; @x &gt; 0<br/><br/>::Up::<br/>KbLeft -&gt; KbUp<br/>move_left -&gt; move_up<br/>@x - @move_speed -&gt; @y + @move_speed<br/>@x &lt; 0 -&gt; @y &gt; 0<br/><br/>::Down::<br/>KbLeft -&gt; KbDown<br/>move_left -&gt; move_down<br/>@x - @move_speed -&gt; @y - @move_speed<br/>@x &lt; 0 -&gt; @y &lt; 0<br/><br/>To create the player to move around in your game, use @player = Player.new(self) in the initialize function in main.rb<br/><br/>For collisions with walls, I suggest you have a look the Cptn. Ruby tutorial.<br/><br/>As for the scrolling, unfortunately, I have no idea.<br/><br/>When you have a working prototype, create a post in the showcase forum with the file attached so people can download it and help you work errors and bugs out.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6813</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6813</link>
      <title>Multiframe animations</title>
      <author>ExplodingCookie</author>
      <pubDate>Wed, 15 May 2013 22:53:45 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[How do I do this, I can do two frame animations, however I don&#39;t know how to have three or more frames in an animation.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6810</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6810</link>
      <title>Can I use Gosu to make an Isometric 2D game?</title>
      <author>Eamonn</author>
      <pubDate>Wed, 15 May 2013 19:44:48 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Hello. I am planning to make a game with Ruby and Gosu. I was gonna use RubyGame but found no good tutorials on it. So I found this nifty little library with a good few tutorials. Bear in mind I&#39;m still learning Ruby.<br/><br/>So I am planning on making my game with the Isometric camera view. For those that don&#39;t know it&#39;s like the camera view from the old pokemon DS games(Pokemon Perl + Diamond). Can Gosu create that camera angle? If so could you maybe link me to a video/tutorial on how to do it? This may be a little stupid, so if it is would it become clearer when I finish learning Gosu and Ruby? Thank you for any feedback and please don&#39;t hate on this if it is stupid :D]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6809</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6809</link>
      <title>Screen goes black.</title>
      <author>lol_o2</author>
      <pubDate>Wed, 15 May 2013 18:56:04 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[The possibility would be that @creature has wrong class object assigned, but it seems fine.<br/>Try to move the draw code into Window&#39;s update to check if it still turns black with no exception. Such issue was in older versions of Gosu.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6808</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6808</link>
      <title>Screen goes black.</title>
      <author>onnoowl</author>
      <pubDate>Wed, 15 May 2013 14:39:09 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[The update function and the draw functions are still called. I did notice that if I comment out @creature.draw(self) it does not turn black anymore. The weird thing is even if I comment out anything in the draw function for Creature, so the function does nothing, I still get the bug.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6807</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6807</link>
      <title>Screen goes black.</title>
      <author>oli.obk</author>
      <pubDate>Wed, 15 May 2013 14:35:15 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[does the program keep running?<br/>add some console-output each frame and check whether that also stops :)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6806</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6806</link>
      <title>Screen goes black.</title>
      <author>onnoowl</author>
      <pubDate>Wed, 15 May 2013 13:04:02 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Hi,<br/>I&#39;ve worked with Gosu for a while without this happening, and I don&#39;t know what&#39;s causing it. I&#39;m trying to simulate evolution. This program creates lots of little creatures and breeds them together, kills off the slow ones, keeps the fast moving ones, and eventually they should evolve into well designed fast travelling creatures.<br/>As the program evaluates the speed of each creature, it opens up a gosu window, and runs it for about 3 seconds to see how far the creature goes. The problem I&#39;m having is that occasionally/randomly, the entire window goes black and shows nothing.<br/>If you guys could figure out what&#39;s causing this, that would be great.<br/>(Note: My window class is called Simulation and is towards the bottom of the evolvingCreatures.rb file)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6798</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6798</link>
      <title>Mysterious LoadError</title>
      <author>jlnr</author>
      <pubDate>Sun, 05 May 2013 09:18:53 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[I doubt it. I gave up on <code>-d</code> for similar reasons - third-party is often written without <code>-d</code> in mind and there&#39;s no way to disable all the warnings that result from it.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6797</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6797</link>
      <title>Mysterious LoadError</title>
      <author>SPK</author>
      <pubDate>Sun, 05 May 2013 07:48:46 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Yes, -w -d are my interpreter arguments.<br/>And as of yesterday my game also uses TexPlay - same error.&#160; <br/><br/>I guess there&#39;s no other way than to tolerate the error?]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6796</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6796</link>
      <title>Mysterious LoadError</title>
      <author>jlnr</author>
      <pubDate>Sun, 05 May 2013 00:42:25 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Are you using <code>ruby -d</code>? Do you get the same error for other gems too? Maybe an exception is being raised and caught internally when Rubygems loads something.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6795</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6795</link>
      <title>Mysterious LoadError</title>
      <author>SPK</author>
      <pubDate>Sat, 04 May 2013 15:22:38 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Hello,<br/><br/>I never paid attention to the following error, but I got curious why it happens, because it happens everytime. No matter the environment (Though I didn&#39;t try it on Windows).<br/>Each time I launch my game I get the following error:<br/>Exception `LoadError&#39; at /usr/lib64/ruby/1.9.1/rubygems/custom_require.rb:36 - cannot load such file -- gosu<br/><br/>I know that it doesn&#39;t affect my game at all, but I still want to know if it&#39;s possible to get rid of it. :)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6793</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6793</link>
      <title>Having trouble bundling Gosu/Chingu game on OS X</title>
      <author>Spooner</author>
      <pubDate>Tue, 30 Apr 2013 09:47:30 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[I recommend using my releasy gem to simplify building the app.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6792</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6792</link>
      <title>Having trouble bundling Gosu/Chingu game on OS X</title>
      <author>jlnr</author>
      <pubDate>Mon, 29 Apr 2013 10:14:38 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[You are right, sorry for the trouble. See <a class='ura' href='http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?tid=887.'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?tid=887.</a>]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6789</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6789</link>
      <title>Having trouble bundling Gosu/Chingu game on OS X</title>
      <author>afader</author>
      <pubDate>Fri, 26 Apr 2013 22:23:20 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[I&#39;ve copied my game into the app wrapper and it runs fine with ruby Main.rb, but when I try to run RubyGosu App in the Mac OS directory, it complains about stringio.bundle:<br/><br/>&lt;internal:lib/rubygems/custom_require&gt;:29:in <code>require&#39;: dlopen(/Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/stringio.bundle, 9): no suitable image found.&#160; Did find: (LoadError)<br/>&#160; /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/stringio.bundle: no matching architecture in universal wrapper - /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/stringio.bundle<br/>&#160; from &lt;internal:lib/rubygems/custom_require&gt;:29:in </code>require&#39;<br/>&#160; from /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/yaml/syck.rb:6:in <code>&lt;top (required)&gt;&#39;<br/>&#160; from &lt;internal:lib/rubygems/custom_require&gt;:29:in </code>require&#39;<br/>&#160; from &lt;internal:lib/rubygems/custom_require&gt;:29:in <code>require&#39;<br/>&#160; from /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/syck.rb:9:in </code>&lt;top (required)&gt;&#39;<br/>&#160; from &lt;internal:lib/rubygems/custom_require&gt;:29:in <code>require&#39;<br/>&#160; from &lt;internal:lib/rubygems/custom_require&gt;:29:in </code>require&#39;<br/>&#160; from /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/yaml.rb:16:in <code>yamler=&#39;<br/>&#160; from /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/yaml.rb:43:in </code>&lt;top (required)&gt;&#39;<br/>&#160; from &lt;internal:lib/rubygems/custom_require&gt;:29:in <code>require&#39;<br/>&#160; from &lt;internal:lib/rubygems/custom_require&gt;:29:in </code>require&#39;<br/>&#160; from /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/chingu.rb:27:in <code>&lt;top (required)&gt;&#39;<br/>&#160; from &lt;internal:lib/rubygems/custom_require&gt;:29:in </code>require&#39;<br/>&#160; from &lt;internal:lib/rubygems/custom_require&gt;:29:in <code>require&#39;<br/>&#160; from /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/Main.rb:1:in </code>&lt;top (required)&gt;&#39;<br/>&#160; from &lt;internal:lib/rubygems/custom_require&gt;:29:in <code>require&#39;<br/>&#160; from &lt;internal:lib/rubygems/custom_require&gt;:29:in </code>require&#39;<br/>&#160; from /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/gosu/run.rb:11:in `&lt;main&gt;&#39;]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6766</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6766</link>
      <title>Multiplayer Ruby game possible with UDPSocket?</title>
      <author>arrow</author>
      <pubDate>Sun, 14 Apr 2013 20:34:54 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[I haven&#39;t made any progress so far but I found these articles that I will read through.<br/><a class='ura' href='http://www.beej.us/guide/bgnet/output/html/singlepage/bgnet.html'>http://www.beej.us/guide/bgnet/output/html/singlepage/bgnet.html</a><br/><a class='ura' href='http://www.brynosaurus.com/pub/net/p2pnat/'>http://www.brynosaurus.com/pub/net/p2pnat/</a><br/><a class='ura' href='http://www.jenkinssoftware.com/raknet/manual/natpunchthrough.html'>http://www.jenkinssoftware.com/raknet/manual/natpunchthrough.html</a>]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6762</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6762</link>
      <title>Cannot install gosu gem on Mac OS X</title>
      <author>rayning</author>
      <pubDate>Fri, 12 Apr 2013 05:57:20 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[So weird! I just closed/reopened my Terminal and tried &quot;gem install gosu&quot; again.<br/><br/>IT WORKED! It installed gosu with no errors. In the last few hours I changed the $PATH, putting /usr/local/bin before /usr/bin. <br/><br/>I also installed the gem &quot;rubygame&quot;, Homebrew, and SDL:<br/><a class='url' href='https://github.com/rubygame/rubygame/wiki/Mac-Install-Guide'>https://github.com/rubygame/rubygame/wiki/Mac-Install-Guide</a><br/><br/>One of these things must have changed the environment somehow. Which was it?]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6761</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6761</link>
      <title>Cannot install gosu gem on Mac OS X</title>
      <author>rayning</author>
      <pubDate>Fri, 12 Apr 2013 05:40:01 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Yes, I have all these frameworks in /System/Library/Frameworks on my Mac:<br/><br/>AudioToolbox.framework<br/>OpenAL.framework<br/>CoreFoundation.framework<br/>ApplicationServices.framework<br/><br/>I still get this error message. Yes, I tried downloading your Gosu gem directly from <a class='url' href='http://rubygems.org/gems/gosu'>http://rubygems.org/gems/gosu</a> and installing that directly. This also did not work. Same error message.<br/><br/>Why is it not finding these frameworks? Where does it specify what path to look for them?<br/><br/>Here&#39;s my $PATH variable:<br/><br/>/usr/local/rvm/gems/ruby-1.9.3-p194/bin:/usr/local/rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p194/bin:/usr/local/rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin<br/><br/>Also, I&#39;m not using a special compiler package. I just typed &quot;gem install gosu&quot;]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6760</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6760</link>
      <title>Cannot install gosu gem on Mac OS X</title>
      <author>jlnr</author>
      <pubDate>Fri, 12 Apr 2013 04:50:01 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[All these frameworks are in <code>/System/Library/Frameworks</code> unless you have massively broken your installation of OS X :)<br/><br/>I don&#39;t know why a compiler wouldn&#39;t find them by default. Are you using Xcode or another compiler package?<br/><br/>In any case, it reminds me of why I used to have a pre-compiled binary gem... :)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6759</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6759</link>
      <title>Cannot install gosu gem on Mac OS X</title>
      <author>rayning</author>
      <pubDate>Fri, 12 Apr 2013 02:26:16 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Help! I cannot install the gosu Ruby gem on my Mac OS X (10.8.3).&#160; I use Ruby 1.9.3p194. When I do &quot;gem install gosu&quot;, I get all these compile errors.<br/>It&#39;s true that I don&#39;t see the folders/files for OpenAL, CoreFoundation, ApplicationServices, Foundation, and AudioToolbox in my Ruby gem directory. Why not?<br/><br/>ERROR:&#160; Error installing gosu:<br/>&#160; ERROR: Failed to build gem native extension.<br/><br/>&#160; &#160; /usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb<br/>The Gosu gem requires some libraries to be installed system-wide.<br/>See the following site for a list:<br/><a class='url' href='https://github.com/jlnr/gosu/wiki/Getting-Started-on-Linux'>https://github.com/jlnr/gosu/wiki/Getting-Started-on-Linux</a><br/><br/>creating Makefile<br/><br/>make<br/>compiling analysis.c<br/>compiling bitrate.c<br/>compiling bitwise.c<br/>compiling block.c<br/>compiling codebook.c<br/>compiling envelope.c<br/>compiling floor0.c<br/>compiling floor1.c<br/>compiling framing.c<br/>compiling info.c<br/>compiling lookup.c<br/>compiling lpc.c<br/>compiling lsp.c<br/>compiling mapping0.c<br/>compiling mdct.c<br/>compiling psy.c<br/>compiling registry.c<br/>compiling res0.c<br/>compiling sharedbook.c<br/>compiling smallft.c<br/>compiling synthesis.c<br/>compiling vorbisfile.c<br/>compiling window.c<br/>compiling RubyGosu_wrap.cxx<br/>In file included from ../Gosu/Gosu.hpp:13,<br/>&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160; from RubyGosu_wrap.cxx:2227:<br/>../Gosu/Fwd.hpp:10: warning: attribute ignored in declaration of ‘struct Gosu::Audio’<br/>../Gosu/Fwd.hpp:10: warning: attribute for ‘struct Gosu::Audio’ must follow the ‘struct’ keyword<br/>RubyGosu_wrap.cxx: In function ‘VALUE _wrap_Font_draw_rot(int, VALUE*, VALUE)’:<br/>RubyGosu_wrap.cxx:5780: warning: ‘drawRot’ is deprecated (declared at ../Gosu/Font.hpp:79)<br/>compiling AudioOpenAL.cpp<br/>In file included from ../GosuImpl/Audio/AudioOpenAL.cpp:1,<br/>&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160; from AudioOpenAL.cpp:1:<br/>../GosuImpl/Audio/ALChannelManagement.hpp:3:23: error: OpenAL/al.h: No such file or directory<br/>../GosuImpl/Audio/ALChannelManagement.hpp:4:24: error: OpenAL/alc.h: No such file or directory<br/>In file included from ../GosuImpl/Audio/ALChannelManagement.hpp:5,<br/>&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160; from ../GosuImpl/Audio/AudioOpenAL.cpp:1,<br/>&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160; from AudioOpenAL.cpp:1:<br/>../GosuImpl/MacUtility.hpp:6:42: error: CoreFoundation/CoreFoundation.h: No such file or directory<br/>../GosuImpl/MacUtility.hpp:9:52: error: ApplicationServices/ApplicationServices.h: No such file or directory<br/>In file included from AudioOpenAL.cpp:1:<br/>../GosuImpl/Audio/AudioOpenAL.cpp:20:34: error: Foundation/Foundation.h: No such file or directory<br/>In file included from ../GosuImpl/Audio/AudioOpenAL.cpp:21,<br/>&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160; from AudioOpenAL.cpp:1:<br/>../GosuImpl/Audio/AudioToolboxFile.hpp:5:39: error: AudioToolbox/AudioToolbox.h: No such file or directory<br/>../GosuImpl/Audio/AudioToolboxFile.hpp:6:41: error: AudioToolbox/AudioConverter.h: No such file or directory<br/>../GosuImpl/Audio/AudioToolboxFile.hpp:7:44: error: AudioToolbox/ExtendedAudioFile.h: No such file or directory<br/><br/>etc....]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6758</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6758</link>
      <title>Gosu compatible gamepad controllers?</title>
      <author>IgorJorobus</author>
      <pubDate>Thu, 11 Apr 2013 18:54:32 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[That&#39;s great jlnr! Thanks!]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6757</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6757</link>
      <title>IDE</title>
      <author>SPK</author>
      <pubDate>Wed, 10 Apr 2013 18:25:49 GMT</pubDate>
      <category>Gosu Exchange</category>
      <description>
        <![CDATA[Sublime Text 2 is all I need.]]>
      </description>
    </item>
  </channel>
</rss>
