<?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>Random Ramblings &#187; DnL Map</title>
	<atom:link href="http://www.codedivision.com/modules/wordpress/category/game-specific/dark-light/dnl-map/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codedivision.com/modules/wordpress</link>
	<description></description>
	<lastBuildDate>Fri, 09 Jan 2009 13:23:36 +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>v0.11 &#8211; Transport Lines</title>
		<link>http://www.codedivision.com/modules/wordpress/2006/06/25/v011-transport-lines/</link>
		<comments>http://www.codedivision.com/modules/wordpress/2006/06/25/v011-transport-lines/#comments</comments>
		<pubDate>Sun, 25 Jun 2006 10:15:06 +0000</pubDate>
		<dc:creator>Tiran Kenja</dc:creator>
				<category><![CDATA[DnL Map]]></category>

		<guid isPermaLink="false">http://www.codedivision.com/modules/wordpress/2006/06/25/v011-transport-lines/</guid>
		<description><![CDATA[This week witnessed the release of one of the features I have wanted to implement for a while now (and I think promised a couple of times on IRC at least). Namely the fabled Transport Lines. As mentioned in my previous blog entry getting the lines on the map wasn&#8217;t really all that much of [...]]]></description>
			<content:encoded><![CDATA[<p>This week witnessed the release of one of the features I have wanted to implement for a while now (and I think promised a couple of times on IRC at least). Namely the fabled Transport Lines.</p>
<p>As mentioned in my previous blog entry getting the lines on the map wasn&#8217;t really all that much of a challenge. What turned out to be the biggest piece of work was getting the editing tools working. And perhaps more importantly: getting them implemented in a way that didn&#8217;t break the ones I already have in place for normal markers.</p>
<p>Getting all this done required me to &#8211; once again &#8211; re-factor large parts of my code. Usually something that isn&#8217;t a big issue when you normally write code in decent IDEs. But the loose nature of JavaScript makes it hard to write good re-factoring tools I suppose. At least the ones I&#8217;ve found don&#8217;t do any magic in that field.</p>
<p>This latest re-factor did result in my first real piece of polymorphic JavaScript code tho. Specifically I needed the normal markers and the transport lines to work as much the same as possible. And also the editors for them needed to work the same so I didn&#8217;t have to add a lot of redundant code. It&#8217;s not really all that pretty at this point. But at least it&#8217;s reasonable easy to move on from the point I am at now.</p>
<p>With transport lines in the need for map editors have increased a bit. So I will continue to add some more of those as I find trustworthy people who are willing to take on the job. Recently one member of Mystical Alliance was added to the staff. And hopefully one more from the same guild is interested in contributing. Still haven&#8217;t found any Dark players who I feel I can trust enough for this (and also have the time/interest to do it). So the search goes on in that direction too.</p>
<p>Moving on from here I have several ideas what I would like to do. But I suspect my progress from here on will slow down a bit due to my somewhat limited motivation to actually play Dark &#38; Light. Most of my current guild seems to have decided not to play. And most of the reasons I initially wanted to play this game seems to have died when NPCube had to rush out the game to make some money.</p>
<p>If I do go on with this project my next goal will be more focus on allowing people managing their own map with marker sets of their own types and icons. Parts of the code has already been prepared for this. But more changes needs to be made. And also I need to implement some pages where people can sign up and manage their profiles and map. So even if I manage a high level of motivation it is going to be a while before I have that ready.</p>
<p><!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">Technorati Tags: <a href="http://www.technorati.com/tag/javascript" rel="tag">javascript</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedivision.com/modules/wordpress/2006/06/25/v011-transport-lines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We now have editors&#8230;</title>
		<link>http://www.codedivision.com/modules/wordpress/2006/06/14/we-now-have-editors/</link>
		<comments>http://www.codedivision.com/modules/wordpress/2006/06/14/we-now-have-editors/#comments</comments>
		<pubDate>Wed, 14 Jun 2006 10:24:51 +0000</pubDate>
		<dc:creator>Tiran Kenja</dc:creator>
				<category><![CDATA[DnL Map]]></category>

		<guid isPermaLink="false">http://www.codedivision.com/modules/wordpress/2006/06/14/we-now-have-editors/</guid>
		<description><![CDATA[Well. A couple of updates have come and gone. And finally I have enough backend tracking to allow 3rd parties to edit the map. So far I have two people who have access to add, change and delete markers on the map. Currently it is members of the guild I am part of &#8211; Age [...]]]></description>
			<content:encoded><![CDATA[<p>Well. A couple of updates have come and gone. And finally I have enough backend tracking to allow 3rd parties to edit the map. So far I have two people who have access to add, change and delete markers on the map. Currently it is members of the guild I am part of &#8211; <a href="http://www.ageofjudgement-dnl.org">Age of Judgement</a>. But I think I&#8217;ll need at least one darkie to also do some updates so I can have Dark Kingdom markers added.</p>
<p>Next up is transport lines. I already have some of the frontend code working in the development environment. But before you all start holding your breath you, I still have editing, XML generation, XML parsing and the database backend to complete. Hopefully I&#8217;ll have time to get this working this week so the editors can start adding them all.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedivision.com/modules/wordpress/2006/06/14/we-now-have-editors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Map released and updated</title>
		<link>http://www.codedivision.com/modules/wordpress/2006/06/08/map-released-and-updated/</link>
		<comments>http://www.codedivision.com/modules/wordpress/2006/06/08/map-released-and-updated/#comments</comments>
		<pubDate>Thu, 08 Jun 2006 08:19:50 +0000</pubDate>
		<dc:creator>Tiran Kenja</dc:creator>
				<category><![CDATA[DnL Map]]></category>

		<guid isPermaLink="false">http://www.codedivision.com/modules/wordpress/2006/06/08/map-released-and-updated/</guid>
		<description><![CDATA[Well. I finally got around to releasing the DnL map to the public last saturday (it&#8217;s available here). And slowly over the last week I have been adding a number of markers to the map too. Yesterday marked the first day with more than 200 visitors. But it also happened to be when I released [...]]]></description>
			<content:encoded><![CDATA[<p>Well. I finally got around to releasing the DnL map to the public last saturday (it&#8217;s available <a href="http://dnl.houseofkenja.com/map">here</a>). And slowly over the last week I have been adding a number of markers to the map too. Yesterday marked the first day with more than 200 visitors. But it also happened to be when I released a small update.</p>
<p>The update was mainly to fix IE compatibility. The marker info windows didn&#8217;t show any text. And the drop-down menus didn&#8217;t really work well in IE. Both of those issues where fixed. The latter one I completely went around by moving the marker list into a separate marker floating window. For the current amount of markers it may not make much sense. But as I progress with adding features (and markers) it is much more flexible to show them this way. And allows me easily add more drill-down methods (like by domain) without having to figure out how to put it into the design of the page.</p>
<p>IE6 still don&#8217;t show the info windows 100% correctly. No idea why it don&#8217;t pick up the CSS formatting. Damn I hate that browser.</p>
<p>Next up is either adding support for transport lines or preparing the map for 3rd party editing (as in someone else but me). I won&#8217;t have much time for it for a couple of days. So I&#8217;ll leave it as a surprise (to myself and everyone else) what I do first.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedivision.com/modules/wordpress/2006/06/08/map-released-and-updated/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The woes of making overlays in Photoshop</title>
		<link>http://www.codedivision.com/modules/wordpress/2006/06/01/the-woes-of-making-overlays-in-photoshop/</link>
		<comments>http://www.codedivision.com/modules/wordpress/2006/06/01/the-woes-of-making-overlays-in-photoshop/#comments</comments>
		<pubDate>Thu, 01 Jun 2006 11:42:35 +0000</pubDate>
		<dc:creator>Tiran Kenja</dc:creator>
				<category><![CDATA[DnL Map]]></category>

		<guid isPermaLink="false">http://www.codedivision.com/modules/wordpress/?p=26</guid>
		<description><![CDATA[Well. Progress on a real map for DnL is going forward. I have most of Light Kingdom mapped. And I got Dark Kingdom mapped in stress test. So in a day or two I can post a full map of open areas of DnL. My plan was to add a domain borders overlay for users [...]]]></description>
			<content:encoded><![CDATA[<p>Well. Progress on a real map for DnL is going forward. I have most of Light Kingdom mapped. And I got Dark Kingdom mapped in stress test. So in a day or two I can post a full map of open areas of DnL.</p>
<p>My plan was to add a domain borders overlay for users to switch on and off. In theory it would be real easy since I already have the overlay in a separate layer in my map source file. But in practice it turns out to be very tricky. The problem is I have a script that makes Photoshop make all the tiles needed. And I do that by coping each tile from the source file. And the paste it into a new window that then is saved as the tile. So far so good.</p>
<p>Trouble is a lot of an overlay is clear space &#8211; since you want it to be transparent. And Photoshop basically ignores clear space in copies. So when pasting tiles with clear space you end up with with just the area that have actual pixels in it with no way of knowing where that data was in the tile you copied. And no idea how to correct the specific. Damnation!</p>
<p>So until I get a good way of handling overlays I guess I&#8217;m stuck. Instead I will be working on adding transport routes to my map. And I should be able to make an overlay with a grid on. Hopefully I can do that dynamically on the server since it&#8217;s just a couple of lines and some text. So look for that soonish.</p>
<p>But first I&#8217;ll get the actual map up. Should be public in a day or two.<br />
<!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">Technorati Tags: <a href="http://www.technorati.com/tag/photoshop" rel="tag">photoshop</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedivision.com/modules/wordpress/2006/06/01/the-woes-of-making-overlays-in-photoshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
