<?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: SethRAH</title>
    <description>The latest articles on DEV Community by SethRAH (@sethrah).</description>
    <link>https://dev.to/sethrah</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%2F12249%2F6601542.png</url>
      <title>DEV Community: SethRAH</title>
      <link>https://dev.to/sethrah</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sethrah"/>
    <language>en</language>
    <item>
      <title>Game Side Project 2 - Just go with a framework</title>
      <dc:creator>SethRAH</dc:creator>
      <pubDate>Sat, 08 Apr 2017 15:47:12 +0000</pubDate>
      <link>https://dev.to/sethrah/game-side-project-2---just-go-with-a-framework</link>
      <guid>https://dev.to/sethrah/game-side-project-2---just-go-with-a-framework</guid>
      <description>&lt;p&gt;So in my last game related post, I mentioned that I was trying to make a base game template for C++ so that I could just jump in and try prototyping games without having to do any of the nitty gritty setup.&lt;/p&gt;

&lt;p&gt;I  thought I made good progress on that. My first goal was just to make a splash screen that goes to a menu screen that can either go to another state screen or exit the game. I believe I had everything I needed coded out &lt;em&gt;except&lt;/em&gt; I still needed to actually render the screens. &lt;/p&gt;

&lt;p&gt;I started trying to find resources on what are some good graphics libraries and that ended up opening a whole can or worms (libraries that are out of date, libraries that have little to no documentation, libraries that require you to run python to compile before compiling with your C++ compiler, etc). I ended being stagnant and not writing anything while I just took little steps into investigating what was the best library to use.&lt;/p&gt;

&lt;p&gt;I then got the idea to just look up what some of my favorite recent indie games used (my by far favorite being &lt;a href="https://en.wikipedia.org/wiki/Stardew_Valley"&gt;Stardew Valley&lt;/a&gt;. It turns out it uses XNA on C#! While I love going back and reminicing on C++, C# is my bread winner (I use it in my desk job) &lt;em&gt;and&lt;/em&gt; a perk of my job is I get access to a lot of Microsoft products for personal use so I figured I'd look into this whole XNA thing Aaaaaaaand&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;... According to an email sent on 31 January 2013, XNA is no longer actively developped&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Well wait, just because its not actively developed, that doesn't mean its no longer included as project templates in Visual Studios anymore, right? &lt;code&gt;Loads up VS 2017&lt;/code&gt; &lt;code&gt;...&lt;/code&gt; &lt;code&gt;Goes to game section&lt;/code&gt; &lt;code&gt;...&lt;/code&gt; &lt;code&gt;finds Unity... cocos.... No XNA...&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Hmmm... Lets read on in the XNA wikipedia page&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Alternative implementations ... A project called Mono.XNA was formed to port XNA to the open source and cross platform Mono framework. From the code base of Mono.XNA and SilverSprite, a new project called MonoGame was formed to port XNA to several mobile devices.... support is stable for iOS, Android, Mac OSX, Linux, Metro for Windows 8, Windows RT, Windows Phone 8, Playstation Mobile, and Raspberry Pi&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Investigation into MonoGame reveals that &lt;a href="https://en.wikipedia.org/wiki/Bastion_(video_game)"&gt;Bastion&lt;/a&gt; was made on it (another recent favorite) so I figured I'd look into their site. It turns out that there is a pluralsight course on MonoGame (which I get free with my MSDN subscription that I get from work) so I started going through that. The course link is &lt;a href="https://app.pluralsight.com/library/courses/monogame/table-of-contents"&gt;here&lt;/a&gt; if anyone has a pluralsight account and wants to look into it. The course goes through making a clone of Pong. I'm mostly through it now and will post when I finished. I probably won't post the source code (just because I'm not sure what kind of licensing applies from following the course). &lt;/p&gt;

&lt;p&gt;I think I will probably make clones of other smaller games (mine sweeper maybe) and post the source for that until I get a good handle of what I'm doing. At that point, I'll probably start a real project myself.&lt;/p&gt;
</description>
      <category>sideprojects</category>
      <category>gameprogramming</category>
      <category>amateurgameprogramming</category>
    </item>
    <item>
      <title>Javascript Poem</title>
      <dc:creator>SethRAH</dc:creator>
      <pubDate>Fri, 24 Mar 2017 13:00:17 +0000</pubDate>
      <link>https://dev.to/sethrah/javascript-poem</link>
      <guid>https://dev.to/sethrah/javascript-poem</guid>
      <description>

&lt;p&gt;Recently, I've read through &lt;a href="http://a.co/644J0Ed"&gt;"If Hemingway Wrote JavaScript"&lt;/a&gt; by &lt;a href="http://blog.anguscroll.com/"&gt;Angus Croll&lt;/a&gt;. The book has five "Programming Assignments" and then the solutions that various notable authors would have came up with if they wrote java script. &lt;/p&gt;

&lt;p&gt;The authors range from Earnest Hemingway and Virginia Woolf to David Foster Wallace and Tupac Shakur. The book also does a good job of giving a summary of the author before their submission and then an explanation afterwards of why the submission follows their style of writing.&lt;/p&gt;

&lt;p&gt;One of the coolest things was how the solutions played with form to imbue their character into the solution. While maybe not always the best for maintainability/readibility, there was definitely something in these code poems that I thought was missing from my every day coding, so I took one of the assignments from the book and made my own response. I'm not super proud of the end (I think I have more comments than actual code) response but it was fun to do.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Assignment&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Write a chainable function that accepts one word per function call but, when called without arguments, will report back all the previously passed words in order&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In the below poem, the recall function will achieve the assignment results and can be called like &lt;code&gt;recall('hello')('world')();&lt;/code&gt; which will print &lt;code&gt;hello world&lt;/code&gt;&lt;/p&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;words&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="cm"&gt;/*Are but for recollection but what does that entail*/&lt;/span&gt;&lt;span class="p"&gt;[];&lt;/span&gt;

&lt;span class="cm"&gt;/*To*/&lt;/span&gt;&lt;span class="nx"&gt;recall&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="cm"&gt;/*just a */&lt;/span&gt;&lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="cm"&gt;/*of the*/&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;word&lt;/span&gt;&lt;span class="p"&gt;){&lt;/span&gt;
  &lt;span class="cm"&gt;/*but how does one*/&lt;/span&gt;&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;word&lt;/span&gt; &lt;span class="p"&gt;?&lt;/span&gt;
  &lt;span class="cm"&gt;/*Simply by*/&lt;/span&gt;&lt;span class="nx"&gt;retain&lt;/span&gt;&lt;span class="cm"&gt;/*ing*/&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;word&lt;/span&gt;&lt;span class="cm"&gt;/*s*/&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="cm"&gt;/*then*/&lt;/span&gt;&lt;span class="nx"&gt;regurgitate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="cm"&gt;/*ing*/&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="cm"&gt;/*To*/&lt;/span&gt;&lt;span class="nx"&gt;retain&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="cm"&gt;/*a*/&lt;/span&gt;&lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="cm"&gt;/*of*/&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;word&lt;/span&gt;&lt;span class="p"&gt;){&lt;/span&gt;&lt;span class="cm"&gt;/*whence*/&lt;/span&gt;&lt;span class="nx"&gt;words&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;push&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;word&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="cm"&gt;/*Towards words worthy to*/&lt;/span&gt;&lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="cm"&gt;/*and*/&lt;/span&gt;&lt;span class="nx"&gt;recall&lt;/span&gt;&lt;span class="p"&gt;;}&lt;/span&gt;

&lt;span class="cm"&gt;/*To*/&lt;/span&gt;&lt;span class="nx"&gt;regurgitate&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="cm"&gt;/*a*/&lt;/span&gt;&lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="cm"&gt;/*of*/&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;word&lt;/span&gt;&lt;span class="p"&gt;){&lt;/span&gt;
  &lt;span class="cm"&gt;/*where*/&lt;/span&gt;&lt;span class="nx"&gt;recollection&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="cm"&gt;/*of*/&lt;/span&gt;&lt;span class="nx"&gt;words&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="cm"&gt;/*ed*/&lt;/span&gt;&lt;span class="s1"&gt;' '&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="cm"&gt;/*are summoned forth*/&lt;/span&gt;
  &lt;span class="nx"&gt;words&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="cm"&gt;/*to be spent*/&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="cm"&gt;/*the*/&lt;/span&gt;&lt;span class="nx"&gt;recollection&lt;/span&gt;&lt;span class="cm"&gt;/*for substance went*/&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;




</description>
      <category>poetry</category>
      <category>codepoetry</category>
    </item>
    <item>
      <title>First Real Post - Game Side Project</title>
      <dc:creator>SethRAH</dc:creator>
      <pubDate>Thu, 23 Mar 2017 12:50:58 +0000</pubDate>
      <link>https://dev.to/sethrah/first-real-post---game-side-project</link>
      <guid>https://dev.to/sethrah/first-real-post---game-side-project</guid>
      <description>&lt;p&gt;So far I've only actually posted my introduction so this is my first real post. &lt;/p&gt;

&lt;p&gt;Jumping right in, I recently decided to try my luck at game programming. I haven't really tried anything with game programming before, however, as I was learning to program, whenever I learned a new concept I almost immediately tried to tie it into how it was used in one video game or another.&lt;/p&gt;

&lt;p&gt;I made the decision to write in C++ because I never get to write in C++ any more and, if I ever wanted to sell my game on steam (a fairly lofty goal for an amateur game programmer... I know) I read that the steam sdk works well with C++.&lt;/p&gt;

&lt;p&gt;I just started on my project and am really trying to get some of the underlying architecture down before committing to any real game design decisions (that may have sounded backwards but basically, I'm just trying to create a template for my game loop, going through main game states, bringing in audio/graphics services before I get too committed to specific content). Maybe once I have this set, I can use it to get prototypes up faster whenever I get a "That would be a cool game to make" moment.&lt;/p&gt;

&lt;p&gt;Before writing the project, I read over &lt;a href="http://gameprogrammingpatterns.com/"&gt;"Game Programming Patterns"&lt;/a&gt; by &lt;a href="http://journal.stuffwithstuff.com/"&gt;Robert Nystrom&lt;/a&gt;. I felt super well prepared until I actually tried to design out my template. The book does an excellent job going over patterns but doesn't give a good template on how to piece them together (although, in his defense, thats not the goal of the book.)&lt;/p&gt;

&lt;p&gt;I will say that I thought getting back to pointers/de-referencers was going to be my biggest challenge when going back to C++ but it turns out its dealing with dependency declaration.... I don't remember ever having to use forward declarations in school so I'm eating a little bit of humble pie right now.&lt;/p&gt;

&lt;p&gt;I will keep writing posts as I get further along in the development process. I'll probably force myself to work on it at least a little bit a week, even if I don't feel inspired but thats pretty slow moving (so don't get too glued to the screen hitting refresh.)&lt;/p&gt;
</description>
      <category>gameprogramming</category>
      <category>amateurgameprogramming</category>
      <category>sideprojects</category>
    </item>
    <item>
      <title>Hi, I'm Seth</title>
      <dc:creator>SethRAH</dc:creator>
      <pubDate>Mon, 20 Mar 2017 12:42:07 +0000</pubDate>
      <link>https://dev.to/sethrah/hi-im-seth</link>
      <guid>https://dev.to/sethrah/hi-im-seth</guid>
      <description>&lt;p&gt;I have been coding for 8 years.&lt;/p&gt;

&lt;p&gt;You can find me on GitHub as &lt;a href="https://github.com/SethRAH" rel="noopener noreferrer"&gt;SethRAH&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I live in &lt;code&gt;Redacted&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I work for &lt;code&gt;Redacted&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I mostly program in these languages: JavaScript, C#, MS Sql, DB2, Oracle SOA Suite.&lt;/p&gt;

&lt;p&gt;I sometimes program in these languages: C++, Java.&lt;/p&gt;

&lt;p&gt;I am currently learning more about &lt;code&gt;JavaScript Client side frameworks&lt;/code&gt;, &lt;code&gt;Artificial Creativity&lt;/code&gt;, &lt;code&gt;Game Development&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Nice to meet you.&lt;/p&gt;

</description>
      <category>introduction</category>
    </item>
  </channel>
</rss>
