<?xml version='1.0' encoding='utf-8'?>
<rss version='2.0'>
  <channel>
    <title>Gosu Forums</title>
    <link>http://www.libgosu.org/cgi-bin/mwf/forum.pl</link>
    <description>Gosu Forum Feed</description>
    <lastBuildDate>Tue, 21 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=6854</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6854</link>
      <title>Blocks 2D (in development)</title>
      <author>jlnr</author>
      <pubDate>Tue, 21 May 2013 06:22:56 GMT</pubDate>
      <category>Gosu Showcase</category>
      <description>
        <![CDATA[...and you need Ruby 1.9 &amp; the <code>xml-simple</code> gem :)]]>
      </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=6849</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6849</link>
      <title>Bug in Gosu 0.7.47 Mac .app wrapper</title>
      <author>carno</author>
      <pubDate>Mon, 20 May 2013 03:17:48 GMT</pubDate>
      <category>Gosu News</category>
      <description>
        <![CDATA[Thanks you.<br/><br/>The only problem with lipo solution is that it seems to break compatibility with the opengl gem. Can&#39;t wait for the next version.]]>
      </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=6841</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6841</link>
      <title>Blocks 2D (in development)</title>
      <author>lol_o2</author>
      <pubDate>Fri, 17 May 2013 12:37:36 GMT</pubDate>
      <category>Gosu Showcase</category>
      <description>
        <![CDATA[I&#39;d note that you can even omit braces<br/><code>@gracz.x, @gracz.y = 3, 5</code>]]>
      </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=6839</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6839</link>
      <title>Blocks 2D (in development)</title>
      <author>Spooner</author>
      <pubDate>Fri, 17 May 2013 09:27:28 GMT</pubDate>
      <category>Gosu Showcase</category>
      <description>
        <![CDATA[Yes, I always just use x/y to avoid that problem. I was just showing how it should be done compared to how it was done. You can still do <code>@gracz.x, @gracz.y = [3, 5]</code> if you want to set the value with an Array.]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6838</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6838</link>
      <title>Blocks 2D (in development)</title>
      <author>jlnr</author>
      <pubDate>Fri, 17 May 2013 09:25:15 GMT</pubDate>
      <category>Gosu Showcase</category>
      <description>
        <![CDATA[I would not offer the method <code>pos</code>, as it is tempting to write <code>@gracz.pos.x = 5</code> which will not work (it only replaces the first element in a temporary array).<br/><br/>Not that my Ruby style is anywhere close to what&#39;s hip now - I still love <code>then</code> :)]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6837</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6837</link>
      <title>Blocks 2D (in development)</title>
      <author>Spooner</author>
      <pubDate>Fri, 17 May 2013 09:18:41 GMT</pubDate>
      <category>Gosu Showcase</category>
      <description>
        <![CDATA[Oh, I&#39;d also highly recommend using the bundler gem to manage the gems you need for your project.<br/><br/>#set &amp; #show are a bit convoluted. Try:<br/><code>attr_accessor :speed, :gravity, :x, :y<br/><br/>def pos; [@x, @y]; end<br/>def pos=(value); @x, @y = value; end<br/></code><br/><br/>Then you can do <code>@gracz.pos = [5, 100]</code> or <code>@gracz.x = 5</code> or <code>puts @gracz.gravity</code> to manipulate the instance variables in a more friendly manner.<br/><br/>Although I said to use spaces instead of tabs, please don&#39;t mix them, because that is the worst of both worlds ;) Your editor should be able to automatically replace tabs with 2 spaces.<br/><br/>You might also consider putting your code up on somewhere like github.com, which makes it easier for people to get hold of (no real need to release Windows version on a site like this, since everyone here is a Gosu developer and they don&#39;t really need an executable).<br/><br/>Good luck with the project and I am looking forward to being able to interact with the terrain in the game!]]>
      </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=6835</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6835</link>
      <title>Blocks 2D (in development)</title>
      <author>Spooner</author>
      <pubDate>Fri, 17 May 2013 08:54:12 GMT</pubDate>
      <category>Gosu Showcase</category>
      <description>
        <![CDATA[src/tiled.rb]]>
      </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=6828</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6828</link>
      <title>Blocks 2D (in development)</title>
      <author>SeamusFD</author>
      <pubDate>Thu, 16 May 2013 19:56:49 GMT</pubDate>
      <category>Gosu Showcase</category>
      <description>
        <![CDATA[Hey guys... I really like the idea of this game, I really do. However I, (like ExplodingCookie) have the problem of only having access to mac&#39;s. However I think I figured out what to do and I attempted to install xml-simple and gosu (this is my first time running gosu on a particular computer,) however when I try to run the program through my code editor I come up with this error...<br/><br/>warning: already initialized constant VERSION<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 tiled.rb at line 10<br/>Program exited with code #1 after 0.21 seconds.<br/><br/>I am so confused :( <br/>Could someone please help me...]]>
      </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=6826</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6826</link>
      <title>Blocks 2D (in development)</title>
      <author>ExplodingCookie</author>
      <pubDate>Thu, 16 May 2013 16:51:16 GMT</pubDate>
      <category>Gosu Showcase</category>
      <description>
        <![CDATA[Oh, I could not find which file to execute in the source.]]>
      </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=6822</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6822</link>
      <title>Blocks 2D (in development)</title>
      <author>jahmaican</author>
      <pubDate>Thu, 16 May 2013 14:12:59 GMT</pubDate>
      <category>Gosu Showcase</category>
      <description>
        <![CDATA[You&#39;re right, I used other languages before and I&#39;m not quite familiar with Ruby syntax yet. Thanks for the helpful post!]]>
      </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=6817</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6817</link>
      <title>Blocks 2D (in development)</title>
      <author>Spooner</author>
      <pubDate>Thu, 16 May 2013 11:25:12 GMT</pubDate>
      <category>Gosu Showcase</category>
      <description>
        <![CDATA[Looks interesting so far! Glad you got some use from Releasy&#39;s :windows_folder builder!<br/><br/>I&#39;d recommend you look at a higher level Gosu framework, such as Gamebox or Chingu, to make things easier for you once you add more functionality.<br/><br/>A few comments on the code, to help you along with Ruby in general:<br/><br/>Rather than using if/then/end on one line, we generally use the single conditional postfix this way:<br/><code>close if button_down? KbEscape</code><br/><br/>Use two spaces rather than hard tab. Makes your code look a lot nicer when viewed online too.<br/><br/><code>if @obrot == :prawo then</code><br/>We don&#39;t usually use <code>then</code>; It just isn&#39;t necessary. Also, that bit is crying out to be a <code>case</code> statement.<br/><br/>Rather than use your own #debug method, use Logger (standard library) or Log4r (gem) for logging. <br/><br/><code>for i in 0..2 do</code> =&gt; <code>(0..2).each do |i|</code> (Although <code>for</code> might feel better if you are coming from another language, it is extremely limiting once you try to do a bit more with Ruby)<br/><br/><code>def block?(x,y); @map_main[(y/32)][(x/32)] != 0; end</code><br/><br/>Use ?: over if/then/else/end on one line (or put it on multiple lines).<br/><br/><code>print(Time.now.strftime(&quot;%H:%M:%S.%L&quot;) + &quot; - &quot; + message.to_s + &quot;\n&quot;)</code> =&gt; <code>puts &quot;#{Time.now.strftime(&quot;%H:%M:%S.%L&quot;)} - #{message}&quot;</code> (although I suggested using a logger for this).]]>
      </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=6815</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6815</link>
      <title>Blocks 2D (in development)</title>
      <author>jahmaican</author>
      <pubDate>Thu, 16 May 2013 10:38:49 GMT</pubDate>
      <category>Gosu Showcase</category>
      <description>
        <![CDATA[Source is included in the package so you can run it yourself :)]]>
      </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=6812</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6812</link>
      <title>Blocks 2D (in development)</title>
      <author>ExplodingCookie</author>
      <pubDate>Wed, 15 May 2013 22:52:17 GMT</pubDate>
      <category>Gosu Showcase</category>
      <description>
        <![CDATA[Image looks good. Unfortunately, I use only Macs. Therefore I cannot try it out due to this apparently being windows only. Nice work for your first time with Gosu and Ruby, welcome aboard!]]>
      </description>
    </item>
    <item>
      <guid isPermaLink='false'>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6811</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6811</link>
      <title>Blocks 2D (in development)</title>
      <author>jahmaican</author>
      <pubDate>Wed, 15 May 2013 20:18:27 GMT</pubDate>
      <category>Gosu Showcase</category>
      <description>
        <![CDATA[[<a href='http://i.imgur.com/EAyQ0SUs.png'>http://i.imgur.com/EAyQ0SUs.png</a>] [<a href='http://i.imgur.com/Ck6QI2ts.png'>http://i.imgur.com/Ck6QI2ts.png</a>] [<a href='http://i.imgur.com/3dITIeKs.png'>http://i.imgur.com/3dITIeKs.png</a>]<br/>Hi! I&#39;m relatively new to Gosu and Ruby in general, but still wanted to show my first creation.<br/><br/><b>What&#39;s new?</b><br/>Did some building tests, pretty lame but works. Starting to feel kinda comfortable with ruby. <br/>I&#39;ll probably rewrite the whole thing for Chingu some time soon.<br/><br/><b>What is it?</b><br/>Intended to be a 2D Minecraft clone. Still needs a lot of effort.<br/><br/><b>What&#39;s done?</b><br/>Drawing a 3-layer map, basic movement (no jumping yet), very simple physics, basic building.<br/><br/><b>What has to be done?</b><br/>Improving movement.<br/>Introducing bigger maps with scrolling; storing them in more friendly format maybe.<br/>Creative mode just like in real Minecraft + flat map generation.<br/>GUIs, menus etc.<br/>Actually learning how to Ruby.<br/>Then <i>maybe</i> some proper mining and crafting.<br/><br/><b>How do I play?</b><br/><i>Left/A, right/D</i> - move left/right.<br/><i>Left click, right click</i> - destroy/place blocks.<br/><i>1, 2, 3</i> - choose material.<br/><i>Middle click</i> - teleport. <br/><br/><b>What was used?</b><br/><a class='url' href='http://www.mapeditor.org/'>Tiled</a> editor - the map you see can be easily edited.<br/><a class='url' href='http://www.minecraftforum.net/topic/115061-16x-mc151-pe-050-coterie-craft-v4s12-updated-4102013-random-mobs-ss-13w11a'>Coterie Craft</a> Minecraft texture pack.<br/>My Minecraft skin.<br/><br/><b>DOWNLOAD?</b><br/><i>0.13</i> <a class='url' href='https://dl.dropboxusercontent.com/u/31586841/ruby/blocks_2d_0_13_WIN32.zip'>Right here!</a><br/><br/>Go on, share your thoughts and opinions.]]>
      </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=6805</guid>
      <link>http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=6805</link>
      <title>Antialiasing in Gosu</title>
      <author>carno</author>
      <pubDate>Fri, 10 May 2013 17:58:26 GMT</pubDate>
      <category>Extending Gosu</category>
      <description>
        <![CDATA[You are probably right. I just think it would look more consistent, it&#39;s not that it looks bad it&#39;s that it looks so different when they align perfectly.]]>
      </description>
    </item>
  </channel>
</rss>
