<?xml version="1.0" encoding="UTF-8"?>
  <feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html"><![CDATA[dh20156's New World!]]></title>
  <subtitle type="html"><![CDATA[Welcome to dh20156&#39;s New World!]]></subtitle>
  <id>http://www.v-ec.com/dh20156/</id> 
  <link rel="alternate" type="text/html" href="http://www.v-ec.com/dh20156/" /> 
  <link rel="self" type="application/atom+xml" href="http://www.v-ec.com/dh20156/atom.asp" /> 
  <generator uri="http://www.pjhome.net/" version="2.4.1022">PJBlog2</generator> 
  <updated>2008-05-13T08:50:10+08:00</updated> 

  <entry>
	  <title type="html"><![CDATA[2000届普4班同学录]]></title>
	  <author>
		 <name>dh20156</name>
		 <uri>http://www.v-ec.com/dh20156/</uri>
		 <email>dh20156@126.com</email>
	  </author>
	  <category term="" scheme="http://www.v-ec.com/dh20156/default.asp?cateID=3" label="AboutLife" /> 
	  <updated>2008-05-13T08:50:10+08:00</updated>
	  <published>2008-05-13T08:50:10+08:00</published>
		  <summary type="html"><![CDATA[刘 承&nbsp;&nbsp;&nbsp; 13576898564&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />杜欢&nbsp;&nbsp;&nbsp; 15979621008 &nbsp;&nbsp; QQ:153720615<br />桂 妃&nbsp;&nbsp;&nbsp; 13979627916&nbsp;&nbsp;&nbsp; QQ:86525397<br />袁海霞&nbsp;&nbsp;&nbsp; 13879787296<br />杨 莺&nbsp;&nbsp;&nbsp; 15979622627&nbsp;&nbsp;&nbsp; QQ:953702536<br />严林英&nbsp;&nbsp;&nbsp; 13767702656<br />王 健&nbsp;&nbsp;&nbsp; 13979699493&nbsp;&nbsp;&nbsp; QQ:731405041<br />魏 彦&nbsp;&nbsp;&nbsp; 13767089782<br />周 洲&nbsp;&nbsp;&nbsp; 13870509708&nbsp;&nbsp;&nbsp; QQ:373274414<br />熊 燕&nbsp;&nbsp;&nbsp; 13576807873<br />曾思圆&nbsp;&nbsp;&nbsp; 13979673229&nbsp;&nbsp;&nbsp; QQ:534666063<br />杨慧琼&nbsp;&nbsp;&nbsp; 13979641699<br />晏冬凤&nbsp;&nbsp;&nbsp; 13755432946&nbsp;&nbsp;&nbsp; QQ:458663134<br />朱颖琳&nbsp;&nbsp;&nbsp; 13807962668<br />谢丽梅&nbsp;&nbsp;&nbsp; 13879691581&nbsp;&nbsp;&nbsp; QQ:591130625<br />杨 静&nbsp;&nbsp;&nbsp; 13879687689<br />付淑花&nbsp;&nbsp;&nbsp; 13607953214&nbsp;&nbsp;&nbsp; QQ:77324675<br />王木招&nbsp;&nbsp;&nbsp; 13970649937<br />曾小琳&nbsp;&nbsp;&nbsp; 13879687898&nbsp;&nbsp;&nbsp; QQ:534517686<br />邓燕婷&nbsp;&nbsp;&nbsp; 13818892522<br />叶俭平&nbsp;&nbsp;&nbsp; 15079631657&nbsp;&nbsp;&nbsp; QQ:250314478<br />粱&nbsp; 钢&nbsp;&nbsp;&nbsp; 15807969800<br />巫礼明&nbsp;&nbsp;&nbsp; 13979602713&nbsp;&nbsp;&nbsp; QQ:554010017<br />熊锦洪&nbsp;&nbsp;&nbsp; 13755422309<br />陈寿金&nbsp;&nbsp;&nbsp; 13979646363&nbsp;&nbsp;&nbsp; QQ:306683002<br />左 斌&nbsp;&nbsp;&nbsp; 13970608373<br />李 琳&nbsp;&nbsp;&nbsp; 13207960586&nbsp;&nbsp;&nbsp; QQ:346472562<br />范仲根&nbsp;&nbsp;&nbsp; 13113259249<br />胡文娴&nbsp;&nbsp;&nbsp; 13879188947&nbsp;&nbsp;&nbsp; QQ:404614188<br />吴金金&nbsp;&nbsp;&nbsp; 13755450814<br />罗文泓&nbsp;&nbsp;&nbsp; 13879619092&nbsp;&nbsp;&nbsp; 小灵通:8918775&nbsp;&nbsp;&nbsp; 8860927<br />黄再银&nbsp;&nbsp;&nbsp; 13879600795<br />李 娜&nbsp;&nbsp;&nbsp; 13657099677&nbsp;&nbsp;&nbsp; 座机:07915719121<br />江海蛟&nbsp;&nbsp;&nbsp; 13576624181<br />万月红&nbsp;&nbsp;&nbsp; 15879143992<br />卢卿卿&nbsp;&nbsp;&nbsp; 13177961311<br />陈燕红&nbsp;&nbsp;&nbsp; 13576890381<br />陈水民&nbsp;&nbsp;&nbsp; 13755495678<br />袁菊梅&nbsp;&nbsp;&nbsp; 13138344866<br /><br /><br />感谢193同学提供，如有变更或最新联系方式，请在此留言或联系杜欢，谢谢。]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.v-ec.com/dh20156/default.asp?id=130" /> 
	  <id>http://www.v-ec.com/dh20156/default.asp?id=130</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[今天到现场迎接了奥运圣火传递]]></title>
	  <author>
		 <name>dh20156</name>
		 <uri>http://www.v-ec.com/dh20156/</uri>
		 <email>dh20156@126.com</email>
	  </author>
	  <category term="" scheme="http://www.v-ec.com/dh20156/default.asp?cateID=3" label="AboutLife" /> 
	  <updated>2008-05-08T16:45:09+08:00</updated>
	  <published>2008-05-08T16:45:09+08:00</published>
		  <summary type="html"><![CDATA[原计划8号奥运圣火在深圳传递，上午8点起跑。公司7号下午决定8号上午放半天假，谁知道7号零点奥运圣火要登珠峰，原定的8号上午8时在深圳的圣火传递被推迟到12点左右，害偶起了个早，赶到海雅百货那边的天桥去迎接圣火的传递。<br /><br />公司的安排也让人很郁闷，半天半天的放，而且听说推迟消息后连上午半天假都取消了，发短信来催上班，可怜偶在海雅百货等了半个多小时的车都等不到！<br /><br />回到公司时都十一点了，郁闷的不行，吃过午饭后，同事们都在网上关注圣火传递情况，后来大家决定去看看，于是一起来到了科技园路段的天桥上一起去等待圣火的到来。<br /><br />如果谁没有体验过春运的感觉的话，可以说当时那种场景绝对与春运时不相上下，真正的人山人海，大家心情都特别兴奋。在开路车队和宣传车队过后大家都抑制不住了，一起冲向了路中，只给圣火传递留下了一辆车宽多点的位置。<br /><br />当火炬手手持火炬慢跑过来的时候，整个路段都沸腾了，&ldquo;中国加油&rdquo;的喊声足已震撼在场的每一个人。中国加油！]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.v-ec.com/dh20156/default.asp?id=129" /> 
	  <id>http://www.v-ec.com/dh20156/default.asp?id=129</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[inline-block]]></title>
	  <author>
		 <name>dh20156</name>
		 <uri>http://www.v-ec.com/dh20156/</uri>
		 <email>dh20156@126.com</email>
	  </author>
	  <category term="" scheme="http://www.v-ec.com/dh20156/default.asp?cateID=2" label="AboutCode" /> 
	  <updated>2008-05-07T12:56:58+08:00</updated>
	  <published>2008-05-07T12:56:58+08:00</published>
		  <summary type="html"><![CDATA[<p>inline-block的使用使得我们大大减少了处理float带来的问题。它的好处在于，多数浏览器都能够很好的支持，真是个不错的宝贝！^_^ </p>
<p>在FF中需要使用FF的专有样式：<br />display:-moz-inline-box;<br />相应的水平、垂直居中也需要使用FF自己的样式：<br />-moz-box-align:center;-moz-box-pack:center; </p>
<p>如下实例：</p>
<p>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot; &quot;http://www.w3.rog/TR/html4/strict.dtd&quot;&gt;<br />&lt;html&gt;<br />&lt;head&gt;<br />&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html;charset=utf-8&quot;&gt;<br />&lt;title&gt;test inline-block&lt;/title&gt;<br />&lt;style type=&quot;text/css&quot;&gt;<br />ul,li {margin:0;padding:0;list-style:none;}<br />#nav-bar li {display:inline;}<br />#nav-bar li a {display:-moz-inline-box;-moz-box-align:center;-moz-box-pack:center;display:inline-block;text-align:center;height:30px;line-height:30px;background:red;}<br />&lt;/style&gt;<br />&lt;/head&gt;<br />&lt;body&gt;<br />&nbsp;&nbsp;&nbsp; &lt;ul id=&quot;nav-bar&quot;&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link A&lt;/a&gt;&lt;/li&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link B&lt;/a&gt;&lt;/li&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link C&lt;/a&gt;&lt;/li&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link D&lt;/a&gt;&lt;/li&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link E&lt;/a&gt;&lt;/li&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/ul&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;<br /></p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.v-ec.com/dh20156/default.asp?id=128" /> 
	  <id>http://www.v-ec.com/dh20156/default.asp?id=128</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[我现在在深圳]]></title>
	  <author>
		 <name>dh20156</name>
		 <uri>http://www.v-ec.com/dh20156/</uri>
		 <email>dh20156@126.com</email>
	  </author>
	  <category term="" scheme="http://www.v-ec.com/dh20156/default.asp?cateID=3" label="AboutLife" /> 
	  <updated>2008-05-06T18:19:46+08:00</updated>
	  <published>2008-05-06T18:19:46+08:00</published>
		  <summary type="html"><![CDATA[<p>2007年年底时的应聘，到08年年初的OFFER，直到08年5月才正式离职。</p>
<p>5月2号早到达广州，看望弟弟飘零雾雨，一切安好。个人对广州的映像始终是觉得人太多，同时在外移动的人真的太多了。不大习惯广州的生活。</p>
<p>5月4号上午乘坐和谐号到达深圳，和谐号还是不错的，很好很和谐，就是票价贵了点。广州到深圳要七十多块。</p>
<p>5月5号，办理入职手续，填了一上午的表单，来到部门见到各位新同事，大家都很友好，中午还用过迎新饭，很好很感动。</p>
<p>这段时间暂时住在公司宿舍，喂喂蚊子，比较郁闷。希望梅2的房子有着落。</p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.v-ec.com/dh20156/default.asp?id=127" /> 
	  <id>http://www.v-ec.com/dh20156/default.asp?id=127</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[更合理的RPG地图结构]]></title>
	  <author>
		 <name>dh20156</name>
		 <uri>http://www.v-ec.com/dh20156/</uri>
		 <email>dh20156@126.com</email>
	  </author>
	  <category term="" scheme="http://www.v-ec.com/dh20156/default.asp?cateID=2" label="AboutCode" /> 
	  <updated>2008-04-30T16:53:26+08:00</updated>
	  <published>2008-04-30T16:53:26+08:00</published>
		  <summary type="html"><![CDATA[在RPG Maker里发现，它的地图元件具有一定的属性，其中包括通行、优先级等非常有用的属性，这可以非常好的解决人物遮挡的问题。在RPG Maker里，地图是分3层创建的，我们也可以借鉴。<br /><br />在线演示：<a href="http://www.v-ec.com/dh20156/code/girl/newmap.htm" target="_blank">http://www.v-ec.com/dh20156/code/girl/newmap.htm</a>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.v-ec.com/dh20156/default.asp?id=126" /> 
	  <id>http://www.v-ec.com/dh20156/default.asp?id=126</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[A*(A Star)寻路算法(Javascript版)]]></title>
	  <author>
		 <name>dh20156</name>
		 <uri>http://www.v-ec.com/dh20156/</uri>
		 <email>dh20156@126.com</email>
	  </author>
	  <category term="" scheme="http://www.v-ec.com/dh20156/default.asp?cateID=2" label="AboutCode" /> 
	  <updated>2008-04-24T13:36:30+08:00</updated>
	  <published>2008-04-24T13:36:30+08:00</published>
		  <summary type="html"><![CDATA[在RPG游戏中，人物的移动无疑是很关键的一步，普遍的做法是用A*(A Star)算法来寻路，当然实际操作中还会有具体的辅助手段。<br /><br />以下是在Web中使用Javascript实现的基本的A*寻路！<br /><br />在线演示：http://<a href="http://www.v-ec.com/dh20156/code/girl/astar.htm" target="_blank">www.v-ec.com/dh20156/code/girl/astar.htm</a><br /><br />Tips:<br />1、估价函数的不同将会出现不同的结果；<br />2、判断已检测点时只需将大G点的G、F值重新计算并更改该G点的原parent为当前的节点；<br />3、从openList中取最小F值节点遍历一遍比用sort排序快；<br />4、已检测节点使用hash表保存，与openList之间建立对应的引用关系；<br /><br /><br />有一个迷宫的地图，大家有兴趣的话可以下载到自己的机器上去测试！<br />迷宫图片：<br /><img alt="" src="http://www.v-ec.com/dh20156/code/girl/images/mg_map.gif" /><br /><br />迷宫地图文件：<br />http://www.v-ec.com/dh20156/code/girl/mg_map.js]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.v-ec.com/dh20156/default.asp?id=125" /> 
	  <id>http://www.v-ec.com/dh20156/default.asp?id=125</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[RPG游戏地图卷动]]></title>
	  <author>
		 <name>dh20156</name>
		 <uri>http://www.v-ec.com/dh20156/</uri>
		 <email>dh20156@126.com</email>
	  </author>
	  <category term="" scheme="http://www.v-ec.com/dh20156/default.asp?cateID=2" label="AboutCode" /> 
	  <updated>2008-04-11T17:07:52+08:00</updated>
	  <published>2008-04-11T17:07:52+08:00</published>
		  <summary type="html"><![CDATA[布置好地图后，开始实现一些地图的方法，首先是地图的卷动，一般游戏中的做法是鼠标指向游戏屏幕区域的周围便卷动地图。主要用到判断鼠标指向的角度与两点间移动。<br /><br />在线演示：<br /><a href="http://www.v-ec.com/dh20156/code/girl/mapMove.htm">http://www.v-ec.com/dh20156/code/girl/mapMove.htm</a>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.v-ec.com/dh20156/default.asp?id=124" /> 
	  <id>http://www.v-ec.com/dh20156/default.asp?id=124</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[RPG游戏里的地图构成]]></title>
	  <author>
		 <name>dh20156</name>
		 <uri>http://www.v-ec.com/dh20156/</uri>
		 <email>dh20156@126.com</email>
	  </author>
	  <category term="" scheme="http://www.v-ec.com/dh20156/default.asp?cateID=2" label="AboutCode" /> 
	  <updated>2008-04-10T10:52:10+08:00</updated>
	  <published>2008-04-10T10:52:10+08:00</published>
		  <summary type="html"><![CDATA[地图场景的布局。<br /><br />在很古老的时候（其实也就是上个世纪未了），人们想出了一个办法，那就是采用类似于拼图的方式进行设计。将地图和场景前景都制作成一个个大小完全相同的小画片，然后分别将每个画片都编上号（例如，1号代表土地，2号代表小坑，3号代表水，4号代表&hellip;&hellip;），然后便用一个比较大的二维数组（什么叫数组，不是吧！连这个都不知道还想做RPG游戏呀）来记录地图的信息，其实就是记录一些编号，在游戏初始化的时候就跟据这些编号将那些小画片一块块的拼起来形成最终的地图场景。这是一个伟大的想法，至少，在《沙丘魔堡》没有出现之前都还是非常伟大的。什么，你不知道什么是《沙丘》？！呵呵，也难怪，那已经是很古老的游戏了。不提它也罢。<br /><br />那么，为什么说《沙丘》的出现意义重大呢？（其实我也不知道是不是从它开始的，只是在我的记忆里面，它算是最早的吧）。因为《沙丘》里采用的是对象的方式进行地图的拼接，没有玩过《沙丘》的人想的话应该也知道《星际》吧。在进行地图编辑的时候，大家会发现，地图初化化的时候是整版的单一颜色。然后再加入一些树，建筑等等，最后才形成大家看到的地图的。没错，这就是采用对象列表的方式来表现的地图。而且这也是现在依然流行在2D游戏界的地图制作方式。<br /><br />这种地图的制作原理其实很简单。地面是一个二维数组，和前面一样，同样记录一些图片的编号（例如：陆地，水面，空间等），而地面上的物件却是另一个对象列表，它里面记录的是每一个对象所在的 X 轴 和Y 轴的起点坐标，也就是说，每放置一个对象，其实只是在列表中加入了一句话：X起点，Y起点，对象编号。仅此而已。那么，这些东西怎么会变成最终的地图的呢？！在游戏初始化的时候，先将地面那个二维数组存入内存，并找出相应的图片形成地表。接下来就从库里面将相应的对象都复制出来放置于相应的坐标所对应的位置，当然了，这对象也就包括了主角和一些NPC人物。这也就是时下比较流行的地图制作方式了。<br /><br />不过，如果是用程序设计语言来完成上面的这些是很简单的事情，只要用好内存，对于CPU的运算是相当小的，因为图形的运算可以通过程序设计让显卡控制芯片来帮忙完成。所以大家也不会发现这样做所带来的系统变慢的情况。<br /><br />呵呵！这些便是RPG游戏场景的制作方式了。<br /><br />
<p>在线演示：</p>
<p><a target="_blank" href="http://www.v-ec.com/dh20156/code/girl/map.htm">http://www.v-ec.com/dh20156/code/girl/map.htm</a></p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.v-ec.com/dh20156/default.asp?id=123" /> 
	  <id>http://www.v-ec.com/dh20156/default.asp?id=123</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[提交表单后页面重定向时发生HTTP 405 - 资源被禁止错误]]></title>
	  <author>
		 <name>dh20156</name>
		 <uri>http://www.v-ec.com/dh20156/</uri>
		 <email>dh20156@126.com</email>
	  </author>
	  <category term="" scheme="http://www.v-ec.com/dh20156/default.asp?cateID=2" label="AboutCode" /> 
	  <updated>2008-04-07T10:01:43+08:00</updated>
	  <published>2008-04-07T10:01:43+08:00</published>
		  <summary type="html"><![CDATA[原来做过的一个用户登录的页面，取的是非默认首页名称，一直运行的很好，最近有项目中将文件名更新为默认首页名称，结果发现在提交表单后页面重定向时发生HTTP 405 - 资源被禁止错误，经过检查，发现是form没有指定action，只怪自己当时偷懒，想着不指定action的话不管文件名怎么取都不需要去重新设置，结果却遇到这个错误！<br /><br />测试用例：<br />正确代码：<br />&lt;form method=&quot;post&quot; action=&quot;index.asp&quot;&gt;<br />&lt;input type=&quot;text&quot; name=&quot;a&quot;&gt;<br />&lt;/form&gt;<br />&lt;%<br />If request(&quot;a&quot;) = &quot;test&quot; then<br />&nbsp;&nbsp; response.redirect &quot;index.asp&quot;<br />end if<br />%&gt;<br /><br />错误代码：<br />&lt;form method=&quot;post&quot;&gt;<br />&lt;input type=&quot;text&quot; name=&quot;a&quot;&gt;<br />&lt;/form&gt;<br />&lt;%<br />If request(&quot;a&quot;) = &quot;test&quot; then<br />&nbsp;&nbsp; response.redirect &quot;index.asp&quot;<br />end if<br />%&gt;]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.v-ec.com/dh20156/default.asp?id=122" /> 
	  <id>http://www.v-ec.com/dh20156/default.asp?id=122</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[图解OO]]></title>
	  <author>
		 <name>dh20156</name>
		 <uri>http://www.v-ec.com/dh20156/</uri>
		 <email>dh20156@126.com</email>
	  </author>
	  <category term="" scheme="http://www.v-ec.com/dh20156/default.asp?cateID=2" label="AboutCode" /> 
	  <updated>2008-03-28T16:57:15+08:00</updated>
	  <published>2008-03-28T16:57:15+08:00</published>
		  <summary type="html"><![CDATA[不知哪位仁兄异想天开地为OO编程配了幅插画，虽然有些描述还有待商榷，但仍堪称经典！<br /><br />
<div style="text-align: center;"><img alt="" src="http://www.v-ec.com/dh20156/attachments/month_0803/b200832816577.jpg" /></div>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.v-ec.com/dh20156/default.asp?id=121" /> 
	  <id>http://www.v-ec.com/dh20156/default.asp?id=121</id> 
  </entry>	
		
</feed>