<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sofia Sousa</title>
    <description>The latest articles on DEV Community by Sofia Sousa (@ssousa).</description>
    <link>https://dev.to/ssousa</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F58004%2F169c7e99-9a1d-44bd-b7de-c982755fa6f9.jpg</url>
      <title>DEV Community: Sofia Sousa</title>
      <link>https://dev.to/ssousa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ssousa"/>
    <language>en</language>
    <item>
      <title>🚀 My first game using Ruby 2D</title>
      <dc:creator>Sofia Sousa</dc:creator>
      <pubDate>Fri, 24 Jul 2020 16:39:53 +0000</pubDate>
      <link>https://dev.to/ssousa/my-first-game-using-ruby-2d-1933</link>
      <guid>https://dev.to/ssousa/my-first-game-using-ruby-2d-1933</guid>
      <description>&lt;p&gt;Last week I discovered &lt;a href="http://www.ruby2d.com/" rel="noopener noreferrer"&gt;Ruby 2D&lt;/a&gt; in a blog here in &lt;a href="https://dev.to"&gt;dev.to&lt;/a&gt; and I have decided to try it.&lt;/p&gt;

&lt;p&gt;Today, here is my first game using this library - &lt;strong&gt;Fifi Breaks Blocks&lt;/strong&gt;. My version of a very, very famous and old school 2D game.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fql1yvrdaznmii5jptvvj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fql1yvrdaznmii5jptvvj.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Take a look in the code: &lt;a href="https://github.com/SofiaSousa/fifi-breaks-blocks" rel="noopener noreferrer"&gt;https://github.com/SofiaSousa/fifi-breaks-blocks&lt;/a&gt; :)&lt;/p&gt;

&lt;h1&gt;
  
  
  Bonus
&lt;/h1&gt;

&lt;p&gt;During the implementation, I realized that &lt;code&gt;ruby2d build&lt;/code&gt; wasn't able to handle other &lt;code&gt;require&lt;/code&gt; or &lt;code&gt;require_relative&lt;/code&gt; statement than the &lt;code&gt;require 'ruby2d'&lt;/code&gt; in the main file. &lt;/p&gt;

&lt;p&gt;So, I had the idea to create a &lt;a href="https://github.com/ruby/rake" rel="noopener noreferrer"&gt;Rake&lt;/a&gt; task to generate a new file with all code from the required files and build the app executable from that.&lt;/p&gt;

&lt;p&gt;You can check the &lt;strong&gt;build task&lt;/strong&gt; in the &lt;a href="https://github.com/SofiaSousa/fifi-breaks-blocks/blob/master/Rakefile" rel="noopener noreferrer"&gt;Rakefile&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Hope you enjoy it!&lt;/p&gt;

</description>
      <category>ruby2d</category>
      <category>ruby</category>
      <category>myfirstgame</category>
    </item>
    <item>
      <title>Creating a Table-of-Contents with PDF.js</title>
      <dc:creator>Sofia Sousa</dc:creator>
      <pubDate>Tue, 17 Dec 2019 16:33:37 +0000</pubDate>
      <link>https://dev.to/ssousa/creating-a-table-of-contents-with-pdf-js-5</link>
      <guid>https://dev.to/ssousa/creating-a-table-of-contents-with-pdf-js-5</guid>
      <description>&lt;div class="ltag__link"&gt;
  &lt;a href="https://medium.com/@csofiamsousa/creating-a-table-of-contents-with-pdf-js-4a4316472fff?sk=33ebed77c6b33c2a968ea9f8b45fc369" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Rk110Lmf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/fit/c/96/96/1%2AkPyh8yaVJ235UACbjtDcaQ.jpeg" alt="Sofia Sousa"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="https://medium.com/@csofiamsousa/creating-a-table-of-contents-with-pdf-js-4a4316472fff?sk=33ebed77c6b33c2a968ea9f8b45fc369" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Creating a Table-of-Contents with PDF.js - Sofia Sousa - Medium&lt;/h2&gt;
      &lt;h3&gt;Sofia Sousa ・ &lt;time&gt;Dec 17, 2019&lt;/time&gt; ・ 4 min read
      &lt;div class="ltag__link__servicename"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--aYMKNcyE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/medium_icon-fbdac08496f06c5bd53be920c7bc8d56d355b69c0fb7e49cac6357a70140af17.svg" alt="Medium Logo"&gt;
        Medium
      &lt;/div&gt;
    &lt;/h3&gt;
&lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


</description>
      <category>javascript</category>
      <category>pdfjs</category>
      <category>toc</category>
      <category>pdfviewer</category>
    </item>
  </channel>
</rss>
