<?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>Zachernuk.com &#187; Add new tag</title>
	<atom:link href="http://www.zachernuk.com/tag/add-new-tag/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zachernuk.com</link>
	<description>The desk of Brandel Zachernuk</description>
	<lastBuildDate>Thu, 02 Feb 2012 22:36:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Where we have been, and where opticks is going</title>
		<link>http://www.zachernuk.com/2009/09/19/where-we-have-been-and-where-opticks-is-going/</link>
		<comments>http://www.zachernuk.com/2009/09/19/where-we-have-been-and-where-opticks-is-going/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 08:36:44 +0000</pubDate>
		<dc:creator>Brandel Zachernuk</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[The Order]]></category>
		<category><![CDATA[doodles]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[opticks]]></category>
		<category><![CDATA[2d]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[beams]]></category>
		<category><![CDATA[buddhist]]></category>
		<category><![CDATA[chinese]]></category>
		<category><![CDATA[laser]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[monastery]]></category>
		<category><![CDATA[monk]]></category>
		<category><![CDATA[order]]></category>
		<category><![CDATA[painting]]></category>
		<category><![CDATA[ray]]></category>
		<category><![CDATA[raycasting]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">http://www.zachernuk.com/?p=260</guid>
		<description><![CDATA[Long time no post! Mid-year break is a very long holiday in the Chinese Highschool system, so we made the most of it by doing a lot of traveling.  We saw a lot of wonderful and amusing historical and contemporary sights, and managed to catch up with Family.  I don&#8217;t have a laptop, though, so after [...]]]></description>
			<content:encoded><![CDATA[<p>Long time no post! Mid-year break is a very long holiday in the Chinese Highschool system, so we made the most of it by doing a lot of traveling.  We saw a lot of wonderful and amusing historical and contemporary sights, and managed to catch up with Family.  I don&#8217;t have a laptop, though, so after a couple of days of trying to program (and debug) on paper, I decided to turn my attention to more promising things.</p>
<p>I began thinking about how to write an optics engine in about September 2008.  At the time, I thinking about more minigame scenarios for <a href="http://www.casebookthegame.com">Casebook</a> &#8211; specifically, to find something do with microscopy more that was more interesting than just pulling the focus, taking a stab at the correct zoom level or panning over an endless  expanse of dust specks.  I became intrigued by the complexity present in microscopy &#8211; beams of light reflected, focused, dispersed and focused again.</p>
<p>I started writing a 2D ray-casting system which could do the basic laserbeam-like  stuff. Intersecting with linear mirrors and bouncing off if they were reflective.  From there it was a simple step to add in partial reflectivity &#8211; (a white beam hitting a red mirror would reflect red, a blue beam wouldn&#8217;t reflect at all).   After that, it&#8217;s not a far step from <em>that </em>to implementing solid polygonal objects.  From there, in theory, it&#8217;s just a short jump to including a 2d physics (mechanics) engine like Box2D. From there it looks worthwhile to include image textures on said polygons, as well as applying forces on them at the point of ray intersections.</p>
<p>You may be able to see where this is going.  It&#8217;s a hobby project, so there&#8217;s no harm in it continuing indefinitely, though it helps to have an idea to work toward.  Since I&#8217;m in China, I thought it would be interesting to draw on some of the culture around me &#8211; my first idea*  was &#8220;There was a medieval order of monks in China whose daily lives revolved around doing interesting things with beams of light&#8221;. This is the picture I came up with to express that.</p>
<p><img class="alignnone" title="Initial concept" src="http://farm4.static.flickr.com/3405/3635546314_7a1bc3acd6.jpg" alt="" width="500" height="364" /></p>
<p>With a slightly more concrete direction to move toward, I was able to avoid considering the detail of what the game would be about or how the player would engage with it, adding the necessary engine features that would be required irrespective of how those decisions panned out.</p>
<p>So far, so good.  When I found myself with nothing to do but ponder what the game would actually <em>involve</em>, though,I was at a bit of a loss.  What does the player control?  How would a game progress?  It seems that no matter where a game is supposedly rooted, be it feudal Japan, post-apocalyptic Mars or Victorian England, the game always finds a way of shoehorning in the same mechanics.  I&#8217;m something of an activist when it comes to how the and how the interaction in a game relates to its premise, so if possible I&#8217;d like to go against that trend.</p>
<p>I&#8217;ve got here a bundle of (very) novel mechanics here, so I started by trying to extrapolate from the basic functions, what kind of play experience might to possible.</p>
<p>The first thing that springs to mind is the optics stuff.  As in the image above, having to get a goal object to be lit up, or for a beam to pass from one room into another without interruption would be a reasonable game task, and it could be explained in the context of the Monastery by saying that the place runs on light, and intermittent blockages, dusty mirrors or wild animals can come and interfere with the operation of the place.  Great! You could start out as a janitor!</p>
<p>Next, given what a mechanics engine is typically able to perform, I knew we could have the mechanics stuff like shapes falling, turning, connected by pivots and whatnot.  If you add in to that the ability to use lasers to cut those shapes, I figured we could develop some kind of object deformation, and that could allow for levels where the player is required to destroy an object or a machine. It would be a solid mechanic, but very similar to Nitrome&#8217;s <a href="http://www.nitrome.com/games/icebreaker/">Icebreaker</a> or Eugene Karataev&#8217;s two <a href="http://www.physicsgames.net/game/Splitter.html">Splitter </a><a href="http://www.physicsgames.net/game/Splitter_2.html">games</a>.   There would be differences &#8211; timing would become a factor, as a laser doesn&#8217;t have to cut through a block instantaneously, but it would be much the same mechanic. I <span style="text-decoration: line-through;">anticipate </span>daydream that it would look something like this:</p>
<div id="attachment_264" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-264 " title="order-carving" src="http://www.zachernuk.com/wp-content//order-carving-300x225.jpg" alt="channeling blue light to cut up a red stone" width="300" height="225" /><p class="wp-caption-text">Channeling blue light to cut up a red stone, but with Drama! (Drama = lens flares)</p></div>
<p>Then I remembered you could use this constructively, too &#8211; by chipping away at an object, or cutting out pieces of it carefully, you could fashion replacement pieces for existing machinery &#8211; a new cam, piston casing or something.  You could be the Order&#8217;s <em>handyman </em>too!</p>
<p>From there, I started to think about how the player could rise through the ranks of the place, and what other roles there might be to play.  Living in the Monastery, you may need to defend it, or attack it in order to oust invaders who have already infiltrated the place.</p>
<div id="attachment_266" class="wp-caption alignnone" style="width: 310px"><a href="http://www.zachernuk.com/wp-content//order-pagoda-entrance.jpg"><img class="size-medium wp-image-266 " title="order-pagoda-entrance" src="http://www.zachernuk.com/wp-content//order-pagoda-entrance-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">... Turning on the outside light?</p></div>
<div id="attachment_267" class="wp-caption alignnone" style="width: 310px"><a href="http://www.zachernuk.com/wp-content//order-reflecting.jpg"><img class="size-medium wp-image-267 " title="order-reflecting" src="http://www.zachernuk.com/wp-content//order-reflecting-300x225.jpg" alt="Acting as an impromptu mirror during an inconvenient flood of godrays." width="300" height="225" /></a><p class="wp-caption-text">Acting as an impromptu mirror during an inconvenient flood of god-rays.</p></div>
<p>Also, since the life of the people in the Order is defined by this light, they&#8217;d probably use it as the basis of technology.  I&#8217;ll write more about this later, but I&#8217;d like to see what I call &#8220;Brown-box&#8221; technology.  It&#8217;s not black box because you&#8217;re allowed to see inside it, but it&#8217;s not white box either, because you don&#8217;t need to (and indeed, unless you do, the action of the box is simplified down to being that component.   It&#8217;s something I&#8217;ve been pondering over for a long time, and a <a href="http://apes-abroad.livejournal.com/33111.html">post by Colin Northwa</a>y of   <a href="http://fantasticcontraption.com/">Fantastic Contraption</a> got me thinking about how to have my cake and eat it too. Anyway, the brown boxes:</p>
<div id="attachment_268" class="wp-caption alignnone" style="width: 310px"><a href="http://www.zachernuk.com/wp-content//order-miniature-level.jpg"><img class="size-medium wp-image-268" title="order-miniature-level" src="http://www.zachernuk.com/wp-content//order-miniature-level-300x225.jpg" alt="A mess of componentry in no particular order" width="300" height="225" /></a><p class="wp-caption-text">A mess of componentry in no particular order</p></div>
<div id="attachment_269" class="wp-caption alignnone" style="width: 310px"><a href="http://www.zachernuk.com/wp-content//order-miniature-level-2.jpg"><img class="size-medium wp-image-269" title="order-miniature-level-2" src="http://www.zachernuk.com/wp-content//order-miniature-level-2-300x225.jpg" alt="More junk.  I have some idea what it could be, but it's all just some idea at the moment." width="300" height="225" /></a><p class="wp-caption-text">More junk.  I have some idea what it could be, but at this point, all of this is just some idea. </p></div>
<p>Next are some images that just help set the scene &#8211; I imagine that the monastery complex will have some very tall buildings, though the tallest classical structures in China (other than the walls and gatehouses) are these heavy stone pagodas.  This one is fairly squat, but they can be quite dizzyingly high.</p>
<div id="attachment_272" class="wp-caption alignnone" style="width: 310px"><a href="http://www.zachernuk.com/wp-content//order-pagoda.jpg"><img class="size-medium wp-image-272" title="order-pagoda" src="http://www.zachernuk.com/wp-content//order-pagoda-300x225.jpg" alt="One of the shorter pagodas on a misty morning." width="300" height="225" /></a><p class="wp-caption-text">One of the shorter pagodas on a misty morning.</p></div>
<p>Finally, Some pictures that have more to do with just feeling out what the world will be like.</p>
<div id="attachment_273" class="wp-caption alignnone" style="width: 310px"><a href="http://www.zachernuk.com/wp-content//order-lightcage.jpg"><img class="size-medium wp-image-273" title="order-lightcage" src="http://www.zachernuk.com/wp-content//order-lightcage-300x225.jpg" alt="A precious stone protected by a cage of light beams.  The beams just happen to look very dramatic too." width="300" height="225" /></a><p class="wp-caption-text">A precious stone protected by a cage of light beams.  The beams just happen to look very dramatic too.</p></div>
<p>Dangerous fire-light could be used as a defensive mechanism, protecting valuable things and stopping animals from wandering into places.  Special stones and crystals could be used to convert light from one colour to another, to store energy, or to change properties (density, velocity etc.) upon charging.</p>
<div id="attachment_274" class="wp-caption alignnone" style="width: 310px"><a href="http://www.zachernuk.com/wp-content//order-backstory.jpg"><img class="size-medium wp-image-274" title="order-backstory" src="http://www.zachernuk.com/wp-content//order-backstory-300x225.jpg" alt="A monument to the first guy who figured out how to play with light.  May or may not be based on the Buddha." width="300" height="225" /></a><p class="wp-caption-text">A monument to the first guy who figured out how to play with light.  May or may not be based on the Buddha.</p></div>
<p>Like the standard representation of magic, preparation or the special treatment of substances to reveal their particular powers could be quite fun.</p>
<div id="attachment_270" class="wp-caption alignnone" style="width: 310px"><a href="http://www.zachernuk.com/wp-content//order-collect.jpg"><img class="size-medium wp-image-268" title="Order-collect" src="http://www.zachernuk.com/wp-content//order-collect-300x225.jpg" alt="Collecting... something?" width="300" height="225" /></a><p class="wp-caption-text">Collecting... something?</p></div>
<p>All in all, while the scope of the idea is probably <span style="text-decoration: line-through;">a little </span>impossibly large, it means there is something to work towards, which I&#8217;m looking forward to continuing.</p>
<p>* Actually, the second idea.  Apparently &#8220;you&#8217;re an undergraduate physics student, experimenting at an optics workbench&#8221; doesn&#8217;t doesn&#8217;t set fire to the imagination as much as I had initially hoped.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zachernuk.com/2009/09/19/where-we-have-been-and-where-opticks-is-going/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>On the crappy lessons that games teach us &#8211; and an Opticks update!</title>
		<link>http://www.zachernuk.com/2009/07/05/crappy-lessons/</link>
		<comments>http://www.zachernuk.com/2009/07/05/crappy-lessons/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 19:34:20 +0000</pubDate>
		<dc:creator>Brandel Zachernuk</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Incidental Learning]]></category>
		<category><![CDATA[bandwagon]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[opticks]]></category>
		<category><![CDATA[youtuber]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[lessons]]></category>
		<category><![CDATA[Opticks]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[simulation]]></category>

		<guid isPermaLink="false">http://www.zachernuk.com/?p=242</guid>
		<description><![CDATA[The lessons that we learn from a lot of entertainment can be really, really bad.  I don&#8217;t just mean moral or ethical lessons (though Cracked magazine makes light of those to great result), but lessons about how the world literally works.  When every punch is a knockout, and every bullet into a car creates an [...]]]></description>
			<content:encoded><![CDATA[<p>The lessons that we learn from a lot of entertainment can be really, really bad.  I don&#8217;t just mean moral or ethical lessons (though <a href="http://www.cracked.com/article_16905_7-classic-disney-movies-that-taught-us-terrible-lessons.html" target="_blank">Cracked magazine makes light of those to great result</a>), but lessons about how the world literally works.  When every punch is a knockout, and every bullet into a car creates an explosion we do ourselves a disservice.  The defense &#8220;it&#8217;s not important, because entertainment is supposed to be a diversion from the real world&#8221; is often used as rebuttal here, but I think it misses a crucial point.  Movies and books can be a great way to allow people to think about new ideas &#8211; what happens if the sun goes dark, whether there could be a space elevator etc. &#8211; but games actually let people test some of these ideas out.  What happens when I take a corner in a bus at a hundred miles an hour?  How many crates can I stack on top of each other before the bottom one collapses?</p>
<p>There are countless videos on Youtube of people trying these things out &#8211; stacking barrels in Farcry or balancing helicopters on top of other helicopters in Battlefield: Vietnam.  Constance Steinkuehler, an academic in the field of Educational Communications &amp; Technology, asserts that kids in <em>Lineage </em>and <em>World of Warcraft</em> have been unwittingly <a href="http://www.wired.com/gaming/gamingreviews/commentary/games/2008/09/gamesfrontiers_0908" target="_blank">conducting experiments according to the scientific method</a> in order to understand the world around them!  This behaviour seems to be quite common.  If you look through any forum dedicated to a game  you&#8217;ll find extensive write-ups of all the units, power-ups and a weigh-in on whether something is worth having or doing.  <a href="http://strategy.diii.net">Http://strategy.diii.net,</a> a site for <em>Diablo II</em>, h0as links to strategy guides which outline the principles of experiment design. A site dedicated to <em>World of Warcraft</em>,  <a href="http://www.thottbot.com">thottbot.com</a>, calculates the probability of a monster dropping an item to three significant figures!</p>
<p>In one respect, this is a wonderful development.  People are using rigorous, principled methods of investigation in order to understand the worlds they find themselves in.  On the other hand, those environments are not only artificial &#8211; video games are necessarily artificial &#8211; but worlds with such a feeble resemblance to reality that no relevant knowledge can be gleaned through experimentation.  This is tragic.</p>
<p>This is not an attack on all games, though.  This frustration is aimed at worlds that purport to some degree of realism &#8211; racing games where an autopilot takes control when you spin out (<em>Ridge Racer</em>), or momentum values that are tweaked with no justification to make a spacecraft more maneuverable as a game progresses. I don&#8217;t think all games have to have Newton-perfect calculations of mass and velocity, but I think there ought to be games that at least try.</p>
<p>Towards that end, here&#8217;s another update of what I&#8217;ve been working on.  It&#8217;s really hard to resist holding off on an update because I&#8217;m so close to a breakthrough, but I&#8217;ve found that after one breakthrough is made, it always seems &#8216;close enough&#8217; to the next to hold off again. Consequently, there&#8217;s a lot in now that wasn&#8217;t in the last build. The list of what&#8217;s new is probably less interesting than the thing itself, so here it is:</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_opticks-20090704_1514958735"
			class="flashmovie"
			width="400"
			height="600">
	<param name="movie" value="http://www.zachernuk.com/wp-content//opticks-20090704.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.zachernuk.com/wp-content//opticks-20090704.swf"
			name="fm_opticks-20090704_1514958735"
			width="400"
			height="600">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<ul>
<li><strong>Colour sliders:</strong> Now, rather than relying on the colour of a mirror being made on the fly, you can select the colour of all the elements, setting a laser to beam only red light, or a mirror to reflect only yellow light etc.</li>
<li><strong>Rotation:</strong> Works now.  You click to select a pivot to rotate the selection about, and drag around to place &#8216;em.</li>
<li><strong>Tooltips: </strong> Finally, there is a little feedback about what things are and what to do with them!</li>
<li><strong>Cirlces: </strong>Only work with lasers at the moment, but they are solid, circular mirrors that could be considered to have a &#8220;mass&#8221;.  One day.</li>
<li><strong>Polygons: </strong>These do work with beams and lasers, but do some silly things with beams (when you point the beam on to an angle less than 180º) . These could also be considered to have mass one day.</li>
</ul>
<p>What&#8217;s next?  Remote loading and saving (I&#8217;m going to need some help with PHP for that), and then Box2D!  I&#8217;ve been messing around with some ideas for games that could actually <em>use</em> this engine, and I&#8217;ve come up with one idea, which I&#8217;ve sketched out on <a href="http://www.flickr.com/photos/brandelf/3635546314/">my Flickr page</a>, but that&#8217;s as far as it goes right now.  When I have more, I will show it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zachernuk.com/2009/07/05/crappy-lessons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

