<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Other Wise &#187; Game Design Tools</title>
	<atom:link href="http://kanga.nu/~claw/blog/category/game-design-tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://kanga.nu/~claw/blog</link>
	<description></description>
	<lastBuildDate>Mon, 30 Apr 2012 07:12:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Shading dark</title>
		<link>http://kanga.nu/~claw/blog/2008/11/17/game-design-tools/shading-dark/</link>
		<comments>http://kanga.nu/~claw/blog/2008/11/17/game-design-tools/shading-dark/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 23:34:38 +0000</pubDate>
		<dc:creator>J C Lawrence</dc:creator>
				<category><![CDATA[Game Design Tools]]></category>
		<category><![CDATA[Space Race]]></category>

		<guid isPermaLink="false">http://kanga.nu/~claw/blog/?p=273</guid>
		<description><![CDATA[I generated a 7-depth Penrose tiling last night. It took most of the night. Axiom: [N]++[N]++[N]++[N]++[N] Rules: M=OA++pA—-NA[-OA----MA]++; N=+OA–PA[---MA--NA]+; O=-MA++NA[+++OA++PA]-; P=–OA++++MA[+PA++++NA]–NA; A= Angle:36 The tiled SVG&#8217;s generated by the L-System are prone to very high rates of duplicate elements. They&#8217;re also extremely slow and system intensive to process under Inkscape as the entire graph is [...]]]></description>
			<content:encoded><![CDATA[<p>I generated a 7-depth Penrose tiling last night.  It took most of the night.</p>

<pre>Axiom: 
  [N]++[N]++[N]++[N]++[N]
Rules:
  M=OA++pA—-NA[-OA----MA]++;
  N=+OA–PA[---MA--NA]+;
  O=-MA++NA[+++OA++PA]-;
  P=–OA++++MA[+PA++++NA]–NA;
  A=
Angle:36</pre>

<p>The tiled SVG&#8217;s generated by the L-System are prone to very high rates of duplicate elements.  They&#8217;re also extremely slow and system intensive to process under <a href="http://inkscape.org/" >Inkscape</a> as the entire graph is rendered as a single bazillion-point object.  Handling the performance problem is simple enough: <a href="http://inkscape.org/" >Inkscape</a>/Edit/Select_All and then break up the object with <a href="http://inkscape.org/" >Inkscape</a>/Path/Break_Apart. Ahh, much better.</p>

<p>Handling the duplicates is tougher.  There are simple duplicate elements, PATH elements with identical attributes and vertices and there are path elements which are identical except that they list the vertices in a different order.  The former are easy to remove.  Just fold the raw XML document so that all PATH entries occupy but a single line, sort the PATH elements and then remove all duplicates.  In my case I just extracted the PATH elements to an external text file, wrote a quick XEmacs macro to make each PATH element single-line and then did:</p>

<pre>$ sort < infile.xml | uniq > outfile.xml</pre>

<p>Voila!  All identical PATH elements removed.  This simplistic dupe-removal reduced the file size by approximately 30%.</p>

<p>I looked at removing the duplicate-vertex elements but found it too hard for a quick hack fix.  In short I&#8217;d have to extract all the path elements and then the vertices for each element, sort them and then do duplicate removal.  That was more than I was willing to be bothered with.  However while wandering the data I noticed that there were many 7 vertex elements whose vertices precisely overlaid the vertexes of other elements (exception: a small few elements at the edge of the graph).  With the exception of the ones at the edge of the graph, they were all redundant.  Remove them:</p>

<pre>$ grep -v "path.*M.*L.*L.*L.*L.*L.*L" < infile.svg > outfile.svg</pre>

<p>While a plain white mesh is pleasantly clear, I had the idea of colouring the tiles to give a bit of a stereoscopic effect.</p>

<pre name="code" class="python">#! env python
import sys

in_f = open (sys.argv[1], "r")
out_f = open (sys.argv[2], "w")
ndx = 0
for line in in_f:
  if ndx % 3 == 1:
    line = line.replace ('fill:none', 'fill:#999999')
  if ndx % 3 == 2:
    line = line.replace ('fill:none', 'fill:#cccccc')
  out_f.write (line)
  ndx += 1
in_f.close ()
out_f.close ()</pre>

<p>The effect of which is to assign a fill colour to two thirds of the elements, a different colour for each third</p>


<a href="http://kanga.nu/~claw/blog/wp-content/gallery/tools/Inkscape-LSystem-PenroseRender-Big-Coloured.png" title="" class="shutterset_singlepic155" >
	<img class="ngg-singlepic" src="http://kanga.nu/~claw/blog/wp-content/gallery/cache/155__x400_Inkscape-LSystem-PenroseRender-Big-Coloured.png" alt="Inkscape-LSystem-PenroseRender-Big-Coloured.png" title="Inkscape-LSystem-PenroseRender-Big-Coloured.png" />
</a>


<p>I like it.</p>
<hr />
<p><small>© claw for <a href="http://kanga.nu/~claw/blog">Other Wise</a>, 2008. |
<a href="http://kanga.nu/~claw/blog/2008/11/17/game-design-tools/shading-dark/">Permalink</a> |
<a href="http://kanga.nu/~claw/blog/2008/11/17/game-design-tools/shading-dark/#comments">No comment</a>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://kanga.nu/~claw/blog/2008/11/17/game-design-tools/shading-dark/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inkscape, L-Systems, SVG, Penrose and other tilings</title>
		<link>http://kanga.nu/~claw/blog/2008/11/16/game-design-tools/inkscape-l-systems-svg-penrose-and-other-tilings/</link>
		<comments>http://kanga.nu/~claw/blog/2008/11/16/game-design-tools/inkscape-l-systems-svg-penrose-and-other-tilings/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 10:07:59 +0000</pubDate>
		<dc:creator>J C Lawrence</dc:creator>
				<category><![CDATA[Game Design Tools]]></category>
		<category><![CDATA[Space Race]]></category>

		<guid isPermaLink="false">http://kanga.nu/~claw/blog/?p=272</guid>
		<description><![CDATA[I&#8217;ve been playing with the L-System support in Inkscape, generating Penrose Tilings. Damn this is clever neat nifty fun! Axiom: [N]++[N]++[N]++[N]++[N] Rules: M=OA++pA----NA[-OA----MA]++; N=+OA--PA[---MA--NA]+; O=-MA++NA[+++OA++PA]-; P=--OA++++MA[+PA++++NA]--NA; A= Angle:36 Just drop that into Inkscape/Effect/Render/L-System (put all the rules on one line) and you should get this: Increase the Order value and it will iterate more, drawing [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing with the <a href="http://en.wikipedia.org/wiki/L-system">L-System</a> support in <a href="http://inkscape.org/" >Inkscape</a>, generating <a href="http://en.wikipedia.org/wiki/Penrose_tiling">Penrose Tilings</a>.  Damn this is clever neat nifty fun!</p>

<pre>Axiom: 
  [N]++[N]++[N]++[N]++[N]
Rules:
  M=OA++pA----NA[-OA----MA]++;
  N=+OA--PA[---MA--NA]+;
  O=-MA++NA[+++OA++PA]-;
  P=--OA++++MA[+PA++++NA]--NA;
  A=
Angle:36</pre>

<p>Just drop that into <a href="http://inkscape.org/" >Inkscape</a>/Effect/Render/L-System (put all the rules on one line) and you should get this:</p>


<a href="http://kanga.nu/~claw/blog/wp-content/gallery/tools/Inkscape-LSystem-PenroseRender.png" title="" class="shutterset_singlepic150" >
	<img class="ngg-singlepic" src="http://kanga.nu/~claw/blog/wp-content/gallery/cache/150__x400_Inkscape-LSystem-PenroseRender.png" alt="Inkscape-LSystem-PenroseRender.png" title="Inkscape-LSystem-PenroseRender.png" />
</a>


<p>Increase the Order value and it will iterate more, drawing a larger graph.  Be careful though as execution time grows exponentially as the number of iterations grows.</p>


<a href="http://kanga.nu/~claw/blog/wp-content/gallery/tools/Inkscape-LSystem-PenroseRender-Big.png" title="" class="shutterset_singlepic151" >
	<img class="ngg-singlepic" src="http://kanga.nu/~claw/blog/wp-content/gallery/cache/151__x400_Inkscape-LSystem-PenroseRender-Big.png" alt="Inkscape-LSystem-PenroseRender-Big.png" title="Inkscape-LSystem-PenroseRender-Big.png" />
</a>


<p>Some other L-system-derived graphs produced with <a href="http://inkscape.org/" >Inkscape</a>:</p>

<pre>Axiom:
  f
Rules:
  f=-f+f+g[+f+f]-;
  g=gg;
Angle: 60</pre>


<a href="http://kanga.nu/~claw/blog/wp-content/gallery/tools/LSystem-Hex.png" title="" class="shutterset_singlepic153" >
	<img class="ngg-singlepic" src="http://kanga.nu/~claw/blog/wp-content/gallery/cache/153__x400_LSystem-Hex.png" alt="LSystem-Hex.png" title="LSystem-Hex.png" />
</a>


<p>Or perhaps more entertainingly:</p>

<pre>Axiom:
  W
Rules:
  W=+++X--F--ZFX+;
  X=---W++F++YFW-;
  Y=+ZFX--F--Z+++;
  Z=-YFW++F++Y---;
Angle: 30</pre>


<a href="http://kanga.nu/~claw/blog/wp-content/gallery/tools/LSystem-Lace.png" title="" class="shutterset_singlepic154" >
	<img class="ngg-singlepic" src="http://kanga.nu/~claw/blog/wp-content/gallery/cache/154__x400_LSystem-Lace.png" alt="LSystem-Lace.png" title="LSystem-Lace.png" />
</a>


<p>Yes, that&#8217;s a single continuous line in what is known as a <a href="http://en.wikipedia.org/wiki/Space-filling_curve">space filling curve</a>.  Wander about Wikipedia or with a search engine and you&#8217;ll find many other little L-system programs for other <a href="http://en.wikipedia.org/wiki/Tessellation">tilings</a> or <a href="http://en.wikipedia.org/wiki/Space-filling_curve">space filling curves</a>.  Plug them in and play!  They&#8217;re not only a heck of a lot of fun but such curious tilings can easily form the backdrop for interesting games and there are many many such interesting patterns.</p>

<p><a href=http://inkscape.org/screenshots/gallery/inkscape-0.44-lindenmayer.png><img src=http://inkscape.org/screenshots/gallery/inkscape-0.44-lindenmayer.png width=65%></a></p>
<hr />
<p><small>© claw for <a href="http://kanga.nu/~claw/blog">Other Wise</a>, 2008. |
<a href="http://kanga.nu/~claw/blog/2008/11/16/game-design-tools/inkscape-l-systems-svg-penrose-and-other-tilings/">Permalink</a> |
<a href="http://kanga.nu/~claw/blog/2008/11/16/game-design-tools/inkscape-l-systems-svg-penrose-and-other-tilings/#comments">No comment</a>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://kanga.nu/~claw/blog/2008/11/16/game-design-tools/inkscape-l-systems-svg-penrose-and-other-tilings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Share lessons</title>
		<link>http://kanga.nu/~claw/blog/2008/11/07/game-projects/muck-and-brass/share-lessons/</link>
		<comments>http://kanga.nu/~claw/blog/2008/11/07/game-projects/muck-and-brass/share-lessons/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 07:31:27 +0000</pubDate>
		<dc:creator>J C Lawrence</dc:creator>
				<category><![CDATA[Game Design Tools]]></category>
		<category><![CDATA[Muck And Brass]]></category>

		<guid isPermaLink="false">http://kanga.nu/~claw/blog/?p=263</guid>
		<description><![CDATA[I made paper shares for Muck &#38; Brass tonight using the share PDFs I genned yesterday. I don&#8217;t need them, the glass bits I have been using work well enough, but I suspect that a slightly crisper presentation (and demonstration of personal investment?) will make acceptance of a very early stage prototype easier. A quick [...]]]></description>
			<content:encoded><![CDATA[<p>I made paper shares for <a href="http://kanga.nu/~claw/blog/category/muck-and-brass/" >Muck &amp; Brass</a> tonight using the share PDFs I genned yesterday.  I don&#8217;t need them, the glass bits I have been using work well enough, but I suspect that a slightly crisper presentation (and demonstration of personal investment?) will make acceptance of a very early stage prototype easier.</p>

<p>A quick trip to an office supply store produced a pad of craft paper in 8 colours (sadly one of the colours was a very dark purple).  A couple aisles over revealed two packs of copier paper in 5 colours, one set rather pastel and the other day-glo.  I grabbed the craft paper and pastel sets, printed four sheets of each share sheet, cut them quickly with a Fiskar&#8217;s rotary cutter and slipped them into penny sleeves.  390 penny sleeves no less.  However, they&#8217;re really quite nice.  The paper colours are bold and clear, the black printing shows well, the company abbreviations on the ends of the shares allows them to be fanned easily (as often done in the <a href="http://www.boardgamegeek.com/wiki/page/18xx" >18XX</a>) etc.  Fair dinkum.</p>

<p>Meanwhile yesterday&#8217;s trip to the paper supply store revealed a business card cutter: feed printed stock in one end, turn the handle and out fall cut business cards.  Cost ~$150.  I suspect card production is not as trivial as it suggests and that a vice-based paper cutter remains the better choice there.  Lastly, while business cards could make good shares/cards but there are narrow limitations on available stock colours and relatively high media costs.  Bah.</p>

<p>The paper supply store also had a manual corner rounder for $300 (essentially a jig with a vice and a curved blade).  It was a rather heavy-duty piece of equipment; likely to survive WWIII unscathed. it was tempting to be tempted.  I have a hard time resisting such well-formed mechanical engineering.  Thank the gods nobody is waving a <a href="http://www.vcalc.net/cu.htm">Curta calculator</a> in my face.</p>

<p>Lessons from tonight&#8217;s production run:</p>

<ul>
<li>Colour copier paper in a wide range of colours (I need 10 colours for the 10 companies in <a href="http://kanga.nu/~claw/blog/category/muck-and-brass/" >Muck &amp; Brass</a>) is readily available outside my local office supply stores (Stapes, Office Max, Office Depot etc).  eg <a href="http://www.superfineprinting.com/colorpaper24.html">this store</a></li>
<li>Sleeves are constant size.  This can hide a multitude of sins surrounding cut shares not being of constant size.  </li>
<li>Craft paper is nice stuff to work with</li>
<li>Craft paper easily jams in the printer.  Treat it carefully and ensure the guides and feed are aligned well!</li>
<li>Coloured copier paper is not so nice to work with, tending to crease, crumple and stick</li>
<li>With a little care the rotary cutter will handle and cut stacks of 8 sheets well enough.  That makes for 8 cuts for 64 shares.  Not bad.</li>
</ul>

<p>The goal is to play tomorrow at the Endgame Anniversary party.   It isn&#8217;t likely, but worth a shot.</p>
<hr />
<p><small>© claw for <a href="http://kanga.nu/~claw/blog">Other Wise</a>, 2008. |
<a href="http://kanga.nu/~claw/blog/2008/11/07/game-projects/muck-and-brass/share-lessons/">Permalink</a> |
<a href="http://kanga.nu/~claw/blog/2008/11/07/game-projects/muck-and-brass/share-lessons/#comments">No comment</a>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://kanga.nu/~claw/blog/2008/11/07/game-projects/muck-and-brass/share-lessons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Falling practice hammers</title>
		<link>http://kanga.nu/~claw/blog/2008/11/07/game-projects/muck-and-brass/falling-practice-hammers/</link>
		<comments>http://kanga.nu/~claw/blog/2008/11/07/game-projects/muck-and-brass/falling-practice-hammers/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 08:49:45 +0000</pubDate>
		<dc:creator>J C Lawrence</dc:creator>
				<category><![CDATA[Game Design Tools]]></category>
		<category><![CDATA[Muck And Brass]]></category>

		<guid isPermaLink="false">http://kanga.nu/~claw/blog/?p=261</guid>
		<description><![CDATA[Being in possession of a new printer, an HP K8600 whose main claim to fame is that it is can up to print A31 (roughly 13&#8243;x19&#8243; &#8212; useful for prototype maps/boards), I spent a little time this evening messing with another new tool: Scribus. Scribus is a page layout tool akin to Adobe&#8217;s Framemaker. There&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Being in possession of a new printer, an <a href="http://h10010.www1.hp.com/wwpc/us/en/sm/WF06b/18972-18972-236251-1156654-3328074-3434445-3434446-3434448.html">HP K8600</a> whose main claim to fame is that it is can up to print A3<sup class='footnote'><a href='#fn-261-1' id='fnref-261-1' onclick='return fdfootnote_show(261)'>1</a></sup> (roughly 13&#8243;x19&#8243; &#8212; useful for prototype maps/boards), I spent a little time this evening messing with another new tool: <a href="http://www.scribus.net">Scribus</a>.  Scribus is a page layout tool akin to <a href="http://www.adobe.com/products/framemaker/">Adobe&#8217;s Framemaker</a>.  There&#8217;s little Scribus can do that I could not do and likely do better with my long standing favourites of <a href="http://www.latex-project.org/">LaTeX</a> and <a href="http://lyx.org">LyX</a>, but for quick, experimental and mostly throw-away tasks Scribus has a lower barrier to entry.  The fact that it also emits SVG and PDF is icing on the cake.</p>

<p>My first test project was to draw shares for the 10 companies in <a href="http://kanga.nu/~claw/blog/category/muck-and-brass/" >Muck &amp; Brass</a> (<a href="ftp://ftp.kanga.nu/users/claw/odd/games/prototypes/MuckAndBrass/EUR-shares.pdf">EUR</a>, <a href="ftp://ftp.kanga.nu/users/claw/odd/games/prototypes/MuckAndBrass/BGR-shares.pdf">B&amp;GR</a>, <a href="ftp://ftp.kanga.nu/users/claw/odd/games/prototypes/MuckAndBrass/LSR-shares.pdf">L&amp;SR</a>, <a href="ftp://ftp.kanga.nu/users/claw/odd/games/prototypes/MuckAndBrass/LMR-shares.pdf">L&amp;MR</a>, <a href="ftp://ftp.kanga.nu/users/claw/odd/games/prototypes/MuckAndBrass/LBSCR-shares.pdf">LB&amp;SCR</a>, <a href="ftp://ftp.kanga.nu/users/claw/odd/games/prototypes/MuckAndBrass/CR-shares.pdf">CR</a>, <a href="ftp://ftp.kanga.nu/users/claw/odd/games/prototypes/MuckAndBrass/GWR-shares.pdf">GWR</a>, <a href="ftp://ftp.kanga.nu/users/claw/odd/games/prototypes/MuckAndBrass/LNWR-shares.pdf">LNWR</a>, <a href="ftp://ftp.kanga.nu/users/claw/odd/games/prototypes/MuckAndBrass/NER-shares.pdf">NER</a>, <a href="ftp://ftp.kanga.nu/users/claw/odd/games/prototypes/MuckAndBrass/SWR-shares.pdf">SWR</a>).  The assumption is that each sheet would be printed 4 times, each company on a different colour of paper, and then one of the non-merger shares for each company would be discarded.  The final shares would be slipped into penny sleeves, perhaps with a card backing.  This would give 3 non-merger shares and 28 merger shares per company, which is just barely enough.</p>

<p><a href="http://winsome-games.com/" >Winsome Games</a> uses rather nice coloured paper in a wide range of colours for many of their shares.  I&#8217;ve not seen anything quite so pleasant at my local office supply stores.  I wonder what I&#8217;m missing?<sup class='footnote'><a href='#fn-261-2' id='fnref-261-2' onclick='return fdfootnote_show(261)'>2</a></sup></p>


<a href="http://kanga.nu/~claw/blog/wp-content/gallery/MuckAndBrass/EUR-shares-page1.png" title="" class="shutterset_singlepic142" >
	<img class="ngg-singlepic" src="http://kanga.nu/~claw/blog/wp-content/gallery/cache/142__x400_EUR-shares-page1.png" alt="EUR-shares-page1.png" title="EUR-shares-page1.png" />
</a>


<p>As Ben Keightley graciously reminded me on <a href="irc://irc.mibbit.com/#bgdf_chat" >#bgdf_chat</a>,  it would be better to put small images showing the  position of that company&#8217;s home city on each share.   I plead gross laziness and a knowledge of English geography!  I can&#8217;t quite be bothered to gen<sup class="dict"><a href="#floatbox-gen-0" rel="floatbox-gen-0" class="lbOn">(def)</a></sup> 10 maps of England with highlighted cities, not when the above sheets merely required producing one master and doing search-and-replace with XEmacs to produce the others.</p>

<div class='footnotes' id='footnotes-261'><div class='footnotedivider'></div><div class='footnotes'><div class='footnote_divider'><span>Footnotes</span></div><ol><li id='fn-261-1'>Would that I could find a local paper supplier that carried A3! <span class='footnotereverse'><a href='#fnref-261-1'>&#8617;</a></span></li><li id='fn-261-2'>I did find very polystyrene clamshell cases at a local store, similar to the ones that <a href="http://winsome-games.com/" >Winsome Games</a> uses but rather larger (~4&#8243; deep).  Thought provoking. <span class='footnotereverse'><a href='#fnref-261-2'>&#8617;</a></span></li></div></ol></div>
<div id='floatbox-gen-0' class='floatbox'>
  <div class='dict'>
    <h1>Definition: gen</h1>
    <div class='dict_content'>
<h2>[1] : The Collaborative International Dictionary of English v.0.48</h2>
<dd><pre>-gen \-gen\ [(1) From Gr. -gen-, from the same root as ge`nos
   race, stock (see <strong>Genus</strong>). (2) From Gr. suffix -genh`s born.
   Cf. F. -g[`e]ne.]
   1. A suffix used in scientific words in the sense of
      producing, generating: as, amphigen, amidogen, halogen.
      [1913 Webster]

   2. A suffix meaning produced, generated; as, exogen.
      [1913 Webster]
<i>See also:</i>
[<a href="http://kanga.nu/~claw/blog/definition-lookup?word=Genus">Genus</a>] 
</pre></dd>
<h2>[2] : WordNet (r) 3.0 (2006)</h2>
<dd><pre>gen
    n 1: informal term for information; "give me the gen on your new
         line of computers"

</pre></dd>
<h2>[3] : The Free On-line Dictionary of Computing (26 July 2010)</h2>
<dd><pre>generate
gen

   To produce something according to an <strong>algorithm</strong> or program or
   set of rules, or as a (possibly unintended) <strong>side effect</strong> of
   the execution of an algorithm or program.

   The opposite of <strong>parse</strong>.

   [<strong>Jargon File</strong>]

   (1995-06-15)

<i>See also:</i>
[<a href="http://kanga.nu/~claw/blog/definition-lookup?word=algorithm">algorithm</a>] [<a href="http://kanga.nu/~claw/blog/definition-lookup?word=side+effect">side effect</a>] [<a href="http://kanga.nu/~claw/blog/definition-lookup?word=parse">parse</a>] [<a href="http://kanga.nu/~claw/blog/definition-lookup?word=Jargon+File">Jargon File</a>] 
</pre></dd>
<h2>[4] : The Jargon File (version 4.4.7, 29 Dec 2003)</h2>
<dd><pre>gen
 /jen/, n.,v.

        Short for <strong>generate</strong>, used frequently in both spoken and written
        contexts.

<i>See also:</i>
[<a href="http://kanga.nu/~claw/blog/definition-lookup?word=generate">generate</a>] 
</pre></dd>

    </div>
  </div>
  <div class="dict_control"><a href="#" class="lbAction" rel="deactivate">Close</a></div></div>
<hr />
<p><small>© claw for <a href="http://kanga.nu/~claw/blog">Other Wise</a>, 2008. |
<a href="http://kanga.nu/~claw/blog/2008/11/07/game-projects/muck-and-brass/falling-practice-hammers/">Permalink</a> |
<a href="http://kanga.nu/~claw/blog/2008/11/07/game-projects/muck-and-brass/falling-practice-hammers/#comments">No comment</a>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://kanga.nu/~claw/blog/2008/11/07/game-projects/muck-and-brass/falling-practice-hammers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inkscape: Score tracks</title>
		<link>http://kanga.nu/~claw/blog/2008/04/17/game-design-tools/inkscape-score-tracks/</link>
		<comments>http://kanga.nu/~claw/blog/2008/04/17/game-design-tools/inkscape-score-tracks/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 06:04:39 +0000</pubDate>
		<dc:creator>J C Lawrence</dc:creator>
				<category><![CDATA[Game Design Tools]]></category>

		<guid isPermaLink="false">http://kanga.nu/~claw/blog/2008/04/17/game-design-tools/inkscape-score-tracks/</guid>
		<description><![CDATA[Previously I&#8217;ve had trouble drawing a score track that I thought reasonable. Some of it was as simple as how to get a nice looking score track with highlights every 5 and 10. Then there are more complex items such as how to get a rectangle that loops at exactly 100? 200? I&#8217;ve been asked [...]]]></description>
			<content:encoded><![CDATA[<p>Previously I&#8217;ve had trouble drawing a score track that I thought reasonable.  Some of it was as simple as how to get a nice looking score track with highlights every 5 and 10.  Then there are more complex items such as how to get a rectangle that loops at exactly 100?  200?  I&#8217;ve been asked this more than once and it really isn&#8217;t that hard.</p>

<p>A few small blindingly obvious (in retrospect) tricks work wonders:</p>

<ol>
<li>Draw a shape that will represent one of your score track locations</li>
<li>Copy it 10 more times so that there  are eleven of them in a row</li>
<li>Highlight the first and last of them in your choice of 10-space manner</li>
<li>Highlight the middle one for a 5-space</li>
<li>Select them all </li>
<li>Use the align tool to give them a common base line</li>
<li>Copy the set and put them in a row, continuing the line at the end of the previous set</li>
<li>Do this a few more times until you have 100 or so</li>
<li>Repeatedly use the equal-horizontal-gaps tool in the align tool interspersed with adjusting the locations of the two end shapes to get them spaced the way you want</li>
<li>Select and group that row</li>
<li>Rotate it 90 degrees</li>
<li>Make the 10-space end of the vertical row align verticall and horizontally with the bottom and left of the horizontal row and then group them</li>
<li>Copy the vertical row again and repeat with the bottom and right of the horizontal row and group them giving you a U-shaped-scoring track</li>
<li>Insert numbers into the cells as needed</li>
</ol>

<p>A little arithmetic will yield how long your sides will need to be for a closed loop of 100 or whatever.  Just chop your horizontal to that length, do the align bit, chop the vertical to suit, make the U-shape, copy up another horizontal row, align it again to the corners and Bob&#8217;s your uncle yet again.</p>
<hr />
<p><small>© claw for <a href="http://kanga.nu/~claw/blog">Other Wise</a>, 2008. |
<a href="http://kanga.nu/~claw/blog/2008/04/17/game-design-tools/inkscape-score-tracks/">Permalink</a> |
<a href="http://kanga.nu/~claw/blog/2008/04/17/game-design-tools/inkscape-score-tracks/#comments">No comment</a>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://kanga.nu/~claw/blog/2008/04/17/game-design-tools/inkscape-score-tracks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

