<?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: Foxhoundn</title>
    <description>The latest articles on DEV Community by Foxhoundn (@foxhoundn).</description>
    <link>https://dev.to/foxhoundn</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%2F12391%2F1693b068-c479-4ffd-a96c-978f0afa2414.jpeg</url>
      <title>DEV Community: Foxhoundn</title>
      <link>https://dev.to/foxhoundn</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/foxhoundn"/>
    <language>en</language>
    <item>
      <title>Storybook As A Game Development Tool (With Demo)</title>
      <dc:creator>Foxhoundn</dc:creator>
      <pubDate>Mon, 15 Aug 2022 14:13:53 +0000</pubDate>
      <link>https://dev.to/foxhoundn/storybook-as-a-game-development-tool-with-demo-5203</link>
      <guid>https://dev.to/foxhoundn/storybook-as-a-game-development-tool-with-demo-5203</guid>
      <description>&lt;h2&gt;
  
  
  Storybook has become a quintessential tool in the prototyping, development and testing of my browser game.
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Not the reading type? Here is the link to the Storybook. I'd suggest reading at least the Introduction story first&lt;/em&gt;: &lt;a href="https://develop--62f6421c021f127287edd8fb.chromatic.com/" rel="noopener noreferrer"&gt;SYNTHAX Storybook&lt;/a&gt; (Chrome or Edge required)&lt;/p&gt;

&lt;h3&gt;
  
  
  Games and Storybook? What?
&lt;/h3&gt;

&lt;p&gt;Storybook is a tool that helps web developers build components, pages and experiences in isolation (see storybook.js.org). And it's hella good at it.&lt;/p&gt;

&lt;p&gt;Recently I have un-shelved the only side project I have - a 3D browser game called SYNTHAX - and slowly started working on it again. Having been neck deep in Storybook the past few months professionally I realised that, with some luck and tinkering and a lil' bit of hacking , it would be the quintessential tool for game development. &lt;/p&gt;

&lt;p&gt;3 weeks ago on a Friday night I decided to give it a try. Today, I wish I've done it sooner. &lt;/p&gt;

&lt;h3&gt;
  
  
  Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;It's very easy and convenient to work on any part of the game in isolation - Meshes, Particles, Animations, UI, Interactive elements, you name it.&lt;/li&gt;
&lt;/ul&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%2Fuploads%2Farticles%2Fbpujhi7vypuaj7pgjxrb.gif" 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%2Fuploads%2Farticles%2Fbpujhi7vypuaj7pgjxrb.gif" alt="Simple mesh"&gt;&lt;/a&gt;&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%2Fuploads%2Farticles%2Fynen6m4gps8jjidzqedc.gif" 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%2Fuploads%2Farticles%2Fynen6m4gps8jjidzqedc.gif" alt="Player running animation"&gt;&lt;/a&gt;&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%2Fuploads%2Farticles%2F5u5m1avnk09p2qm62imm.gif" 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%2Fuploads%2Farticles%2F5u5m1avnk09p2qm62imm.gif" alt="Testing door functionality"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It's also very helpful to be able to prototype, build &amp;amp; test whole maps and rooms in isolation&lt;/li&gt;
&lt;/ul&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%2Fuploads%2Farticles%2Fc5ap7wy3yuxj3krg2psd.gif" 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%2Fuploads%2Farticles%2Fc5ap7wy3yuxj3krg2psd.gif" alt="Fully build map"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The ability to change settings and also environment options on the fly at any time&lt;/li&gt;
&lt;/ul&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%2Fuploads%2Farticles%2Fiapn232j38fwlnkuj4d0.gif" 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%2Fuploads%2Farticles%2Fiapn232j38fwlnkuj4d0.gif" alt="Toggling walls, floors and wire-framing on / off"&gt;&lt;/a&gt;&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%2Fuploads%2Farticles%2F1nqc28nwrcwbwsmnn1ii.gif" 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%2Fuploads%2Farticles%2F1nqc28nwrcwbwsmnn1ii.gif" alt="Changing video settings"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Controllable player character can be spawned in any story (except UI only stories)&lt;/li&gt;
&lt;/ul&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%2Fuploads%2Farticles%2F7z8go3op3gd82iy1i9ml.gif" 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%2Fuploads%2Farticles%2F7z8go3op3gd82iy1i9ml.gif" alt="Controllable character added to scene"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Screenshot testing of all stories thanks to Chromatic&lt;/li&gt;
&lt;/ul&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%2Fuploads%2Farticles%2F6yj89upnv406zwsy4tir.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%2Fuploads%2Farticles%2F6yj89upnv406zwsy4tir.png" alt="Chromatic screenshot test"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The Playable Demo
&lt;/h3&gt;

&lt;p&gt;Like what you're seeing? Well, you can try it too! Here is the link to the Storybook: &lt;a href="https://develop--62f6421c021f127287edd8fb.chromatic.com/" rel="noopener noreferrer"&gt;SYNTHAX Storybook&lt;/a&gt; (Chrome or Edge required)&lt;/p&gt;

&lt;p&gt;The first story is the &lt;em&gt;Introduction&lt;/em&gt; that gives more info on the how and whys.&lt;/p&gt;

&lt;p&gt;There are a bunch of stories and even a playable mini-game called Target Practice, give it a try and let me know your highest score!&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%2Fuploads%2Farticles%2Fl7eu1p1udis12dlmyaxv.gif" 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%2Fuploads%2Farticles%2Fl7eu1p1udis12dlmyaxv.gif" alt="Target practice mini game"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enemies start with secondary weapon&lt;/li&gt;
&lt;li&gt;After 10 kills they switch to primary weapon&lt;/li&gt;
&lt;li&gt;After 20 kills they get 50% more health&lt;/li&gt;
&lt;li&gt;After 30 kills a second enemy spawns with a chainsaw&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Good luck!&lt;/p&gt;

&lt;p&gt;Make sure to join the discord server to stay in touch! &lt;a href="https://discord.gg/gR6MEtFaWW" rel="noopener noreferrer"&gt;SYNTHAX Discord Server&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Thanks for reading and have fun!&lt;/p&gt;

&lt;p&gt;&lt;em&gt;A little backstory, feel free to skip this.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In 2018 I started a little side project, with no goal, no vision and no expectations -  I just knew I wanted to make something resembling a game, using the tools I am very familiar with - TypeScript, Node, React and the web browser. After a few hours of research I downloaded the BabylonJS engine and started tinkering. Days and weeks have passed and something started to shape. That something took a form of a 3rd person view (but from the top) battle royale, then went through a multiplayer arena shooter phase, now I want it to be a single player with rouge-like elements. It's called SYNTHAX and it's my most favourite thing to work on, even if it's so damn challenging.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>storybook</category>
      <category>typescript</category>
      <category>gamedev</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
